-
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-text][css-fonts] Testing writing system dependent rules #13430
Conversation
3e9d921
to
60e792e
Compare
<link rel=help href="https://drafts.csswg.org/css-text-3/#script-tagging"> | ||
<link rel=help href="https://drafts.csswg.org/css-fonts-4/#language-specific-support"> | ||
<link rel=match href="reference/writing-system-font-001-ref.html"> | ||
<meta name=assert content="An explicit writing system takes precedence over the content language for font selection"> |
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.
This comment doesn't seem to match the test, which asserts (effectively) that lang=foo
has no effect at all in this case.
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.
The test does not assert that lang=foo
has no effect, but that if you have lang=foo-bar
where foo
is a language and bar
is a writing system, it's bar
that wins, not foo
.
So unless I'm missing something, the comment is correct.
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.
Oh, so the -latn
bit is the important part. I've just revealed my ignorance about the area, but if nobody else will review, I will :)
<link rel=help href="https://drafts.csswg.org/css-text-3/#script-tagging"> | ||
<link rel=help href="https://drafts.csswg.org/css-fonts-4/#language-specific-support"> | ||
<link rel=match href="reference/writing-system-font-001-ref.html"> | ||
<meta name=assert content="An explicit writing system takes precedence over the content language for font selection"> |
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.
Oh, so the -latn
bit is the important part. I've just revealed my ignorance about the area, but if nobody else will review, I will :)
css/css-text/writing-system/reference/writing-system-line-break-002-ref.html
Outdated
Show resolved
Hide resolved
Thanks for the review. I'll merge as soon as w3c/csswg-drafts#3202 is merged. |
That's done, so merging this as well. |
@frivoal I noticed via https://bugs.chromium.org/p/chromium/issues/detail?id=905629 that my fixup commit ended up in the commit history, which I didn't intend. When merging PRs, please try to use the "squash" option in cases like this. (Nothing really bad happens if you forget, which I've done.) |
The typo in the ref was fixed in #13430, but the test itself was not updated. That's bad.
The typo in the ref was fixed in #13430, but the test itself was not updated. That's bad.
@foolip Yeah, I try to use squash when the commits are not meaningful, and regular merge (or rebase) when they are, but occasionally I forget. Sorry |
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097 UltraBlame original commit: 380cb8a671e9c651b8519acd2256d1f9eeda3905
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097 UltraBlame original commit: cc07066a3542d272fe0eac5339b825c3792757c0
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097 UltraBlame original commit: 380cb8a671e9c651b8519acd2256d1f9eeda3905
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097 UltraBlame original commit: cc07066a3542d272fe0eac5339b825c3792757c0
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097 UltraBlame original commit: 380cb8a671e9c651b8519acd2256d1f9eeda3905
…m/ already fixed in ref, a=testonly Automatic update from web-platform-testsFix a typo in css/css-text/writing-system/ already fixed in ref (#14097) The typo in the ref was fixed in web-platform-tests/wpt#13430, but the test itself was not updated. That's bad. -- wpt-commits: 0601d669f54ea46df0c1b08b9927ad6933a06fd3 wpt-pr: 14097 UltraBlame original commit: cc07066a3542d272fe0eac5339b825c3792757c0
Related to w3c/csswg-drafts#2015