Closed
Bug 1774851
Opened 4 years ago
Closed 4 years ago
CSS hyphenate-character property does not handle multi-character strings correctly in RTL context
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
RESOLVED
FIXED
104 Branch
| Tracking | Status | |
|---|---|---|
| firefox104 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(2 files)
When hyphenate-character is given a multi-char string, it always renders the string as LTR. Noticed when looking at bug 1774822 and trying to use
hyphenate-character: '\2005\0640';
for a kashida character preceded by a space. In Uighur (RTL) content, this ought to render a kashida with space to the right of it, but in fact the space appears to the left, and the kashida butts up against the preceding text (on its right).
| Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•4 years ago
|
||
Depends on D150318
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4f2f44814d66
Apply the proper directionality when creating the hyphenate-character textrun. r=emilio
https://hg.mozilla.org/integration/autoland/rev/5a57a176ffc2
Add WPT testcase using hyphenate-character to specify the rendering of a Uighur-style hyphen. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/34627 for changes under testing/web-platform/tests
Comment 5•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4f2f44814d66
https://hg.mozilla.org/mozilla-central/rev/5a57a176ffc2
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox104:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•