Changeset 209202 in webkit


Ignore:
Timestamp:
Dec 1, 2016 1:57:33 PM (7 years ago)
Author:
hyatt@apple.com
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.

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r209200 r209202  
     12016-12-01  Dave Hyatt  <hyatt@apple.com>
     2
     3        [CSS Parser] Fix an invalid shadow DOM test
     4        https://bugs.webkit.org/show_bug.cgi?id=165273
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        * fast/shadow-dom/css-scoping-slot-with-id.html:
     9        Pseudo-element needs to be rightmost. The rule is illegal, but our old parser
     10        incorrectly allowed it. Fix the test by just flipping the order so that ::slotted(*)
     11        occurs last.
     12
    1132016-12-01  Jiewen Tan  <jiewen_tan@apple.com>
    214
  • trunk/LayoutTests/fast/shadow-dom/css-scoping-slot-with-id.html

    r208390 r209202  
    4848host.attachShadow({ mode: 'open' }).innerHTML = `
    4949  <style>
    50     ::slotted(*)#myslot {
     50    #myslot::slotted(*) {
    5151      background-color: green; width: 100%; height: 100%;
    5252    }
Note: See TracChangeset for help on using the changeset viewer.