Title: [209246] trunk/LayoutTests
Revision
209246
Author
[email protected]
Date
2016-12-02 10:38:12 -0800 (Fri, 02 Dec 2016)

Log Message

[CSS Parser] Require whitespace following condition tokens in media queries
https://bugs.webkit.org/show_bug.cgi?id=165314

Reviewed by Dean Jackson.

This test is invalid according to the media queries spec, which states that whitespace is
required following "and"/"or" tokens.

* fast/css/media-rule-no-whitespace-expected.txt: Removed.
* fast/css/media-rule-no-whitespace.html: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (209245 => 209246)


--- trunk/LayoutTests/ChangeLog	2016-12-02 18:31:54 UTC (rev 209245)
+++ trunk/LayoutTests/ChangeLog	2016-12-02 18:38:12 UTC (rev 209246)
@@ -1,3 +1,16 @@
+2016-12-02  Dave Hyatt  <[email protected]>
+
+        [CSS Parser] Require whitespace following condition tokens in media queries
+        https://bugs.webkit.org/show_bug.cgi?id=165314
+
+        Reviewed by Dean Jackson.
+
+        This test is invalid according to the media queries spec, which states that whitespace is
+        required following "and"/"or" tokens.
+
+        * fast/css/media-rule-no-whitespace-expected.txt: Removed.
+        * fast/css/media-rule-no-whitespace.html: Removed.
+
 2016-12-02  Ryan Haddad  <[email protected]>
 
         Marking media/modern-media-controls/pip-support/pip-support-click.html as flaky on Sierra.

Deleted: trunk/LayoutTests/fast/css/media-rule-no-whitespace-expected.txt (209245 => 209246)


--- trunk/LayoutTests/fast/css/media-rule-no-whitespace-expected.txt	2016-12-02 18:31:54 UTC (rev 209245)
+++ trunk/LayoutTests/fast/css/media-rule-no-whitespace-expected.txt	2016-12-02 18:38:12 UTC (rev 209246)
@@ -1,2 +0,0 @@
-This should be green
-SUCCESS

Deleted: trunk/LayoutTests/fast/css/media-rule-no-whitespace.html (209245 => 209246)


--- trunk/LayoutTests/fast/css/media-rule-no-whitespace.html	2016-12-02 18:31:54 UTC (rev 209245)
+++ trunk/LayoutTests/fast/css/media-rule-no-whitespace.html	2016-12-02 18:38:12 UTC (rev 209246)
@@ -1,25 +0,0 @@
-<html>
-    <head>
-        <style>
-            @media all and(min-width: 2px) { #styled { color: green; } }
-            @media all and(max-width: 1px) { #styled { color: red; } }
-        </style>
-        <script>
-            function runTest() {
-                if (window.testRunner)
-                    testRunner.dumpAsText();
-
-                var element = document.getElementById('styled');
-                var computedColor = window.getComputedStyle(element).color;
-                if (computedColor === "rgb(0, 128, 0)")
-                    document.getElementById("result").textContent = "SUCCESS";
-                else
-                    document.getElementById("result").textContent = "FAILURE: " + computedColor;
-            }
-        </script>
-    </head>
-    <body _onload_="runTest();">
-        <div id="styled">This should be green</div>
-        <div id="result">FAILURE</div>
-    </body>
-</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to