Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tests for first-letter pseudo element with preceding punctuatio… #25828

Merged
merged 1 commit into from Dec 30, 2020

Conversation

johannesodland
Copy link
Contributor

…n and intervening spaces.

@johannesodland
Copy link
Contributor Author

This test is to test that ::first-letter includes space separators (and preceding punctuation) as described in w3c/csswg-drafts#5154.

The Editor's Draft has been updated here: https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo

The updated text includes the following:

Punctuation (i.e, characters that belong to the Punctuation (P*) Unicode general category [UAX44]) that precedes or follows the first typographic letter unit and any intervening space separators (characters that belong to the Zs Unicode general category [UAX44]) must also be included in the ::first-letter pseudo-element.

This is the first time I'm submitting a test. I'm happy to provide a more thorough test and better documentation of the features it tests if someone can point me to a good test-example.

@fantasai fantasai merged commit e7ab505 into web-platform-tests:master Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants