[Webkit-unassigned] [Bug 47596] Ruby isn't displayed correctly after switching from display:none to display:inline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 13 19:39:40 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47596





--- Comment #3 from Roland Steiner <rolandsteiner at chromium.org>  2010-10-13 19:39:40 PST ---
It could be argued that the current behavior is correct as the ruby text is displayed inline, rather than as ruby text, just as specified by the JS.

Toggling works if the code is changed to toggle between 'none' and empty string (i.e., not overwriting the browser default.

It doesn't work correctly if toggling between 'none' and 'ruby-text' - this is due to the fact that so far we avoided implementing the ruby-specific display types, because of questions of the state and direction of the ruby spec(s). IIRC the current code explicitly "aborts" ruby rendering if the user tampers with the display type.

If compatibility with IE is a goal, then one short term solution might be to just entirely ignore the display type on <rt> unless it's 'none', but I'm not sure that's a good idea. OTOH, even if we fully implement the ruby display-types, the example would still not work as intended, because it'd then need to specify 'ruby-text' rather than 'inline' (the latter would continue to be displayed as-is).

Any inputs or other suggestions?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list