Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-counter-styles] Enable new codepath for Korean counter styles
https://bugs.webkit.org/show_bug.cgi?id=256149 rdar://106193134 Reviewed by Myles C. Maxfield. The spec defines all the Korean counter styles to have two trailing whitespaces for the negative suffix. Trailing whitespaces in strings seem to be optimized too cleverly by the build system for UA sheets (this bug does not affect author counter styles). Replace the second whitespace with \20 to make sure the build system doesn't strip the spaces. This makes the following tests pass with the new codepath: imported/w3c/web-platform-tests/css/css-counter-styles/korean-hangul-formal/css3-counter-styles-055.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-065.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-counter-styles/korean-hanja-informal/css3-counter-styles-060.html [ ImageOnlyFailure ] * Source/WebCore/css/CSSCounterStyleRegistry.cpp: (WebCore::isCounterStyleUnsupportedByUserAgent): * Source/WebCore/css/counterStyles.css: (@counter-style korean-hangul-formal): (@counter-style korean-hanja-informal): (@counter-style korean-hanja-formal): Canonical link: https://commits.webkit.org/263542@main
- Loading branch information