[Webkit-unassigned] [Bug 68304] New: offsetTop/offsetLeft return the wrong values for horizontal-bt/vertical-rl writing modes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 16 19:42:13 PDT 2011


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

           Summary: offsetTop/offsetLeft return the wrong values for
                    horizontal-bt/vertical-rl writing modes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ojan at chromium.org
                CC: hyatt at apple.com, tony at chromium.org


http://tinyurl.com/3h8ejbj

<div style="position:relative">
<div style="-webkit-writing-mode:vertical-rl;background-color:green;width:400px;height:100px;">
    <div id=foo style="background-color:yellow">foo</div>
</div>
</div>

<div style="position:relative">
<div style="-webkit-writing-mode:horizontal-bt;background-color:red;width:400px;height:100px;">
    <div id=bar style="background-color:orange">bar</div>
</div>
</div>

I believe foo should have offsetLeft of something like 380, instead of 0 and bar should have offsetTop of something like 80 instead of 0.

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