You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
::first-letter should include preceding punctuation and space separators
https://bugs.webkit.org/show_bug.cgi?id=179815
Reviewed by NOBODY (OOPS!).
Updating the punctuation categories that are included preceding and following the initial letter
according to https://www.w3.org/TR/css-pseudo-4/#first-letter-pattern.
Additionally adds narrow no-break space to spaces accepted preceding the first-letter,
according to the resolution on w3c/csswg-drafts#9413 (comment)
This change makes first-letter-punctuation-and-space.html pass.
* LayoutTests/TestExpectations:
* Source/WebCore/rendering/updating/RenderTreeBuilderFirstLetter.cpp:
(WebCore::isPrecedingPunctuationForFirstLetter):
(WebCore::isFollowingPunctuationForFirstLetter):
(WebCore::shouldSkipForFirstLetter):
(WebCore::RenderTreeBuilder::FirstLetter::createRenderers):
(WebCore::isPunctuationForFirstLetter): Deleted.
0 commit comments