Changeset 273637 in webkit
- Timestamp:
- Feb 28, 2021 11:42:46 AM (17 months ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
css/parser/CSSPropertyParser.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r273636 r273637 1 2021-02-28 Sam Weinig <weinig@apple.com> 2 3 Consider removing support for CSS value keywords with the -khtml- prefix 4 https://bugs.webkit.org/show_bug.cgi?id=222515 5 6 Reviewed by Darin Adler. 7 8 Try removing re-writing of the -khtml- prefix to -webkit- for CSS value keywords 9 and see what breaks. 10 11 * css/parser/CSSPropertyParser.cpp: 12 (WebCore::cssValueKeywordID): 13 1 14 2021-02-28 Zalan Bujtas <zalan@apple.com> 2 15 -
trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp
r273068 r273637 176 176 // On iOS we don't want to change values starting with -apple-system to -webkit-system. 177 177 // FIXME: Remove this mangling without breaking the web. 178 if (isAppleLegacyCssValueKeyword(buffer, length) || hasPrefix(buffer, length, "-khtml-")) {178 if (isAppleLegacyCssValueKeyword(buffer, length)) { 179 179 memmove(buffer + 7, buffer + 6, length + 1 - 6); 180 180 memcpy(buffer, "-webkit", 7);
Note: See TracChangeset
for help on using the changeset viewer.