Bug 91810

Summary: Range object returns incorrect rectangles when content has ruby element in vertical text
Product: WebKit Reporter: Tatsuya Nitta <tnitta>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: mitz, rolandsteiner
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test file to reproduce
none
Result screen shot none

Tatsuya Nitta
Reported 2012-07-19 21:08:24 PDT
Created attachment 153392 [details] Test file to reproduce Overview: If element is dynamically created by JavaScript and writing mode of text is vertical-rl and text contains Ruby element, rectangles returned from range.getClientRects() are incorrect. Steps to Reproduce: 1) Open the attached test file 2) Observe DIV element in right side which contains vertical text Actual Results: The position of gray colored DIV elements which represent rectangles returned from Range object is incorrect. Expected Results: Rectangles with correct position should be returned from Range object
Attachments
Test file to reproduce (2.87 KB, text/html)
2012-07-19 21:08 PDT, Tatsuya Nitta
no flags
Result screen shot (86.83 KB, image/png)
2012-07-19 21:09 PDT, Tatsuya Nitta
no flags
Tatsuya Nitta
Comment 1 2012-07-19 21:09:07 PDT
Created attachment 153393 [details] Result screen shot
Tatsuya Nitta
Comment 2 2012-10-12 00:56:29 PDT
It's been a while since I logged this bug. It seems there is no update. Can someone look at this issue?
mitz
Comment 3 2012-10-12 01:20:53 PDT
I can’t reproduce this in TOT on OS X Mountain Lion 10.8.2.
Note You need to log in before you can comment on or make changes to this bug.