Changeset 235652 in webkit
- Timestamp:
- Sep 4, 2018 6:22:55 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r235651 r235652 1 2018-08-29 Emilio Cobos Álvarez <emilio@crisal.io> 2 3 Remove PseudoElementUserAgentCustom. 4 https://bugs.webkit.org/show_bug.cgi?id=189089 5 6 Reviewed by Ryosuke Niwa. 7 8 Tests at https://github.com/web-platform-tests/wpt/pull/12743. 9 10 * css/CSSSelector.cpp: 11 (WebCore::CSSSelector::pseudoId): 12 (WebCore::CSSSelector::parsePseudoElementType): 13 * css/CSSSelector.h: 14 (WebCore::CSSSelector::isCustomPseudoElement const): 15 * css/RuleSet.cpp: 16 (WebCore::RuleSet::addRule): 17 * css/parser/CSSParserSelector.h: 18 (WebCore::CSSParserSelector::needsImplicitShadowCombinatorForMatching const): 19 1 20 2018-09-04 Dean Jackson <dino@apple.com> 2 21 -
trunk/Source/WebCore/css/CSSSelector.cpp
r234877 r235652 300 300 case PseudoElementSlotted: 301 301 case PseudoElementUnknown: 302 case PseudoElementUserAgentCustom:303 302 case PseudoElementWebKitCustom: 304 303 case PseudoElementWebKitCustomLegacyPrefixed: … … 319 318 if (name.startsWith("-webkit-")) 320 319 type = PseudoElementWebKitCustom; 321 322 if (name.startsWith("x-"))323 type = PseudoElementUserAgentCustom;324 320 } 325 321 return type; -
trunk/Source/WebCore/css/CSSSelector.h
r234877 r235652 184 184 PseudoElementSelection, 185 185 PseudoElementSlotted, 186 PseudoElementUserAgentCustom,187 186 PseudoElementWebKitCustom, 188 187 … … 412 411 { 413 412 return match() == PseudoElement 414 && (pseudoElementType() == PseudoElementUserAgentCustom 415 || pseudoElementType() == PseudoElementWebKitCustom 413 && (pseudoElementType() == PseudoElementWebKitCustom 416 414 || pseudoElementType() == PseudoElementWebKitCustomLegacyPrefixed); 417 415 } -
trunk/Source/WebCore/css/RuleSet.cpp
r228313 r235652 243 243 case CSSSelector::PseudoElement: 244 244 switch (selector->pseudoElementType()) { 245 case CSSSelector::PseudoElementUserAgentCustom:246 245 case CSSSelector::PseudoElementWebKitCustom: 247 246 case CSSSelector::PseudoElementWebKitCustomLegacyPrefixed: -
trunk/Source/WebCore/css/parser/CSSParserSelector.h
r234877 r235652 118 118 return match() == CSSSelector::PseudoElement 119 119 && (pseudoElementType() == CSSSelector::PseudoElementWebKitCustom 120 || pseudoElementType() == CSSSelector::PseudoElementUserAgentCustom121 120 #if ENABLE(VIDEO_TRACK) 122 121 || pseudoElementType() == CSSSelector::PseudoElementCue
Note: See TracChangeset
for help on using the changeset viewer.