Changeset 273592 in webkit for trunk/Source/WebCore/css/CSSStyleDeclaration.cpp
- Timestamp:
- Feb 26, 2021, 3:17:07 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSStyleDeclaration.cpp
r270613 r273592 47 47 None, 48 48 Epub, 49 CSS,50 49 Pixel, 51 50 Pos, … … 91 90 UChar firstChar = toASCIILower(propertyName[0]); 92 91 switch (firstChar) { 93 case 'c':94 if (matchesCSSPropertyNamePrefix(propertyName, "css"))95 return PropertyNamePrefix::CSS;96 break;97 92 case 'e': 98 93 if (matchesCSSPropertyNamePrefix(propertyName, "epub")) … … 168 163 169 164 unsigned i = 0; 170 // Prefixes CSS, Pixel,Pos are ignored.165 // Prefixes Pixel and Pos are ignored. 171 166 // Prefixes Apple, KHTML and Webkit are transposed to "-webkit-". 172 167 // The prefix "Epub" becomes "-epub-". … … 175 170 if (isASCIIUpper((*propertyNameString)[0])) 176 171 return propertyInfo; 177 break;178 case PropertyNamePrefix::CSS:179 i += 3;180 172 break; 181 173 case PropertyNamePrefix::Pixel:
Note:
See TracChangeset
for help on using the changeset viewer.