diff options
Diffstat (limited to 'npm_assets/node_modules/html5shiv/test/data')
| -rw-r--r-- | npm_assets/node_modules/html5shiv/test/data/body-crash.jpg | bin | 0 -> 429 bytes | |||
| -rw-r--r-- | npm_assets/node_modules/html5shiv/test/data/iframed-tests.html | 103 | ||||
| -rw-r--r-- | npm_assets/node_modules/html5shiv/test/data/inline-mixed-media.css | 11 | ||||
| -rw-r--r-- | npm_assets/node_modules/html5shiv/test/data/inline-print-media.css | 8 | ||||
| -rw-r--r-- | npm_assets/node_modules/html5shiv/test/data/no-print.css | 8 | ||||
| -rw-r--r-- | npm_assets/node_modules/html5shiv/test/data/paramtracer.swf | bin | 0 -> 5841 bytes | |||
| -rw-r--r-- | npm_assets/node_modules/html5shiv/test/data/print-styles.css | 8 | ||||
| -rw-r--r-- | npm_assets/node_modules/html5shiv/test/data/print.css | 3 | ||||
| -rw-r--r-- | npm_assets/node_modules/html5shiv/test/data/screen.css | 9 |
9 files changed, 150 insertions, 0 deletions
diff --git a/npm_assets/node_modules/html5shiv/test/data/body-crash.jpg b/npm_assets/node_modules/html5shiv/test/data/body-crash.jpg Binary files differnew file mode 100644 index 0000000..8727016 --- /dev/null +++ b/npm_assets/node_modules/html5shiv/test/data/body-crash.jpg diff --git a/npm_assets/node_modules/html5shiv/test/data/iframed-tests.html b/npm_assets/node_modules/html5shiv/test/data/iframed-tests.html new file mode 100644 index 0000000..f4e22fe --- /dev/null +++ b/npm_assets/node_modules/html5shiv/test/data/iframed-tests.html @@ -0,0 +1,103 @@ +<!doctype html> +<html> + <head> + <meta charset="utf-8"> + <title>iframe tests</title> + + + <style> + body { + background: url(body-crash.jpg) no-repeat -999px -999px; + } + article { + border: 2px solid #8C8; + } + </style> + <script> + (function(){ + window.querys = {}; + var name; + var search= location.search.replace('?', ''); + if(search){ + search = search.split('&'); + for(var i = 0; i < search.length; i++){ + name = search[i].split('='); + querys[name[0]] = true; + } + } + })(); + </script> + <script> + if(querys.disableMethodsBefore){ + if(!window.html5){ + window.html5 = {}; + } + window.html5.shivMethods = false; + } + if(querys.disableCSS){ + if(!window.html5){ + window.html5 = {}; + } + window.html5.shivCSS = false; + } + if(querys.addUnknownBefore){ + if(!window.html5){ + window.html5 = {}; + } + window.html5.elements = 'abcxyz abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output picture progress section summary time video'; + } + + + if(!querys.noEmbed){ + document.write('<script src="..\/..\/src\/html5shiv-printshiv.js"><\/script>'); + } + </script> + <script> + + if(querys.disableMethodsAfter){ + window.html5.shivMethods = false; + } + + if(querys.addUnknownAfter){ + window.html5.elements = 'abcxyz abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output picture progress section summary time video'; + html5.shivDocument(document); + } + </script> + + </head> + <body> + <div id="qunit-fixture"> + <abcxyz> + <div class="inside"></div> + </abcxyz> + <article> + <div class="inside"></div> + </article> + <aside> + <div class="inside"></div> + </aside> + <figcaption> + <div class="inside"></div> + </figcaption> + <figure> + <div class="inside"></div> + </figure> + <footer> + <div class="inside"></div> + </footer> + <header> + <div class="inside"></div> + </header> + <hgroup> + <div class="inside"></div> + </hgroup> + <nav> + <div class="inside"></div> + </nav> + <section> + <div class="inside"></div> + </section> + + </div> + </body> +</html>
\ No newline at end of file diff --git a/npm_assets/node_modules/html5shiv/test/data/inline-mixed-media.css b/npm_assets/node_modules/html5shiv/test/data/inline-mixed-media.css new file mode 100644 index 0000000..0a4de90 --- /dev/null +++ b/npm_assets/node_modules/html5shiv/test/data/inline-mixed-media.css @@ -0,0 +1,11 @@ +@media screen, handheld { + article.inline-mixed-media { + border: 5px solid #000; + } +} + +@media print { + article.inline-mixed-media { + border: 5px dotted #000; + } +}
\ No newline at end of file diff --git a/npm_assets/node_modules/html5shiv/test/data/inline-print-media.css b/npm_assets/node_modules/html5shiv/test/data/inline-print-media.css new file mode 100644 index 0000000..87b10f1 --- /dev/null +++ b/npm_assets/node_modules/html5shiv/test/data/inline-print-media.css @@ -0,0 +1,8 @@ +.inline-print-media form { + border: 5px solid #000; +} +@media print { + .inline-print-media form { + border: 5px dotted #000; + } +} diff --git a/npm_assets/node_modules/html5shiv/test/data/no-print.css b/npm_assets/node_modules/html5shiv/test/data/no-print.css new file mode 100644 index 0000000..2e3dc9e --- /dev/null +++ b/npm_assets/node_modules/html5shiv/test/data/no-print.css @@ -0,0 +1,8 @@ +article:before { + content: "isfnotorprint"; + isfnotorprint: true; +} +article { + content: "isfnotorprint"; + isfnotorprint: true; +}
\ No newline at end of file diff --git a/npm_assets/node_modules/html5shiv/test/data/paramtracer.swf b/npm_assets/node_modules/html5shiv/test/data/paramtracer.swf Binary files differnew file mode 100644 index 0000000..5d55d47 --- /dev/null +++ b/npm_assets/node_modules/html5shiv/test/data/paramtracer.swf diff --git a/npm_assets/node_modules/html5shiv/test/data/print-styles.css b/npm_assets/node_modules/html5shiv/test/data/print-styles.css new file mode 100644 index 0000000..b8f2251 --- /dev/null +++ b/npm_assets/node_modules/html5shiv/test/data/print-styles.css @@ -0,0 +1,8 @@ +.print-styles article { + border: 5px dotted #000; +} +@media print { + article.print-styles-print { + border: 5px dotted #000; + } +} diff --git a/npm_assets/node_modules/html5shiv/test/data/print.css b/npm_assets/node_modules/html5shiv/test/data/print.css new file mode 100644 index 0000000..28c988a --- /dev/null +++ b/npm_assets/node_modules/html5shiv/test/data/print.css @@ -0,0 +1,3 @@ +article.print { + border: 5px dotted #000; +}
\ No newline at end of file diff --git a/npm_assets/node_modules/html5shiv/test/data/screen.css b/npm_assets/node_modules/html5shiv/test/data/screen.css new file mode 100644 index 0000000..f69e58b --- /dev/null +++ b/npm_assets/node_modules/html5shiv/test/data/screen.css @@ -0,0 +1,9 @@ +article.print { + border: 5px solid #000; +} +.print-styles article { + border: 5px solid #000; +} +article.print-styles-print { + border: 5px solid #000; +}
\ No newline at end of file |
