[webkit-changes] [WebKit/WebKit] b6e0a7: Support some WebKit-only counter styles using @cou...
Tim Nguyen
noreply at github.com
Sat Apr 29 21:41:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b6e0a72bbf0a1a33ab4d3c6d6f58897dd2ba9c94
https://github.com/WebKit/WebKit/commit/b6e0a72bbf0a1a33ab4d3c6d6f58897dd2ba9c94
Author: Tim Nguyen <ntim at apple.com>
Date: 2023-04-29 (Sat, 29 Apr 2023)
Changed paths:
M Source/WebCore/css/CSSCounterStyleRegistry.cpp
M Source/WebCore/css/counterStyles.css
Log Message:
-----------
Support some WebKit-only counter styles using @counter-style
https://bugs.webkit.org/show_bug.cgi?id=256140
rdar://106708729
Reviewed by Myles C. Maxfield.
Add all non-ethiopian WebKit-only counter styles into counterStyles.css.
Some are sourced from https://www.w3.org/TR/predefined-counter-styles/ , some other are sourced directly from RenderListMarker.
All the ported counter-styles are covered by layout tests in fast/lists/.
Ethiopian counter styles haven't been ported because of some inconsistencies between the W3C predefined counter styles and the WebKit implementation.
rdar://108704382 has been filed to port those.
* Source/WebCore/css/CSSCounterStyleRegistry.cpp:
(WebCore::isCounterStyleUnsupportedByUserAgent):
* Source/WebCore/css/counterStyles.css:
(@counter-style binary):
(@counter-style lower-hexadecimal):
(@counter-style upper-hexadecimal):
(@counter-style octal):
(@counter-style hangul):
(@counter-style hangul-consonant):
(@counter-style asterisks):
(@counter-style footnotes):
(@counter-style lower-norwegian):
(@counter-style upper-greek):
(@counter-style upper-norwegian):
(@counter-style urdu):
Canonical link: https://commits.webkit.org/263537@main
More information about the webkit-changes
mailing list