Title: [209202] trunk/LayoutTests
Revision
209202
Author
hy...@apple.com
Date
2016-12-01 13:57:33 -0800 (Thu, 01 Dec 2016)

Log Message

[CSS Parser] Fix an invalid shadow DOM test
https://bugs.webkit.org/show_bug.cgi?id=165273

Reviewed by Zalan Bujtas.

* fast/shadow-dom/css-scoping-slot-with-id.html:
Pseudo-element needs to be rightmost. The rule is illegal, but our old parser
incorrectly allowed it. Fix the test by just flipping the order so that ::slotted(*)
occurs last.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (209201 => 209202)


--- trunk/LayoutTests/ChangeLog	2016-12-01 21:47:34 UTC (rev 209201)
+++ trunk/LayoutTests/ChangeLog	2016-12-01 21:57:33 UTC (rev 209202)
@@ -1,3 +1,15 @@
+2016-12-01  Dave Hyatt  <hy...@apple.com>
+
+        [CSS Parser] Fix an invalid shadow DOM test
+        https://bugs.webkit.org/show_bug.cgi?id=165273
+
+        Reviewed by Zalan Bujtas.
+
+        * fast/shadow-dom/css-scoping-slot-with-id.html:
+        Pseudo-element needs to be rightmost. The rule is illegal, but our old parser
+        incorrectly allowed it. Fix the test by just flipping the order so that ::slotted(*)
+        occurs last.
+
 2016-12-01  Jiewen Tan  <jiewen_...@apple.com>
 
         Update SubtleCrypto::unwrapKey to match the latest spec

Modified: trunk/LayoutTests/fast/shadow-dom/css-scoping-slot-with-id.html (209201 => 209202)


--- trunk/LayoutTests/fast/shadow-dom/css-scoping-slot-with-id.html	2016-12-01 21:47:34 UTC (rev 209201)
+++ trunk/LayoutTests/fast/shadow-dom/css-scoping-slot-with-id.html	2016-12-01 21:57:33 UTC (rev 209202)
@@ -47,7 +47,7 @@
 var host = document.querySelector('#t3');
 host.attachShadow({ mode: 'open' }).innerHTML = `
   <style>
-    ::slotted(*)#myslot {
+    #myslot::slotted(*) {
       background-color: green; width: 100%; height: 100%;
     }
   </style>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to