[Webkit-unassigned] [Bug 68497] New: incorrect height with height:auto and writing-mode:vertical-rl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 20 18:59:23 PDT 2011


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

           Summary: incorrect height with height:auto and
                    writing-mode:vertical-rl
           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,
                    tabatkins at google.com


I'm not 100% sure about this, but as per my reading of http://dev.w3.org/csswg/css3-writing-modes/#orthogonal-flows, we do the wrong thing with the following case:
<div style="height:300px; -webkit-writing-mode: horizontal-tb">
    <div style="height: auto; -webkit-writing-mode: vertical-rl; border: 1px solid">asdf</div>
</div>

The physical height of the inner div should be shrink-wrapped to it's content, instead it's 300px.

http://plexode.com/eval3/#ht=%3Cdiv%20style%3D%22height%3A300px%3B%20-webkit-writing-mode%3A%20horizontal-tb%22%3E%0A%20%20%20%20%3Cdiv%20style%3D%22height%3A%20auto%3B%20-webkit-writing-mode%3A%20vertical-rl%3B%20border%3A%201px%20solid%22%3Easdf%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A&ohh=1&ohj=1&jt=&ojh=1&ojj=1&ms=100&oth=0&otj=0&cex=1

Am I misreading the spec? Is the spec stupid?

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