Bug 166961

Summary: Add "slotted" to PseudoElement map now that new CSSParser is enabled
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: CSSAssignee: 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
Reported 2017-01-11 19:25:26 PST
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
Anne van Kesteren
Comment 1 2023-12-29 00:11:16 PST
Source/WebCore/css/SelectorPseudoElementMap.in and that has happened now.
Note You need to log in before you can comment on or make changes to this bug.