[Webkit-unassigned] [Bug 25406] New: -webkit-box-orient:horizontal doesn't work on <button> tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 25 23:09:12 PDT 2009


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

           Summary: -webkit-box-orient:horizontal doesn't work on <button>
                    tag
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aa at chromium.org


<button> tag seems to always use -webkit-box-orient:vertical, no matter what
the style rule is.

With this code:

<style type="text/css">
#a {
  display:-webkit-box;
  -webkit-box-orient:horizontal;
}
span {
  display:-webkit-box;
}
</style>
<button id="a"><span>hello</span><span>world</span></button>


In Safari 3.1 on PC, the two spans are stacked vertically, but they should be
aligned horizontally. Changing the <button> tag to a <div> and updating the CSS
fixes the problem.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list