[Webkit-unassigned] [Bug 91724] New: Range object returns reversed rectangles in vertical text if parent element of text node is inline element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 19 00:54:46 PDT 2012


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

           Summary: Range object returns reversed rectangles in vertical
                    text if parent element of text node is inline element
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tnitta at adobe.com


Created an attachment (id=153199)
 --> (https://bugs.webkit.org/attachment.cgi?id=153199&action=review)
Test file to reproduce

Overview: 
  If parent element of text node is inline element and "vertical-rl" is set to -webkit-writing-mode, Range object returns reversed rectangles.

Steps to Reproduce:
  1) Open the attached test file which contains 4 <DIV> elements
     Each of them are: 
     (a) horizontal text in DIV element
     (b) vertical text in DIV element
     (c) horizontal text in SPAN element under DIV element
     (d) vertical text in SPAN element under DIV element
     Gray(#909090) colored DIV elements in 4 DIV element are generated by JavaScript which represents rectangles of Range object created from text node.
  2) See the gray(#909090) colored DIV elements in DIV element of (d)
  3) Open the inspector and select Elements button and then make sure rectangles are returned in reverse order 

Actual Results: 
  The rectangles are returned in reverse order, only when parent element of text node is inline element and "vertical-rl" is set to -webkit-writing-mode.

Expected Results:
  The rectancles should be returned in the correct order even if parent element of text node is inline element and "vertical-rl" is set to -webkit-writing-mode.

Additional Information:
  The rectangles are returned correctly when the text is horizontal or parant element of text node is block element.

-- 
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