Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4b045c5e9ff3544fb9d7af31ac973eb684c4a236
https://github.com/WebKit/WebKit/commit/4b045c5e9ff3544fb9d7af31ac973eb684c4a236
Author: Anne van Kesteren <[email protected]>
Date: 2026-05-21 (Thu, 21 May 2026)
Changed paths:
M LayoutTests/TestExpectations
R LayoutTests/fast/css/first-letter-punctuation-expected.html
R LayoutTests/fast/css/first-letter-punctuation.html
M LayoutTests/imported/w3c/resources/resource-files.json
A
LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/first-letter-c0.tentative-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/first-letter-c0.tentative-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/first-letter-c0.tentative.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/first-letter-trailing-punctuation-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/first-letter-trailing-punctuation-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/first-letter-trailing-punctuation.html
M Source/WTF/wtf/unicode/CharacterNames.h
M Source/WebCore/rendering/updating/RenderTreeBuilderFirstLetter.cpp
Log Message:
-----------
Correct what is considered punctuation for ::first-letter
https://bugs.webkit.org/show_bug.cgi?id=315100
Reviewed by Antti Koivisto.
Aligns us with the specification and Gecko.
Chromium gets a number of cases from our internal test (that I modified
and turned into a WPT) wrong. It mostly fails to find the first letter
or fails to include some punctuation.
I created a separate tentative test for C0 code points as the
specification is not entirely clear.
Upstream: https://github.com/web-platform-tests/wpt/pull/60001
Canonical link: https://commits.webkit.org/313652@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications