Closed Bug 1093165 Opened 8 years ago Closed 8 years ago

incorporate the text-orientation value into mozilla::WritingMode

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: jfkthame, Assigned: jfkthame)

References

Details

Attachments

(1 file)

When constructing a WritingMode, we need to take account of the text-orientation property as well as writing-mode. This is needed to allow us to determine the correct dominant baseline[1], and to map line-relative directions to physical directions properly[2].

This will help with upcoming patches to fix various baseline and vertical alignment issues.

[1] http://www.w3.org/TR/css3-writing-modes/#text-baselines
[2] http://www.w3.org/TR/css3-writing-modes/#line-directions
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Attachment #8516045 - Flags: review?(smontagu) → review+
https://hg.mozilla.org/mozilla-central/rev/bfd8c44bfe86
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.