-
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
[Gecko Bug 1498148] Implement text-transform: full-size-kana. #13504
Conversation
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.
Already reviewed downstream.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1498148 gecko-commit: 410f1ce46d58faaa90983efe0805b798df57c43e gecko-integration-branch: mozilla-inbound gecko-reviewers: xidorn
3b8eebe
to
0b0b522
Compare
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 tests themselves look correct, but the comments in them are misleading (see comment inline). This should be fixed first.
Other than that, -001 overlaps with the tests proposed in #13461, but -002 is different, so I guess having both is fine.
<span title="U+FF6E">ヨ ヨ</span> | ||
</div> | ||
<!--Notes: | ||
Tip: To identify the characters where differences occur, in order to report problem characters, either mouse over to reveal a tooltip, or copy and paste the sequence into a tool such as <a href='http://r12a.github.io/uniview/' target='_blank'>UniView</a> or the <a href='http://r12a.github.io/apps/conversion/' target='_blank'>Unicode Conversion Tool</a>. |
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 tip is not correct. copy&paste should copy the original untransformed character, so Uniview won't help. (same comment in other tests).
Spec reference for that claim:
https://drafts.csswg.org/css-text-3/#text-transform-property
This property transforms text for styling purposes. It has no effect on the underlying content, and must not affect the content of a plain text copy & paste operation.
Turns out the incorrect tip is shared between plenty of tests. Unblocking this PR in favor of this new issue to fix them all. |
Rework the tests from web-platform-tests#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything
Rework the tests from web-platform-tests#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything
Rework the tests from web-platform-tests#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461 UltraBlame original commit: 3765db1858e18db83c48a358e39824ea2c5dccc8
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461 UltraBlame original commit: 9fabbd4a66fdcfe0ef0b2280fd6cf1dbbbc21676
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461 UltraBlame original commit: 3765db1858e18db83c48a358e39824ea2c5dccc8
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461 UltraBlame original commit: 9fabbd4a66fdcfe0ef0b2280fd6cf1dbbbc21676
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461 UltraBlame original commit: 3765db1858e18db83c48a358e39824ea2c5dccc8
…ize-kana, a=testonly Automatic update from web-platform-tests [css-text] Improve text-transform:full-size-kana tests Rework the tests from web-platform-tests/wpt#13504, so that: * They fit within 600px × 600px (as generally required for reftests) * They are easier for a human reader to review: being asked whether two characters are the same when the only difference expected is size is much easier if you have a reference for the right and wrong size. Only doing this in tests 001 to 004, as for the rest there's not (always) a corresponding small character. * The test that check that nothing happens on already full-size kana only applies the (ineffective) transform to one character in each pair as otherwise, it isn't really testing anything -- Merge pull request #13461 from frivoal/text-3143 [css-text] Test for text-tranform:full-size-kana -- wpt-commits: cf5dba33625ba1c4491054fa4a0ad3a1243f7a43, a546e84c5c9aa5e1481cfbdeef0d70530c811508 wpt-pr: 13461 UltraBlame original commit: 9fabbd4a66fdcfe0ef0b2280fd6cf1dbbbc21676
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1498148
gecko-commit: a00b402fb8e82ca4f1c25923be8095b5dfbcf626
gecko-integration-branch: mozilla-inbound
gecko-reviewers: xidorn