Bug 75283
Summary: | Nested ruby rendering "collapses" when the line-height CSS property exceeds a certain value | ||
---|---|---|---|
Product: | WebKit | Reporter: | waynerj |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Major | CC: | ahmad.saleem792, dstockwell, waynerj, zalan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac (Intel) | ||
OS: | OS X 10.6 |
waynerj
Overview:
Nested ruby rendering "collapses" (the top line gets rendered where the next line below it is) when the line-height CSS property exceeds a certain value.
Steps to Reproduce:
Go to http://www.chinesetools.net/ruby/Mandarin-Expressions_line-height_bug.html.
Note the difference between the nested ruby elements in the "b...(line-height: 3.2em)" paragraph and the ones in the "bu...(line-height: 3.3em)" paragraph.
Actual Results:
When the line-height is set to 3.3em or higher instead of 3.2em, the top line of a nested ruby element gets rendered in the same location as the line that is supposed to be below it, as if the 3rd floor of a building collapsed down into the 2nd floor.
Expected Results:
The nested ruby elements should maintain their integrity as line-height increases.
Build & Platform:
Version 5.1.2 (6534.52.7, r103700) on Intel Mac OS X 10.6.8
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
waynerj
On WebKit r103743 on Windows Vista, the "collapsing" occurs at line-height: 3.2em, but not at line-height: 3.1em. Evidently the threshold is slightly different on different platforms.
Ahmad Saleem
I tried to find wayback archive link for the test case but it seems that it redirects to unknown site.
Due to lack of tests and recent progressions in CSS-Ruby, I think we should mark this as 'RESOLVED CONFIGURATION CHANGED', unless if it is still applicable and we have test case reflecting that it is still an issue.
@Alan - any thoughts?
zalan
I wish we could close it as "insufficient information".