| Index: LayoutTests/inspector/elements/styles/media-emulation.html
|
| diff --git a/LayoutTests/inspector/elements/styles/media-emulation.html b/LayoutTests/inspector/elements/styles/media-emulation.html
|
| deleted file mode 100644
|
| index 679015227778c9dcb0176fee8b0a2058c5534d16..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/elements/styles/media-emulation.html
|
| +++ /dev/null
|
| @@ -1,70 +0,0 @@
|
| -<html>
|
| -<head>
|
| -
|
| -<style type="text/css">
|
| -#main { color: red; }
|
| -
|
| -@media print {
|
| -#main { color: black; }
|
| -}
|
| -
|
| -@media tty {
|
| -#main { color: green; }
|
| -}
|
| -</style>
|
| -
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/elements-test.js"></script>
|
| -<script>
|
| -
|
| -function test()
|
| -{
|
| - InspectorTest.selectNodeAndWaitForStyles("main", step0);
|
| -
|
| - function step0()
|
| - {
|
| - InspectorTest.addResult("Original style:");
|
| - InspectorTest.dumpSelectedElementStyles(true);
|
| - applyEmulatedMedia("print");
|
| - InspectorTest.waitForStyles("main", step1);
|
| - }
|
| -
|
| - function step1() {
|
| - InspectorTest.addResult("print media emulated:");
|
| - InspectorTest.dumpSelectedElementStyles(true);
|
| - applyEmulatedMedia("tty");
|
| - InspectorTest.waitForStyles("main", step2);
|
| - }
|
| -
|
| - function step2()
|
| - {
|
| - InspectorTest.addResult("tty media emulated:");
|
| - InspectorTest.dumpSelectedElementStyles(true);
|
| - applyEmulatedMedia("");
|
| - InspectorTest.waitForStyles("main", step3);
|
| - }
|
| -
|
| - function step3()
|
| - {
|
| - InspectorTest.addResult("No media emulated:");
|
| - InspectorTest.dumpSelectedElementStyles(true);
|
| - InspectorTest.completeTest();
|
| - }
|
| -
|
| - function applyEmulatedMedia(media)
|
| - {
|
| - InspectorTest.EmulationAgent.setEmulatedMedia(media);
|
| - InspectorTest.cssModel.mediaQueryResultChanged();
|
| - }
|
| -}
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>
|
| -Tests that emulated CSS media is reflected in the Styles pane.
|
| -</p>
|
| -
|
| -<div id="main"></div>
|
| -</body>
|
| -</html>
|
|
|