text-transform: full-width only applies to the last character of an expanded case mapping (ß → SS)
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(1 external file)
When text-transform: full-width is combined with a case transform that expands one character into several (for example ß → SS for uppercase or ß → Ss for capitalize), only the last character of the expansion is converted to its full-width form.
Testcase:
<div style="text-transform: full-width uppercase">ß</div>
Expected (per CSS Text 3, both transforms apply to the whole result): U+FF33 U+FF33
Actual: U+0053 U+FF33
This was noticed while diagnosing bug 2093691: the mixed S + s output from full-width capitalize on ß is what led to a font change inside a merge group there.
| Assignee | ||
Comment 1•4 days ago
|
||
Includes reftests.
Updated•4 days ago
|
Comment 3•4 days ago
|
||
| bugherder | ||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/65385 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Description
•