Closed Bug 1121214 Opened 9 years ago Closed 9 years ago

Use a different default font-size when ruby-position is inter-character

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: xidorn, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [parity-safari])

Bopomofo generally use 33% font-size when in annotation. And the spec also allows UAs to freely pick font-size for ruby annotations.

WebKit has implemented this with a new CSS keyword -webkit-ruby-text for font-size property. This keyword is computed to 25% when ruby-position is inter-character, and 50% otherwise.

We may want to implement this as well to provide a good default behavior for bopomofo annotations.
Component: Layout → Layout: Text
It has been shown that it is better to use a locale-specific defualt stylesheet than a new keyword in font-size depends on ruby-position. And the spec has been updated in that way.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.