Closed Bug 1111955 Opened 10 years ago Closed 5 years ago

Underline on vertical Japanese/Korean text should appear on the right

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: birtles, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Attached file Test case (obsolete) —
Underlines in vertical Japanese text appear on the right ("above" the ruby), not the left. In the attached test case, it appears on the left. This is specced non-normatively in CSS Text Decorations 3 by the following UA style rule: :root:lang(ja), [lang|=ja], :root:lang(ko), [lang|=ko] { /* default underline position is 'under right' for Japanese and Korean */ text-underline-position: under right; } http://dev.w3.org/csswg/css-text-decor-3/#default-stylesheet Fixing this may depend on implementing text-underline-position first.
Depends on: 770780
Attached file Corrected testcase
There's a typo in the testcase: "jp" instead of "ja". FTR, we decided in bug 1074735 to default to underline on the left pending support for text-underline-position.
Attachment #8536956 - Attachment is obsolete: true
See bug 1175789 for the interim fix we've taken for Japanese/Korean underlining; but this should eventually be updated to use text-underline-position in the UA stylesheet.
The corrected test case attached is shown underlined on the right on Windows 10 64 bit, on both Firefox 63.0.3 (64-bit) and Pale Moon 28.2.2 (64-bit). So this seems to be a WFM here.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: