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

[css-pseudo] Add some ::first-letter tests #17023

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

xfq
Copy link
Contributor

@xfq xfq commented May 27, 2019

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

<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">
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@gsnedders gsnedders removed their assignment Jan 31, 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.

4 participants