polymer-core-rails 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -3
  3. data/app/assets/components/context-free-parser/context-free-parser.js +27 -4
  4. data/app/assets/components/core-a11y-keys/core-a11y-keys.html +4 -4
  5. data/app/assets/components/core-ajax/core-ajax.html +38 -10
  6. data/app/assets/components/core-ajax/core-xhr.html +1 -1
  7. data/app/assets/components/core-animated-pages/core-animated-pages.html +25 -2
  8. data/app/assets/components/core-animation/web-animations.html +1 -1
  9. data/app/assets/components/core-collapse/core-collapse.html +1 -1
  10. data/app/assets/components/core-doc-viewer/elements/core-doc-page.css +26 -1
  11. data/app/assets/components/core-doc-viewer/elements/core-doc-page.html +39 -4
  12. data/app/assets/components/core-doc-viewer/elements/core-doc-toc.css +3 -3
  13. data/app/assets/components/core-drawer-panel/core-drawer-panel.css +14 -6
  14. data/app/assets/components/core-drawer-panel/core-drawer-panel.html +32 -8
  15. data/app/assets/components/core-dropdown/core-dropdown.html +8 -2
  16. data/app/assets/components/core-elements/core-elements.html +1 -0
  17. data/app/assets/components/core-icon/core-icon.html +0 -2
  18. data/app/assets/components/core-icons/av-icons.html +2 -9
  19. data/app/assets/components/core-icons/communication-icons.html +39 -42
  20. data/app/assets/components/core-icons/core-icons.html +231 -235
  21. data/app/assets/components/core-icons/device-icons.html +75 -90
  22. data/app/assets/components/core-icons/editor-icons.html +52 -52
  23. data/app/assets/components/core-icons/hardware-icons.html +40 -41
  24. data/app/assets/components/core-icons/image-icons.html +133 -137
  25. data/app/assets/components/core-icons/maps-icons.html +55 -57
  26. data/app/assets/components/core-icons/notification-icons.html +34 -34
  27. data/app/assets/components/core-icons/social-icons.html +23 -37
  28. data/app/assets/components/core-image/core-image.html +3 -3
  29. data/app/assets/components/core-list/core-list.html +50 -27
  30. data/app/assets/components/core-localstorage/core-localstorage.html +4 -5
  31. data/app/assets/components/core-menu/core-menu.html +8 -3
  32. data/app/assets/components/core-menu/core-submenu.html +2 -2
  33. data/app/assets/components/core-overlay/core-key-helper.html +3 -0
  34. data/app/assets/components/core-overlay/core-overlay-layer.html +3 -0
  35. data/app/assets/components/core-overlay/core-overlay.html +20 -4
  36. data/app/assets/components/core-resizable/core-resizable.html +248 -0
  37. data/app/assets/components/core-scroll-header-panel/core-scroll-header-panel.html +14 -3
  38. data/app/assets/components/core-scroll-threshold/core-scroll-threshold.html +222 -0
  39. data/app/assets/components/core-scroll-threshold/metadata.html +24 -0
  40. data/app/assets/components/core-selection/core-selection.html +1 -1
  41. data/app/assets/components/core-selector/core-selector.html +26 -26
  42. data/app/assets/components/core-splitter/core-splitter.html +17 -2
  43. data/app/assets/components/core-style/core-style.html +1 -1
  44. data/app/assets/components/core-toolbar/core-toolbar.html +1 -1
  45. data/app/assets/components/core-tooltip/core-tooltip.css +2 -2
  46. data/app/assets/components/core-tooltip/core-tooltip.html +16 -5
  47. data/app/assets/components/core-tooltip/metadata.html +1 -1
  48. data/app/assets/components/google-code-prettify/styles/doxy.css +1 -1
  49. data/app/assets/components/marked/lib/marked.js +11 -5
  50. data/app/assets/components/marked/marked.min.js +6 -0
  51. data/app/assets/components/paper-button/paper-button-base.html +56 -12
  52. data/app/assets/components/paper-button/paper-button.html +22 -5
  53. data/app/assets/components/paper-fab/paper-fab.html +2 -2
  54. data/app/assets/components/paper-ripple/paper-ripple.html +2 -1
  55. data/app/assets/components/paper-shadow/paper-shadow.css +10 -10
  56. data/app/assets/components/paper-shadow/paper-shadow.html +8 -1
  57. data/app/assets/components/sampler-scaffold/sampler-scaffold.css +1 -1
  58. data/app/assets/components/{web-animations-next → web-animations-js}/src/animation-constructor.js +10 -5
  59. data/app/assets/components/{web-animations-next → web-animations-js}/src/animation-node.js +1 -1
  60. data/app/assets/components/{web-animations-next → web-animations-js}/src/animation.js +2 -2
  61. data/app/assets/components/{web-animations-next → web-animations-js}/src/apply-preserving-inline-style.js +2 -3
  62. data/app/assets/components/{web-animations-next → web-animations-js}/src/apply.js +1 -1
  63. data/app/assets/components/{web-animations-next → web-animations-js}/src/box-handler.js +1 -1
  64. data/app/assets/components/{web-animations-next → web-animations-js}/src/color-handler.js +2 -2
  65. data/app/assets/components/{web-animations-next → web-animations-js}/src/deprecation.js +0 -0
  66. data/app/assets/components/{web-animations-next → web-animations-js}/src/dev.js +0 -0
  67. data/app/assets/components/{web-animations-next → web-animations-js}/src/dimension-handler.js +1 -1
  68. data/app/assets/components/{web-animations-next → web-animations-js}/src/effect-callback.js +2 -2
  69. data/app/assets/components/{web-animations-next → web-animations-js}/src/effect.js +1 -1
  70. data/app/assets/components/{web-animations-next → web-animations-js}/src/element-animatable.js +1 -1
  71. data/app/assets/components/{web-animations-next → web-animations-js}/src/font-weight-handler.js +1 -1
  72. data/app/assets/components/{web-animations-next → web-animations-js}/src/group-constructors.js +2 -1
  73. data/app/assets/components/{web-animations-next → web-animations-js}/src/handler-utils.js +1 -1
  74. data/app/assets/components/{web-animations-next → web-animations-js}/src/interpolation.js +1 -1
  75. data/app/assets/components/{web-animations-next → web-animations-js}/src/matrix-decomposition.js +1 -1
  76. data/app/assets/components/{web-animations-next → web-animations-js}/src/matrix-interpolation.js +1 -1
  77. data/app/assets/components/{web-animations-next → web-animations-js}/src/normalize-keyframes.js +1 -1
  78. data/app/assets/components/{web-animations-next → web-animations-js}/src/number-handler.js +1 -1
  79. data/app/assets/components/{web-animations-next → web-animations-js}/src/player.js +1 -1
  80. data/app/assets/components/{web-animations-next → web-animations-js}/src/position-handler.js +1 -1
  81. data/app/assets/components/{web-animations-next → web-animations-js}/src/property-interpolation.js +1 -1
  82. data/app/assets/components/{web-animations-next → web-animations-js}/src/property-names.js +1 -1
  83. data/app/assets/components/{web-animations-next → web-animations-js}/src/scope.js +2 -2
  84. data/app/assets/components/{web-animations-next → web-animations-js}/src/shadow-handler.js +1 -1
  85. data/app/assets/components/{web-animations-next → web-animations-js}/src/shape-handler.js +1 -1
  86. data/app/assets/components/{web-animations-next → web-animations-js}/src/tick.js +1 -1
  87. data/app/assets/components/{web-animations-next → web-animations-js}/src/timeline.js +7 -7
  88. data/app/assets/components/{web-animations-next → web-animations-js}/src/timing-utilities.js +0 -0
  89. data/app/assets/components/{web-animations-next → web-animations-js}/src/transform-handler.js +1 -1
  90. data/app/assets/components/{web-animations-next → web-animations-js}/src/visibility-handler.js +1 -1
  91. data/app/assets/components/{web-animations-next/src/maxifill-player.js → web-animations-js/src/web-animations-next-player.js} +1 -1
  92. data/app/assets/components/{web-animations-next → web-animations-js}/web-animations-next-lite.dev.html +1 -1
  93. data/app/assets/components/{web-animations-next → web-animations-js}/web-animations-next-lite.dev.js +0 -0
  94. data/app/assets/components/web-animations-js/web-animations-next-lite.min.js +17 -0
  95. data/app/assets/components/{web-animations-next → web-animations-js}/web-animations-next.dev.html +1 -1
  96. data/app/assets/components/{web-animations-next → web-animations-js}/web-animations-next.dev.js +0 -0
  97. data/app/assets/components/web-animations-js/web-animations-next.min.js +17 -0
  98. data/app/assets/components/{web-animations-next → web-animations-js}/web-animations.dev.html +0 -0
  99. data/app/assets/components/{web-animations-next → web-animations-js}/web-animations.dev.js +0 -0
  100. data/app/assets/components/{web-animations-next → web-animations-js}/web-animations.html +1 -3
  101. data/app/assets/components/web-animations-js/web-animations.min.js +17 -0
  102. data/app/assets/components/webcomponentsjs/CustomElements.js +634 -0
  103. data/app/assets/components/webcomponentsjs/CustomElements.min.js +11 -0
  104. data/app/assets/components/webcomponentsjs/HTMLImports.js +764 -0
  105. data/app/assets/components/webcomponentsjs/HTMLImports.min.js +11 -0
  106. data/app/assets/components/webcomponentsjs/ShadowDOM.js +4277 -0
  107. data/app/assets/components/webcomponentsjs/ShadowDOM.min.js +13 -0
  108. data/app/assets/components/webcomponentsjs/webcomponents-lite.js +1728 -0
  109. data/app/assets/components/webcomponentsjs/webcomponents-lite.min.js +11 -0
  110. data/app/assets/components/webcomponentsjs/webcomponents.js +6114 -0
  111. data/app/assets/components/webcomponentsjs/webcomponents.min.js +14 -0
  112. data/lib/polymer-core-rails/version.rb +1 -1
  113. metadata +60 -76
  114. data/app/assets/components/context-free-parser/package.json +0 -16
  115. data/app/assets/components/core-ajax/demo-progress.html +0 -65
  116. data/app/assets/components/core-dropdown/metadata.html +0 -62
  117. data/app/assets/components/core-icons/png-icons.html +0 -19
  118. data/app/assets/components/core-overlay/tests/html/core-overlay-basic.html +0 -127
  119. data/app/assets/components/core-overlay/tests/html/core-overlay-positioning-margin.html +0 -153
  120. data/app/assets/components/core-overlay/tests/html/core-overlay-positioning.html +0 -167
  121. data/app/assets/components/core-overlay/tests/html/core-overlay-scroll.html +0 -130
  122. data/app/assets/components/core-overlay/tests/js/htmltests.js +0 -6
  123. data/app/assets/components/core-overlay/tests/runner.html +0 -14
  124. data/app/assets/components/core-overlay/tests/tests.json +0 -6
  125. data/app/assets/components/core-popup-menu/core-popup-menu.css +0 -28
  126. data/app/assets/components/core-popup-menu/core-popup-menu.html +0 -198
  127. data/app/assets/components/core-popup-menu/core-popup-overlay.html +0 -111
  128. data/app/assets/components/core-popup-menu/metadata.html +0 -62
  129. data/app/assets/components/core-shared-lib/tests/html/core-shared-lib.html +0 -47
  130. data/app/assets/components/core-shared-lib/tests/js/htmltests.js +0 -3
  131. data/app/assets/components/core-shared-lib/tests/runner.html +0 -14
  132. data/app/assets/components/core-shared-lib/tests/tests.json +0 -6
  133. data/app/assets/components/marked/LICENSE +0 -19
  134. data/app/assets/components/marked/Makefile +0 -12
  135. data/app/assets/components/marked/package.json +0 -22
  136. data/app/assets/components/platform/platform.js +0 -16
  137. data/app/assets/components/web-animations-js/web-animations.js +0 -5529
  138. data/app/assets/components/web-animations-next/Gruntfile.js +0 -279
  139. data/app/assets/components/web-animations-next/History.md +0 -76
  140. data/app/assets/components/web-animations-next/package.json +0 -33
  141. data/app/assets/components/web-animations-next/target-config.js +0 -124
  142. data/app/assets/components/web-animations-next/target-loader.js +0 -13
  143. data/app/assets/components/web-animations-next/templates/boilerplate +0 -13
  144. data/app/assets/components/web-animations-next/templates/runner.html +0 -26
  145. data/app/assets/components/web-animations-next/templates/web-animations.html +0 -18
  146. data/app/assets/components/web-animations-next/templates/web-animations.js +0 -21
@@ -1,62 +0,0 @@
1
- <!--
2
- @license
3
- Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
- Code distributed by Google as part of the polymer project is also
8
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- -->
10
- <x-meta id="core-menu" label="Menu" group="Core" isContainer>
11
-
12
- <template>
13
-
14
- <core-menu selected="0" style="font-size: 16px;">
15
-
16
- <core-submenu icon="settings" label="Topics">
17
-
18
- <core-item label="Topic 1"></core-item>
19
- <core-item label="Topic 2"></core-item>
20
-
21
- </core-submenu>
22
-
23
- <core-submenu icon="settings" label="Favorites">
24
-
25
- <core-item label="Favorite 1"></core-item>
26
- <core-item label="Favorite 2"></core-item>
27
- <core-item label="Favorite 3"></core-item>
28
-
29
- </core-submenu>
30
-
31
- </core-menu>
32
-
33
- </template>
34
-
35
- <template id="imports">
36
-
37
- <link rel="import" href="core-submenu.html">
38
-
39
- </template>
40
-
41
- </x-meta>
42
-
43
- <x-meta id="core-submenu" label="Sub Menu" group="Core" isContainer>
44
-
45
- <template>
46
-
47
- <core-submenu icon="settings" label="Topics">
48
-
49
- <core-item label="Topic 1"></core-item>
50
- <core-item label="Topic 2"></core-item>
51
-
52
- </core-submenu>
53
-
54
- </template>
55
-
56
- <template id="imports">
57
-
58
- <link rel="import" href="core-submenu.html">
59
-
60
- </template>
61
-
62
- </x-meta>
@@ -1,19 +0,0 @@
1
- <!--
2
- Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6
- Code distributed by Google as part of the polymer project is also
7
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8
- -->
9
-
10
- <link rel="import" href="../core-icon/core-icon.html">
11
- <core-iconset id="core-icons" src="../core-action-icons/action-icons.png" width="24" iconSize="24"
12
- icons="drawer menu search dropdown close add trash refresh settings dialoga
13
- left right down up grid contact account plus time marker
14
- briefcase array columns list modules quilt stream maximize shrink sort
15
- shortcut dialog twitter facebook favorite gplus filter tag plusone dots">
16
-
17
- <property theme="core-light-theme" offsetX="24"></property>
18
- <property theme="core-dark-theme" offsetX="72"></property>
19
- </core-iconset>
@@ -1,127 +0,0 @@
1
- <!doctype html>
2
- <!--
3
- Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
- Code distributed by Google as part of the polymer project is also
8
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- -->
10
- <html>
11
- <head>
12
- <title>core-overlay</title>
13
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
14
- <script src="../../../webcomponentsjs/webcomponents.js"></script>
15
- <script src="../../../polymer-test-tools/chai/chai.js"></script>
16
- <script src="../../../polymer-test-tools/htmltest.js"></script>
17
- <link rel="import" href="../../../core-transition/core-transition-css.html">
18
- <link rel="import" href="../../core-overlay.html">
19
- <style>
20
- body {
21
- margin: 0;
22
- height: 100%;
23
- }
24
-
25
- #basic {
26
- height: 200px;
27
- width: 300px;
28
- border: 1px solid black;
29
- padding: 10px;
30
- }
31
- </style>
32
- </head>
33
- <body fit unresolved>
34
-
35
- <core-overlay id="basic">
36
- Basic Overlay
37
- </core-overlay>
38
-
39
- <div id="target">Targeted Overlay</div>
40
- <core-overlay id="targeted"></core-overlay>
41
-
42
- <core-overlay layered id="layered">
43
- <style no-shim>
44
- #layered {
45
- height: 200px;
46
- width: 300px;
47
- border: 1px solid black;
48
- padding: 10px;
49
- }
50
- </style>
51
- Layered Overlay
52
- </core-overlay>
53
-
54
- <core-overlay layered backdrop id="backdrop">
55
- <style no-shim>
56
- #backdrop {
57
- height: 200px;
58
- width: 300px;
59
- border: 1px solid black;
60
- padding: 10px;
61
- background-color: white;
62
- }
63
- </style>
64
- Layered backdrop Overlay
65
- </core-overlay>
66
-
67
- <script>
68
- document.addEventListener('polymer-ready', function() {
69
- // setup
70
- // basic
71
- var basic = document.querySelector('#basic');
72
- // targeted
73
- var target = document.querySelector('#target');
74
- var targeted = document.querySelector('#targeted');
75
- targeted.target = target;
76
- //
77
- var layered = document.querySelector('#layered');
78
- var backdrop = document.querySelector('#backdrop');
79
-
80
- function testOpenEvents(element, next) {
81
- var openingEvents = 0;
82
- element.addEventListener('core-overlay-open', function() {
83
- openingEvents++;
84
- });
85
- element.addEventListener('core-overlay-open-completed', function() {
86
- openingEvents++;
87
- element.async(function() {
88
- this.opened = false;
89
- }, 1);
90
- });
91
- element.addEventListener('core-overlay-close-completed', function() {
92
- openingEvents++;
93
- chai.assert.equal(openingEvents, 4, 'open and open-completed events fired');
94
- next();
95
- });
96
- element.opened = true;
97
- }
98
-
99
- asyncSeries([
100
- // basic overlay events
101
- function(next) {
102
- chai.assert.equal(basic.opened, false, 'overlay starts closed');
103
- chai.assert.equal(getComputedStyle(basic).display, 'none', 'overlay starts hidden');
104
- testOpenEvents(basic, next);
105
-
106
- },
107
- // targeted overlay events
108
- function(next) {
109
- chai.assert.equal(targeted.opened, false, 'targeted overlay starts closed');
110
- chai.assert.equal(getComputedStyle(target).display, 'none', 'targeted overlay target starts hidden');
111
- testOpenEvents(targeted, next);
112
- },
113
- // layered overlay events
114
- function(next) {
115
- testOpenEvents(layered, next);
116
- },
117
- // backdrop overlay events
118
- function(next) {
119
- testOpenEvents(backdrop, next);
120
- }
121
- ], done);
122
- });
123
-
124
- </script>
125
-
126
- </body>
127
- </html>
@@ -1,153 +0,0 @@
1
- <!doctype html>
2
- <!--
3
- Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
- Code distributed by Google as part of the polymer project is also
8
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- -->
10
- <html>
11
- <head>
12
- <title>core-overlay</title>
13
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
14
- <script src="../../../webcomponentsjs/webcomponents.js"></script>
15
- <script src="../../../polymer-test-tools/chai/chai.js"></script>
16
- <script src="../../../polymer-test-tools/htmltest.js"></script>
17
- <link rel="import" href="../../../core-transition/core-transition-css.html">
18
- <link rel="import" href="../../core-overlay.html">
19
- <style>
20
- body {
21
- margin: 0;
22
- height: 100%;
23
- }
24
-
25
- .sized {
26
- height: 200px;
27
- width: 300px;
28
- border: 1px solid black;
29
- padding: 10px;
30
- margin: 16px;
31
- }
32
-
33
- .positioned {
34
- top: 0;
35
- left: 0;
36
- }
37
- </style>
38
- </head>
39
- <body unresolved>
40
-
41
- <core-overlay class="sized" id="basic">
42
- Sized Overlay
43
- </core-overlay>
44
-
45
- <core-overlay class="sized positioned" id="overlay">
46
- Positioned Overlay
47
- </core-overlay>
48
-
49
- <template>
50
- <div>"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"</div>
51
- </template>
52
-
53
- <script>
54
- document.addEventListener('polymer-ready', function() {
55
- // setup
56
- var basic = document.querySelector('#basic');
57
- var overlay = document.querySelector('#overlay');
58
- var template = document.querySelector('template');
59
-
60
- function testWhenOpen(element, test, next) {
61
- var l1 = function() {
62
- test();
63
- element.async(function() {
64
- element.opened = false;
65
- }, 1);
66
- };
67
- var l2 = function() {
68
- element.removeEventListener('core-overlay-open-completed', l1);
69
- element.removeEventListener('core-overlay-close-completed', l2);
70
- next();
71
- };
72
- element.addEventListener('core-overlay-open-completed', l1);
73
- element.addEventListener('core-overlay-close-completed', l2);
74
- element.opened = true;
75
- }
76
-
77
- asyncSeries([
78
- // centered overlay
79
- function(next) {
80
- testWhenOpen(basic, function() {
81
- var rect = basic.getBoundingClientRect();
82
- chai.assert.ok(Math.abs(rect.left - (window.innerWidth - rect.right)) < 5, 'overlay centered horizontally');
83
- chai.assert.ok(Math.abs(rect.top - (window.innerHeight - rect.bottom)) < 5, 'overlay centered vertically');
84
- }, next);
85
- },
86
- // css positioned overlay
87
- function(next) {
88
- testWhenOpen(overlay, function() {
89
- var rect = overlay.getBoundingClientRect();
90
- chai.assert.equal(rect.left, 16, 'positions via css');
91
- chai.assert.equal(rect.top, 16, 'positions via css');
92
- }, next);
93
- },
94
- // manual positioned overlay
95
- function(next) {
96
- overlay.style.left = overlay.style.top = 'auto';
97
- overlay.style.right = '0px';
98
- testWhenOpen(overlay, function() {
99
- var rect = overlay.getBoundingClientRect();
100
- chai.assert.equal(rect.right, window.innerWidth - 16, 'positioned manually');
101
- chai.assert.ok(Math.abs(rect.top - (window.innerHeight - rect.bottom)) <= 16, 'overlay centered vertically');
102
- }, next);
103
- },
104
- // overflow, position top, left
105
- function(next) {
106
- overlay.style.left = overlay.style.top = '0px';
107
- overlay.style.right = 'auto';
108
- overlay.style.width = overlay.style.height = 'auto';
109
- for (var i=0; i<20; i++) {
110
- overlay.appendChild(template.content.cloneNode(true));
111
- }
112
- testWhenOpen(overlay, function() {
113
- var rect = overlay.getBoundingClientRect();
114
- chai.assert.ok(window.innerWidth >= rect.right, 'overlay constrained to window size');
115
- chai.assert.ok(window.innerHeight >= rect.bottom, 'overlay constrained to window size');
116
- }, next);
117
- },
118
- // overflow, position, bottom, right
119
- function(next) {
120
- overlay.style.right = overlay.style.bottom = '0px';
121
- overlay.style.left = overlay.style.top = 'auto';
122
- testWhenOpen(overlay, function() {
123
- var rect = overlay.getBoundingClientRect();
124
- chai.assert.ok(window.innerWidth >= rect.right, 'overlay constrained to window size');
125
- chai.assert.ok(window.innerHeight >= rect.bottom, 'overlay constrained to window size');
126
- }, next);
127
- },
128
- // overflow, unpositioned
129
- function(next) {
130
- overlay.style.right = overlay.style.bottom = 'auto';
131
- overlay.style.left = overlay.style.top = 'auto';
132
- testWhenOpen(overlay, function() {
133
- var rect = overlay.getBoundingClientRect();
134
- chai.assert.ok(window.innerWidth >= rect.right, 'overlay constrained to window size');
135
- chai.assert.ok(window.innerHeight >= rect.bottom, 'overlay constrained to window size');
136
- }, next);
137
- },
138
- // overflow, unpositioned, layered
139
- function(next) {
140
- overlay.layered = true;
141
- testWhenOpen(overlay, function() {
142
- var rect = overlay.getBoundingClientRect();
143
- chai.assert.ok(window.innerWidth >= rect.right, 'overlay constrained to window size');
144
- chai.assert.ok(window.innerHeight >= rect.bottom, 'overlay constrained to window size');
145
- }, next);
146
- },
147
- ], done);
148
- });
149
-
150
- </script>
151
-
152
- </body>
153
- </html>
@@ -1,167 +0,0 @@
1
- <!doctype html>
2
- <!--
3
- Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
- Code distributed by Google as part of the polymer project is also
8
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- -->
10
- <html>
11
- <head>
12
- <title>core-overlay</title>
13
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
14
- <script src="../../../webcomponentsjs/webcomponents.js"></script>
15
- <script src="../../../polymer-test-tools/chai/chai.js"></script>
16
- <script src="../../../polymer-test-tools/htmltest.js"></script>
17
- <link rel="import" href="../../../core-transition/core-transition-css.html">
18
- <link rel="import" href="../../core-overlay.html">
19
- <style>
20
- body {
21
- margin: 0;
22
- height: 100%;
23
- }
24
-
25
- .sized {
26
- height: 200px;
27
- width: 300px;
28
- border: 1px solid black;
29
- padding: 10px;
30
- }
31
-
32
- .positioned {
33
- top: 0;
34
- left: 0;
35
- }
36
- </style>
37
- </head>
38
- <body unresolved>
39
-
40
- <core-overlay class="sized" id="basic">
41
- Sized Overlay
42
- </core-overlay>
43
-
44
- <core-overlay class="sized positioned" id="overlay">
45
- Positioned Overlay
46
- </core-overlay>
47
-
48
- <template>
49
- <div>"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"</div>
50
- </template>
51
-
52
- <script>
53
- document.addEventListener('polymer-ready', function() {
54
- // setup
55
- var basic = document.querySelector('#basic');
56
- var overlay = document.querySelector('#overlay');
57
- var template = document.querySelector('template');
58
-
59
- function testWhenOpen(element, test, next) {
60
- var l1 = function() {
61
- test();
62
- element.async(function() {
63
- element.opened = false;
64
- }, 1);
65
- };
66
- var l2 = function() {
67
- element.removeEventListener('core-overlay-open-completed', l1);
68
- element.removeEventListener('core-overlay-close-completed', l2);
69
- next();
70
- };
71
- element.addEventListener('core-overlay-open-completed', l1);
72
- element.addEventListener('core-overlay-close-completed', l2);
73
- element.opened = true;
74
- }
75
-
76
- asyncSeries([
77
- // centered overlay
78
- function(next) {
79
- testWhenOpen(basic, function() {
80
- var rect = basic.getBoundingClientRect();
81
- chai.assert.ok(Math.abs(rect.left - (window.innerWidth - rect.right)) < 5, 'overlay centered horizontally');
82
- chai.assert.ok(Math.abs(rect.top - (window.innerHeight - rect.bottom)) < 5, 'overlay centered vertically');
83
- }, next);
84
- },
85
- // does not retain positioning when centered and re-opened
86
- function(next) {
87
- var listener = function(e) {
88
- var dimensions = e.target.dimensions;
89
- chai.assert.equal(dimensions.position.h, undefined);
90
- chai.assert.equal(dimensions.position.v, undefined);
91
- };
92
- basic.addEventListener('core-overlay-open-completed', listener, false);
93
- testWhenOpen(basic, function() {
94
- var rect = basic.getBoundingClientRect();
95
- chai.assert.ok(Math.abs(rect.left - (window.innerWidth - rect.right)) < 5, 'overlay centered horizontally');
96
- chai.assert.ok(Math.abs(rect.top - (window.innerHeight - rect.bottom)) < 5, 'overlay centered vertically');
97
- basic.removeEventListener('core-overlay-open-completed', listener, false);
98
- }, next);
99
- },
100
- // css positioned overlay
101
- function(next) {
102
- testWhenOpen(overlay, function() {
103
- var rect = overlay.getBoundingClientRect();
104
- chai.assert.equal(rect.left, 0, 'positions via css');
105
- chai.assert.equal(rect.top, 0, 'positions via css');
106
- }, next);
107
- },
108
- // manual positioned overlay
109
- function(next) {
110
- overlay.style.left = overlay.style.top = 'auto';
111
- overlay.style.right = '0px';
112
- testWhenOpen(overlay, function() {
113
- var rect = overlay.getBoundingClientRect();
114
- chai.assert.equal(rect.right, window.innerWidth, 'positioned manually');
115
- chai.assert.ok(Math.abs(rect.top - (window.innerHeight - rect.bottom)) < 5, 'overlay centered vertically');
116
- }, next);
117
- },
118
- // overflow, position top, left
119
- function(next) {
120
- overlay.style.left = overlay.style.top = '0px';
121
- overlay.style.right = 'auto';
122
- overlay.style.width = overlay.style.height = 'auto';
123
- for (var i=0; i<20; i++) {
124
- overlay.appendChild(template.content.cloneNode(true));
125
- }
126
- testWhenOpen(overlay, function() {
127
- var rect = overlay.getBoundingClientRect();
128
- chai.assert.ok(window.innerWidth >= rect.right, 'overlay constrained to window size');
129
- chai.assert.ok(window.innerHeight >= rect.bottom, 'overlay constrained to window size');
130
- }, next);
131
- },
132
- // overflow, position, bottom, right
133
- function(next) {
134
- overlay.style.right = overlay.style.bottom = '0px';
135
- overlay.style.left = overlay.style.top = 'auto';
136
- testWhenOpen(overlay, function() {
137
- var rect = overlay.getBoundingClientRect();
138
- chai.assert.ok(window.innerWidth >= rect.right, 'overlay constrained to window size');
139
- chai.assert.ok(window.innerHeight >= rect.bottom, 'overlay constrained to window size');
140
- }, next);
141
- },
142
- // overflow, unpositioned
143
- function(next) {
144
- overlay.style.right = overlay.style.bottom = 'auto';
145
- overlay.style.left = overlay.style.top = 'auto';
146
- testWhenOpen(overlay, function() {
147
- var rect = overlay.getBoundingClientRect();
148
- chai.assert.ok(window.innerWidth >= rect.right, 'overlay constrained to window size');
149
- chai.assert.ok(window.innerHeight >= rect.bottom, 'overlay constrained to window size');
150
- }, next);
151
- },
152
- // overflow, unpositioned, layered
153
- function(next) {
154
- overlay.layered = true;
155
- testWhenOpen(overlay, function() {
156
- var rect = overlay.getBoundingClientRect();
157
- chai.assert.ok(window.innerWidth >= rect.right, 'overlay constrained to window size');
158
- chai.assert.ok(window.innerHeight >= rect.bottom, 'overlay constrained to window size');
159
- }, next);
160
- },
161
- ], done);
162
- });
163
-
164
- </script>
165
-
166
- </body>
167
- </html>
@@ -1,130 +0,0 @@
1
- <!doctype html>
2
- <!--
3
- Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
- Code distributed by Google as part of the polymer project is also
8
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- -->
10
- <html>
11
- <head>
12
- <title>core-overlay</title>
13
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
14
- <script src="../../../webcomponentsjs/webcomponents.js"></script>
15
- <script src="../../../polymer-test-tools/chai/chai.js"></script>
16
- <script src="../../../polymer-test-tools/htmltest.js"></script>
17
- <link rel="import" href="../../../core-transition/core-transition-css.html">
18
- <link rel="import" href="../../core-overlay.html">
19
- <style>
20
- core-overlay {
21
- width: 300px;
22
- border: 1px solid black;
23
- margin: 10px;
24
- overflow: auto !important;
25
- }
26
-
27
- #content {
28
- overflow: auto;
29
- }
30
- </style>
31
- </head>
32
- <body fullbleed unresolved>
33
- <template is="auto-binding">
34
- <core-overlay id="simple">
35
- <div>Lots of Content that might overflow the overlay!</div>
36
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
37
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
38
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
39
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
40
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
41
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
42
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
43
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
44
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
45
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
46
- </core-overlay>
47
-
48
- <core-overlay id="sectioned" vertical layout sizingTarget="{{$.content}}">
49
- <header>Stuff on top</header>
50
- <section id="content">
51
- <div>Lots of Content that might overflow the overlay!</div>
52
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
53
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
54
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
55
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
56
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
57
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
58
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
59
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
60
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
61
- <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
62
- </section>
63
- <footer>Stuff on bottom</footer>
64
- </core-overlay>
65
- </template>
66
- <script>
67
- addEventListener('template-bound', function(e) {
68
- // setup
69
- var simple = document.querySelector('#simple');
70
- var sectioned = document.querySelector('#sectioned');
71
-
72
- function testWhenOpen(element, test, next) {
73
- var l1 = function() {
74
- test();
75
- element.async(function() {
76
- element.opened = false;
77
- }, null, 1);
78
- };
79
- var l2 = function() {
80
- element.removeEventListener('core-overlay-open-completed', l1);
81
- element.removeEventListener('core-overlay-close-completed', l2);
82
- next();
83
- };
84
- element.addEventListener('core-overlay-open-completed', l1);
85
- element.addEventListener('core-overlay-close-completed', l2);
86
- element.opened = true;
87
- }
88
-
89
- asyncSeries([
90
- // scrolling overlay does not overflow
91
- function(next) {
92
- testWhenOpen(simple, function() {
93
- var rect = simple.getBoundingClientRect();
94
- chai.assert.ok(0 < rect.top + 10, 'overlay constrained to window size');
95
- chai.assert.ok(0 < rect.left + 10, 'overlay constrained to window size');
96
- chai.assert.ok(window.innerWidth >= rect.right + 10, 'overlay constrained to window size');
97
- chai.assert.ok(window.innerHeight >= rect.bottom + 10, 'overlay constrained to window size');
98
- }, next);
99
- },
100
- // scrolling overlay does not overflow
101
- function(next) {
102
- testWhenOpen(sectioned, function() {
103
- var rect = sectioned.getBoundingClientRect();
104
- chai.assert.ok(0 < rect.top + 10, 'overlay constrained to window size');
105
- chai.assert.ok(0 < rect.left + 10, 'overlay constrained to window size');
106
- chai.assert.ok(window.innerWidth >= rect.right + 10, 'overlay constrained to window size');
107
- chai.assert.ok(window.innerHeight >= rect.bottom + 10, 'overlay constrained to window size');
108
- }, next);
109
- },
110
- // positioned scrolling overlay does not overflow
111
- function(next) {
112
- sectioned.style.top = sectioned.style.right = '';
113
- sectioned.style.left = '300px';
114
- sectioned.style.bottom = '200px'
115
- testWhenOpen(sectioned, function() {
116
- var rect = sectioned.getBoundingClientRect();
117
- chai.assert.ok(0 < rect.top + 10, 'overlay constrained to window size');
118
- chai.assert.ok(0 < rect.left + 10, 'overlay constrained to window size');
119
- chai.assert.ok(window.innerWidth >= rect.right + 10, 'overlay constrained to window size');
120
- chai.assert.ok(window.innerHeight >= rect.bottom + 10, 'overlay constrained to window size');
121
- }, next);
122
- }
123
- ], done);
124
- });
125
- </script>
126
- </body>
127
-
128
- </html>
129
-
130
- </html>