-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[css-pseudo] Add some ::first-letter tests #17023
base: master
Are you sure you want to change the base?
Conversation
<meta charset="utf-8"/> | ||
<title>CSS3 Pseudo: latin, letter + diacritic</title> | ||
<meta name="assert" id="assert" content=":first-letter will select a letter + a following combining character at the start of a line."> | ||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xfq I believe that ref files are supposed to have no metadata, but i'm pretty sure that they aren't supposed to have help metadata.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the reminder! I just removed them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked https://web-platform-tests.org/writing-tests/reftests.html#example-reftests and it says that all metadata should be removed. So i think we'll need to also remove the <link rel="author"
metadata.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
This PR ports https://w3c.github.io/i18n-tests/results/first-letter-pseudo to WPT. It includes tests for Latin grapheme clusters, Dutch tailoring, and Devanagari grapheme clusters.
I didn't include the basic functionality test[1] and the exploratory tests.
/cc @r12a
Footnotes:
[1] I believe it's already tested by https://github.com/web-platform-tests/wpt/blob/master/css/css-pseudo/first-letter-001.html