Closed Bug 1612399 Opened 4 years ago Closed 4 years ago

`text-combine-upright` should not have any effect in sideways-* writing modes

Categories

(Core :: Layout: Text and Fonts, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

text-combine-upright:all should only have an effect in vertical writing modes, per https://drafts.csswg.org/css-writing-modes-3/#text-combine-upright. This should not include the sideways-rl and sideways-lr modes, where the text is actually in horizontal typographic mode, just rotated 90°.

Therefore, in a testcase like

data:text/html,<div lang="ja" style="writing-mode:sideways-rl">ABC<span style="text-combine-upright:all">123</span>XYZ

the span "123" should not be rotated and compressed to appear horizontally.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/21530 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2e574548c824
Don't apply text-combine-upright in sideways-* writing modes. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: