diff options
Diffstat (limited to 'devtools/client/inspector/rules/test/doc_print_media_simulation.html')
-rw-r--r-- | devtools/client/inspector/rules/test/doc_print_media_simulation.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devtools/client/inspector/rules/test/doc_print_media_simulation.html b/devtools/client/inspector/rules/test/doc_print_media_simulation.html new file mode 100644 index 0000000000..e0caa25296 --- /dev/null +++ b/devtools/client/inspector/rules/test/doc_print_media_simulation.html @@ -0,0 +1,27 @@ +<html> +<head> + <title>test print media simulation</title> + <script type="application/javascript"> + + </script> + <style> + div { + width: 1000px; + height: 100px; + background-color: #f00; + } + + @media print { + div { + background-color: #00f; + } + } + </style> +</head> +<body> +<div></div> +<iframe + src='https://example.org/document-builder.sjs?html=<style>html { background-color: %23ff0;} @media print {html {background-color: %230ff;}}'> +</iframe> +</body> +</html> |