guff-compass 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +21 -0
  3. data/.gitignore +6 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +21 -0
  6. data/demo/bower_components/jquery/.bower.json +21 -0
  7. data/demo/bower_components/jquery/.editorconfig +43 -0
  8. data/demo/bower_components/jquery/.gitattributes +2 -0
  9. data/demo/bower_components/jquery/.gitignore +14 -0
  10. data/demo/bower_components/jquery/.gitmodules +6 -0
  11. data/demo/bower_components/jquery/.jshintrc +17 -0
  12. data/demo/bower_components/jquery/.mailmap +94 -0
  13. data/demo/bower_components/jquery/AUTHORS.txt +170 -0
  14. data/demo/bower_components/jquery/CONTRIBUTING.md +216 -0
  15. data/demo/bower_components/jquery/Gruntfile.js +594 -0
  16. data/demo/bower_components/jquery/MIT-LICENSE.txt +21 -0
  17. data/demo/bower_components/jquery/README.md +398 -0
  18. data/demo/bower_components/jquery/bower.json +11 -0
  19. data/demo/bower_components/jquery/build/release-notes.js +59 -0
  20. data/demo/bower_components/jquery/build/release.js +316 -0
  21. data/demo/bower_components/jquery/component.json +15 -0
  22. data/demo/bower_components/jquery/composer.json +35 -0
  23. data/demo/bower_components/jquery/jquery-migrate.js +511 -0
  24. data/demo/bower_components/jquery/jquery-migrate.min.js +3 -0
  25. data/demo/bower_components/jquery/jquery.js +9789 -0
  26. data/demo/bower_components/jquery/jquery.min.js +6 -0
  27. data/demo/bower_components/jquery/jquery.min.map +1 -0
  28. data/demo/bower_components/jquery/package.json +38 -0
  29. data/demo/bower_components/jquery/speed/benchmark.js +15 -0
  30. data/demo/bower_components/jquery/speed/benchmarker.css +65 -0
  31. data/demo/bower_components/jquery/speed/benchmarker.js +181 -0
  32. data/demo/bower_components/jquery/speed/closest.html +39 -0
  33. data/demo/bower_components/jquery/speed/css.html +82 -0
  34. data/demo/bower_components/jquery/speed/event.html +58 -0
  35. data/demo/bower_components/jquery/speed/filter.html +183 -0
  36. data/demo/bower_components/jquery/speed/find.html +179 -0
  37. data/demo/bower_components/jquery/speed/index.html +72 -0
  38. data/demo/bower_components/jquery/speed/jquery-basis.js +6238 -0
  39. data/demo/bower_components/jquery/speed/slice.vs.concat.html +47 -0
  40. data/demo/bower_components/jquery/src/.jshintrc +27 -0
  41. data/demo/bower_components/jquery/src/ajax.js +855 -0
  42. data/demo/bower_components/jquery/src/ajax/jsonp.js +80 -0
  43. data/demo/bower_components/jquery/src/ajax/script.js +86 -0
  44. data/demo/bower_components/jquery/src/ajax/xhr.js +207 -0
  45. data/demo/bower_components/jquery/src/attributes.js +659 -0
  46. data/demo/bower_components/jquery/src/callbacks.js +197 -0
  47. data/demo/bower_components/jquery/src/core.js +981 -0
  48. data/demo/bower_components/jquery/src/css.js +661 -0
  49. data/demo/bower_components/jquery/src/data.js +336 -0
  50. data/demo/bower_components/jquery/src/deferred.js +141 -0
  51. data/demo/bower_components/jquery/src/deprecated.js +11 -0
  52. data/demo/bower_components/jquery/src/dimensions.js +41 -0
  53. data/demo/bower_components/jquery/src/effects.js +732 -0
  54. data/demo/bower_components/jquery/src/event-alias.js +32 -0
  55. data/demo/bower_components/jquery/src/event.js +995 -0
  56. data/demo/bower_components/jquery/src/exports.js +21 -0
  57. data/demo/bower_components/jquery/src/intro.js +20 -0
  58. data/demo/bower_components/jquery/src/manipulation.js +744 -0
  59. data/demo/bower_components/jquery/src/offset.js +169 -0
  60. data/demo/bower_components/jquery/src/outro.js +2 -0
  61. data/demo/bower_components/jquery/src/queue.js +146 -0
  62. data/demo/bower_components/jquery/src/serialize.js +99 -0
  63. data/demo/bower_components/jquery/src/sizzle-jquery.js +7 -0
  64. data/demo/bower_components/jquery/src/support.js +246 -0
  65. data/demo/bower_components/jquery/src/traversing.js +283 -0
  66. data/demo/bower_components/jquery/src/wrap.js +66 -0
  67. data/demo/bower_components/jquery/test/.jshintignore +3 -0
  68. data/demo/bower_components/jquery/test/.jshintrc +60 -0
  69. data/demo/bower_components/jquery/test/data/1x1.jpg +0 -0
  70. data/demo/bower_components/jquery/test/data/ajax/unreleasedXHR.html +25 -0
  71. data/demo/bower_components/jquery/test/data/atom+xml.php +4 -0
  72. data/demo/bower_components/jquery/test/data/badcall.js +1 -0
  73. data/demo/bower_components/jquery/test/data/badjson.js +1 -0
  74. data/demo/bower_components/jquery/test/data/cleanScript.html +10 -0
  75. data/demo/bower_components/jquery/test/data/core/cc_on.html +22 -0
  76. data/demo/bower_components/jquery/test/data/dashboard.xml +11 -0
  77. data/demo/bower_components/jquery/test/data/dimensions/documentLarge.html +17 -0
  78. data/demo/bower_components/jquery/test/data/dimensions/documentSmall.html +21 -0
  79. data/demo/bower_components/jquery/test/data/echoData.php +1 -0
  80. data/demo/bower_components/jquery/test/data/echoQuery.php +1 -0
  81. data/demo/bower_components/jquery/test/data/errorWithJSON.php +6 -0
  82. data/demo/bower_components/jquery/test/data/errorWithText.php +5 -0
  83. data/demo/bower_components/jquery/test/data/etag.php +21 -0
  84. data/demo/bower_components/jquery/test/data/evalScript.php +1 -0
  85. data/demo/bower_components/jquery/test/data/event/focusElem.html +16 -0
  86. data/demo/bower_components/jquery/test/data/event/longLoadScript.php +4 -0
  87. data/demo/bower_components/jquery/test/data/event/promiseReady.html +17 -0
  88. data/demo/bower_components/jquery/test/data/event/syncReady.html +23 -0
  89. data/demo/bower_components/jquery/test/data/headers.php +18 -0
  90. data/demo/bower_components/jquery/test/data/if_modified_since.php +20 -0
  91. data/demo/bower_components/jquery/test/data/iframe.html +8 -0
  92. data/demo/bower_components/jquery/test/data/jquery-1.9.1.ajax_xhr.min.js +5 -0
  93. data/demo/bower_components/jquery/test/data/json.php +13 -0
  94. data/demo/bower_components/jquery/test/data/json_obj.js +1 -0
  95. data/demo/bower_components/jquery/test/data/jsonp.php +14 -0
  96. data/demo/bower_components/jquery/test/data/manipulation/iframe-denied.html +36 -0
  97. data/demo/bower_components/jquery/test/data/name.html +1 -0
  98. data/demo/bower_components/jquery/test/data/name.php +24 -0
  99. data/demo/bower_components/jquery/test/data/nocontent.php +5 -0
  100. data/demo/bower_components/jquery/test/data/offset/absolute.html +41 -0
  101. data/demo/bower_components/jquery/test/data/offset/body.html +26 -0
  102. data/demo/bower_components/jquery/test/data/offset/fixed.html +34 -0
  103. data/demo/bower_components/jquery/test/data/offset/relative.html +31 -0
  104. data/demo/bower_components/jquery/test/data/offset/scroll.html +39 -0
  105. data/demo/bower_components/jquery/test/data/offset/static.html +31 -0
  106. data/demo/bower_components/jquery/test/data/offset/table.html +43 -0
  107. data/demo/bower_components/jquery/test/data/params_html.php +12 -0
  108. data/demo/bower_components/jquery/test/data/readywaitasset.js +1 -0
  109. data/demo/bower_components/jquery/test/data/readywaitloader.js +25 -0
  110. data/demo/bower_components/jquery/test/data/script.php +11 -0
  111. data/demo/bower_components/jquery/test/data/selector/html5_selector.html +114 -0
  112. data/demo/bower_components/jquery/test/data/selector/sizzle_cache.html +21 -0
  113. data/demo/bower_components/jquery/test/data/statusText.php +5 -0
  114. data/demo/bower_components/jquery/test/data/support/bodyBackground.html +28 -0
  115. data/demo/bower_components/jquery/test/data/support/boxSizing.html +19 -0
  116. data/demo/bower_components/jquery/test/data/support/csp.js +3 -0
  117. data/demo/bower_components/jquery/test/data/support/csp.php +22 -0
  118. data/demo/bower_components/jquery/test/data/support/shrinkWrapBlocks.html +23 -0
  119. data/demo/bower_components/jquery/test/data/support/testElementCrash.html +17 -0
  120. data/demo/bower_components/jquery/test/data/test.html +7 -0
  121. data/demo/bower_components/jquery/test/data/test.js +3 -0
  122. data/demo/bower_components/jquery/test/data/test.php +7 -0
  123. data/demo/bower_components/jquery/test/data/test2.html +5 -0
  124. data/demo/bower_components/jquery/test/data/test3.html +3 -0
  125. data/demo/bower_components/jquery/test/data/testinit.js +264 -0
  126. data/demo/bower_components/jquery/test/data/testrunner.js +371 -0
  127. data/demo/bower_components/jquery/test/data/testsuite.css +155 -0
  128. data/demo/bower_components/jquery/test/data/text.php +12 -0
  129. data/demo/bower_components/jquery/test/data/ua.txt +272 -0
  130. data/demo/bower_components/jquery/test/data/with_fries.xml +25 -0
  131. data/demo/bower_components/jquery/test/data/with_fries_over_jsonp.php +7 -0
  132. data/demo/bower_components/jquery/test/delegatetest.html +228 -0
  133. data/demo/bower_components/jquery/test/hovertest.html +158 -0
  134. data/demo/bower_components/jquery/test/index.html +337 -0
  135. data/demo/bower_components/jquery/test/jquery.js +5 -0
  136. data/demo/bower_components/jquery/test/localfile.html +75 -0
  137. data/demo/bower_components/jquery/test/networkerror.html +84 -0
  138. data/demo/bower_components/jquery/test/readywait.html +70 -0
  139. data/demo/bower_components/jquery/test/unit/ajax.js +2016 -0
  140. data/demo/bower_components/jquery/test/unit/attributes.js +1388 -0
  141. data/demo/bower_components/jquery/test/unit/callbacks.js +342 -0
  142. data/demo/bower_components/jquery/test/unit/core.js +1360 -0
  143. data/demo/bower_components/jquery/test/unit/css.js +1056 -0
  144. data/demo/bower_components/jquery/test/unit/data.js +645 -0
  145. data/demo/bower_components/jquery/test/unit/deferred.js +436 -0
  146. data/demo/bower_components/jquery/test/unit/deprecated.js +8 -0
  147. data/demo/bower_components/jquery/test/unit/dimensions.js +472 -0
  148. data/demo/bower_components/jquery/test/unit/effects.js +2242 -0
  149. data/demo/bower_components/jquery/test/unit/event.js +2755 -0
  150. data/demo/bower_components/jquery/test/unit/exports.js +7 -0
  151. data/demo/bower_components/jquery/test/unit/manipulation.js +2120 -0
  152. data/demo/bower_components/jquery/test/unit/offset.js +559 -0
  153. data/demo/bower_components/jquery/test/unit/queue.js +314 -0
  154. data/demo/bower_components/jquery/test/unit/selector.js +172 -0
  155. data/demo/bower_components/jquery/test/unit/serialize.js +148 -0
  156. data/demo/bower_components/jquery/test/unit/support.js +370 -0
  157. data/demo/bower_components/jquery/test/unit/traversing.js +797 -0
  158. data/demo/bower_components/jquery/test/unit/wrap.js +265 -0
  159. data/demo/bower_components/jquery/test/xhtml.php +5 -0
  160. data/demo/index.html +347 -0
  161. data/demo/styles/main.css +208 -0
  162. data/demo/styles/main.scss +138 -0
  163. data/docs/docco.css +506 -0
  164. data/docs/guff.html +1127 -0
  165. data/docs/public/fonts/aller-bold.eot +0 -0
  166. data/docs/public/fonts/aller-bold.ttf +0 -0
  167. data/docs/public/fonts/aller-bold.woff +0 -0
  168. data/docs/public/fonts/aller-light.eot +0 -0
  169. data/docs/public/fonts/aller-light.ttf +0 -0
  170. data/docs/public/fonts/aller-light.woff +0 -0
  171. data/docs/public/fonts/novecento-bold.eot +0 -0
  172. data/docs/public/fonts/novecento-bold.ttf +0 -0
  173. data/docs/public/fonts/novecento-bold.woff +0 -0
  174. data/docs/public/stylesheets/normalize.css +375 -0
  175. data/guff.gemspec +16 -0
  176. data/guff.scss +514 -0
  177. data/gulpfile.js +67 -0
  178. data/lib/guff.rb +4 -0
  179. data/lib/stylesheets/_guff.scss +514 -0
  180. data/package.json +19 -0
  181. data/src/_functions.scss +57 -0
  182. data/src/_mixins.scss +301 -0
  183. data/src/_reset.scss +67 -0
  184. data/src/_settings.scss +22 -0
  185. data/src/_typography.scss +67 -0
  186. metadata +259 -0
@@ -0,0 +1,34 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
+ <title>fixed</title>
7
+ <style type="text/css" media="screen">
8
+ body { margin: 1px; padding: 5px; }
9
+ div.fixed { position: fixed; margin: 1px; border: 2px solid #000; padding: 5px; width: 100px; height: 100px; background: #fff; overflow: hidden; }
10
+ #fixed-1 { top: 0; left: 0; }
11
+ #fixed-2 { top: 20px; left: 20px; }
12
+ #forceScroll { width: 5000px; height: 5000px; }
13
+ #marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
14
+ </style>
15
+ <script src="../../jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8">
17
+ jQuery(function($) {
18
+ window.scrollTo(1000,1000);
19
+ $('.fixed').click(function() {
20
+ $('#marker').css( $(this).offset() );
21
+ return false;
22
+ });
23
+ });
24
+ </script>
25
+ </head>
26
+ <body>
27
+ <div id="fixed-1" class="fixed"></div>
28
+ <div id="fixed-2" class="fixed"></div>
29
+ <div id="fixed-no-top-left" class="fixed"></div>
30
+ <div id="forceScroll"></div>
31
+ <div id="marker"></div>
32
+ <p class="instructions">Click the white box to move the marker to it.</p>
33
+ </body>
34
+ </html>
@@ -0,0 +1,31 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
+ <title>relative</title>
7
+ <style type="text/css" media="screen">
8
+ body { margin: 1px; padding: 5px; }
9
+ div.relative { position: relative; top: 0; left: 0; margin: 1px; border: 2px solid #000; padding: 5px; width: 100px; height: 100px; background: #fff; overflow: hidden; }
10
+ #relative-2 { top: 20px; left: 20px; }
11
+ #marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
12
+ </style>
13
+ <script src="../../jquery.js"></script>
14
+ <script type="text/javascript" charset="utf-8">
15
+ jQuery(function($) {
16
+ $('.relative').click(function() {
17
+ $('#marker').css( $(this).offset() );
18
+ var pos = $(this).position();
19
+ $(this).css({ position: 'absolute', top: pos.top, left: pos.left });
20
+ return false;
21
+ });
22
+ });
23
+ </script>
24
+ </head>
25
+ <body>
26
+ <div id="relative-1" class="relative"><div id="relative-1-1" class="relative"><div id="relative-1-1-1" class="relative"></div></div></div>
27
+ <div id="relative-2" class="relative"></div>
28
+ <div id="marker"></div>
29
+ <p class="instructions">Click the white box to move the marker to it. Clicking the box also changes the position to absolute (if not already) and sets the position according to the position method.</p>
30
+ </body>
31
+ </html>
@@ -0,0 +1,39 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
+ <title>scroll</title>
7
+ <style type="text/css" media="screen">
8
+ body { margin: 1px; padding: 5px; }
9
+ div.scroll { position: relative; margin: 1px; border: 2px solid #000; padding: 5px; width: 100px; height: 100px; background: #fff; overflow: auto; }
10
+ #scroll-1 { top: 0; left: 0; }
11
+ #scroll-1-1 { top: 1px; left: 1px; }
12
+ #scroll-1-1-1 { top: 1px; left: 1px; }
13
+ #forceScroll { width: 5000px; height: 5000px; }
14
+ #marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
15
+ </style>
16
+ <script src="../../jquery.js"></script>
17
+ <script type="text/javascript" charset="utf-8">
18
+ jQuery(function($) {
19
+ window.scrollTo(1000,1000);
20
+ $('#scroll-1')[0].scrollLeft = 5;
21
+ $('#scroll-1')[0].scrollTop = 5;
22
+ $('.scroll').click(function() {
23
+ $('#marker').css( $(this).offset() );
24
+ return false;
25
+ });
26
+ });
27
+ </script>
28
+ </head>
29
+ <body>
30
+ <div id="scroll-1" class="scroll">
31
+ <div id="scroll-1-1" class="scroll">
32
+ <div id="scroll-1-1-1" class="scroll"></div>
33
+ </div>
34
+ </div>
35
+ <div id="forceScroll"></div>
36
+ <div id="marker"></div>
37
+ <p class="instructions">Click the white box to move the marker to it.</p>
38
+ </body>
39
+ </html>
@@ -0,0 +1,31 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
+ <title>static</title>
7
+ <style type="text/css" media="screen">
8
+ body { margin: 1px; padding: 5px; }
9
+ div.static { position: static; top: 0; left: 0; margin: 1px; border: 2px solid #000; padding: 5px; width: 100px; height: 100px; background: #fff; overflow: hidden; }
10
+ #static-2 { top: 20px; left: 20px; }
11
+ #marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
12
+ </style>
13
+ <script src="../../jquery.js"></script>
14
+ <script type="text/javascript" charset="utf-8">
15
+ jQuery(function($) {
16
+ $('.static').click(function() {
17
+ $('#marker').css( $(this).offset() );
18
+ var pos = $(this).position();
19
+ $(this).css({ position: 'absolute', top: pos.top, left: pos.left });
20
+ return false;
21
+ });
22
+ });
23
+ </script>
24
+ </head>
25
+ <body>
26
+ <div id="static-1" class="static"><div id="static-1-1" class="static"><div id="static-1-1-1" class="static"></div></div></div>
27
+ <div id="static-2" class="static"></div>
28
+ <div id="marker"></div>
29
+ <p class="instructions">Click the white box to move the marker to it. Clicking the box also changes the position to absolute (if not already) and sets the position according to the position method.</p>
30
+ </body>
31
+ </html>
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
+ <title>table</title>
7
+ <style type="text/css" media="screen">
8
+ body { margin: 1px; padding: 5px; }
9
+ table { border: 2px solid #000; }
10
+ th, td { border: 1px solid #000; width: 100px; height: 100px; }
11
+ #marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
12
+ </style>
13
+ <script src="../../jquery.js"></script>
14
+ <script type="text/javascript" charset="utf-8">
15
+ jQuery(function($) {
16
+ $('table, th, td').click(function() {
17
+ $('#marker').css( $(this).offset() );
18
+ return false;
19
+ });
20
+ });
21
+ </script>
22
+ </head>
23
+ <body>
24
+ <table id="table-1">
25
+ <thead>
26
+ <tr valign="top">
27
+ <th id="th-1">th-1</th>
28
+ <th id="th-2">th-2</th>
29
+ <th id="th-3">th-3</th>
30
+ </tr>
31
+ </thead>
32
+ <tbody>
33
+ <tr valign="top">
34
+ <td id="td-1">td-1</td>
35
+ <td id="td-2">td-2</td>
36
+ <td id="td-3">td-3</td>
37
+ </tr>
38
+ </tbody>
39
+ </table>
40
+ <div id="marker"></div>
41
+ <p class="instructions">Click the white box to move the marker to it.</p>
42
+ </body>
43
+ </html>
@@ -0,0 +1,12 @@
1
+ <div id="post">
2
+ <?php
3
+ foreach( $_POST as $key=>$value )
4
+ echo "<b id='$key'>$value</b>";
5
+ ?>
6
+ </div>
7
+ <div id="get">
8
+ <?php
9
+ foreach( $_GET as $key=>$value )
10
+ echo "<b id='$key'>$value</b>";
11
+ ?>
12
+ </div>
@@ -0,0 +1 @@
1
+ var delayedMessage = "It worked!";
@@ -0,0 +1,25 @@
1
+ // Simple script loader that uses jQuery.readyWait via jQuery.holdReady()
2
+
3
+ //Hold on jQuery!
4
+ jQuery.holdReady(true);
5
+
6
+ var readyRegExp = /^(complete|loaded)$/;
7
+
8
+ function assetLoaded( evt ){
9
+ var node = evt.currentTarget || evt.srcElement;
10
+ if ( evt.type === "load" || readyRegExp.test(node.readyState) ) {
11
+ jQuery.holdReady(false);
12
+ }
13
+ }
14
+
15
+ setTimeout( function() {
16
+ var script = document.createElement("script");
17
+ script.type = "text/javascript";
18
+ if ( script.addEventListener ) {
19
+ script.addEventListener( "load", assetLoaded, false );
20
+ } else {
21
+ script.attachEvent( "onreadystatechange", assetLoaded );
22
+ }
23
+ script.src = "data/readywaitasset.js";
24
+ document.getElementsByTagName("head")[0].appendChild(script);
25
+ }, 2000 );
@@ -0,0 +1,11 @@
1
+ <?php
2
+ error_reporting(0);
3
+ if ( $_REQUEST['header'] ) {
4
+ if ( $_REQUEST['header'] == "ecma" ) {
5
+ header("Content-type: application/ecmascript");
6
+ } else {
7
+ header("Content-type: text/javascript");
8
+ }
9
+ }
10
+ ?>
11
+ ok( true, "Script executed correctly." );
@@ -0,0 +1,114 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
+ <title>jQuery selector - attributes</title>
6
+
7
+ <script src="../../jquery.js"></script>
8
+
9
+ <script id="script1"
10
+ defer
11
+ async></script>
12
+
13
+ <script type="text/javascript">
14
+ document.createElement('video');
15
+ document.createElement('audio');
16
+ document.createElement('article');
17
+ document.createElement('details');
18
+ </script>
19
+ </head>
20
+ <body>
21
+ <img id="img1"
22
+ ismap>
23
+
24
+ <hr id="hr1"
25
+ noshade>
26
+
27
+ <form id="form1"
28
+ name="formName"
29
+ novalidate
30
+ formnovalidate>
31
+ <input type="text" id="text1"
32
+ tabindex="1"
33
+ name="name"
34
+ required
35
+ autofocus
36
+ readonly>
37
+ <textarea id="textarea1"
38
+ noresize></textarea>
39
+ </form>
40
+
41
+ <table>
42
+ <tr><td id="td1"
43
+ nowrap></td></tr>
44
+ </table>
45
+
46
+ <iframe id="iframe1"
47
+ src="iframe.html"
48
+ seamless></iframe>
49
+
50
+ <style id="style1"
51
+ scoped></style>
52
+
53
+ <ol id="ol1"
54
+ reversed></ol>
55
+
56
+ <article id="article1"
57
+ pubdate></article>
58
+
59
+ <details id="details1"
60
+ open></details>
61
+
62
+ <div id="div1"
63
+ nowrap
64
+ hidden
65
+ itemscope
66
+ draggable="true"
67
+ contenteditable="true"
68
+ aria-disabled="true">
69
+ <p>My name is <span id="span1"
70
+ spellcheck="true"
71
+ itemprop="name">Elizabeth</span>.</p>
72
+ </div>
73
+
74
+ <audio id="audio1"
75
+ muted></audio>
76
+
77
+ <video id="video1"
78
+ loop
79
+ controls
80
+ autoplay
81
+ autobuffer></video>
82
+
83
+ <map id="map1">
84
+ <area id="area1"
85
+ nohref
86
+ shape="default">
87
+ </map>
88
+
89
+ <input id="check1"
90
+ type="checkbox"
91
+ disabled
92
+ checked>
93
+
94
+ <select id="select1"
95
+ multiple>
96
+ <option id="option1"
97
+ selected
98
+ value="blar">blar</option>
99
+ </select>
100
+
101
+ <dl id="dl"
102
+ compact>
103
+ <dt>Term</dt><dd>This is the first definition in compact format.</dd>
104
+ <dt>Term</dt><dd>This is the second definition in compact format.</dd>
105
+ </dl>
106
+
107
+ <object id="object1"
108
+ declare></object>
109
+
110
+ <marquee id="marquee1"
111
+ direction="up"
112
+ truespeed>Scrolling text (non-standard)</marquee>
113
+ </body>
114
+ </html>
@@ -0,0 +1,21 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
+ <title>jQuery selector - sizzle cache</title>
6
+
7
+ <script src="../../jquery.js"></script>
8
+ <script>
9
+ document.write(
10
+ "<script>var $cached = jQuery.noConflict(true);<\x2Fscript>" +
11
+ "<script src='" + document.getElementById("jquery-js").src + "?overwrite'><\x2Fscript>"
12
+ );
13
+ </script>
14
+
15
+ </head>
16
+ <body>
17
+ <div class="test">
18
+ <a href="#" id="collision">Worlds collide</a>
19
+ </div>
20
+ </body>
21
+ </html>
@@ -0,0 +1,5 @@
1
+ <?php
2
+
3
+ header( "HTTP/1.0 $_GET[status] $_GET[text]" );
4
+
5
+ ?>
@@ -0,0 +1,28 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <style>
6
+ body {
7
+ background: #000000;
8
+ }
9
+
10
+ div {
11
+ padding: 15px;
12
+ border: 1px solid #999;
13
+ display: inline;
14
+ margin:8px;
15
+ }
16
+ </style>
17
+ </head>
18
+ <body>
19
+ <div>
20
+ <script src="../../jquery.js"></script>
21
+ </div>
22
+ <script>
23
+ jQuery(function() {
24
+ window.parent.iframeCallback( jQuery( "body" ).css( "backgroundColor" ), jQuery.support );
25
+ });
26
+ </script>
27
+ </body>
28
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <style>
6
+ body {
7
+ zoom: 0.87;
8
+ }
9
+ </style>
10
+ </head>
11
+ <body>
12
+ <script src="../../jquery.js"></script>
13
+ <script>
14
+ jQuery(function() {
15
+ window.parent.iframeCallback( jQuery.support.boxSizing );
16
+ });
17
+ </script>
18
+ </body>
19
+ </html>
@@ -0,0 +1,3 @@
1
+ jQuery(function() {
2
+ parent.iframeCallback( jQuery.support );
3
+ });
@@ -0,0 +1,22 @@
1
+ <?php
2
+ # Support: Firefox
3
+ header("X-Content-Security-Policy: default-src 'self';");
4
+
5
+ # Support: Webkit, Safari 5
6
+ # http://stackoverflow.com/questions/13663302/why-does-my-content-security-policy-work-everywhere-but-safari
7
+ header("X-WebKit-CSP: script-src " . $_SERVER["HTTP_HOST"] . " 'self'");
8
+
9
+ header("Content-Security-Policy: default-src 'self'");
10
+ ?>
11
+ <!DOCTYPE html>
12
+ <html>
13
+ <head>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
15
+ <title>CSP Test Page</title>
16
+ <script src="../../jquery.js"></script>
17
+ <script src="csp.js"></script>
18
+ </head>
19
+ <body>
20
+ <p>CSP Test Page</p>
21
+ </body>
22
+ </html>