Bug 166961
| Summary: | Add "slotted" to PseudoElement map now that new CSSParser is enabled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | annevk, dino, hyatt, joepeck |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Joseph Pecoraro
From CSSParserValues.cpp:
> if (pseudoType == CSSSelector::PseudoElementUnknown) {
> // FIXME-NEWPARSER: We can't add "slotted" to the map without breaking the old
> // parser, so this hack ensures the new parser still recognizes it. When the new
> // parser turns on, we can add "slotted" to the map and remove this code.
> if (pseudoTypeString.startsWithIgnoringASCIICase("slotted"))
> pseudoType = CSSSelector::PseudoElementSlotted;
> else
> return nullptr;
> }
Looks like slotted can now be added to the map.
I assume it means:
Source/WebCore/css/SelectorPseudoClassAndCompatibilityElementMap.in
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Anne van Kesteren
Source/WebCore/css/SelectorPseudoElementMap.in and that has happened now.