[Webkit-unassigned] [Bug 95123] New: tables should default to box-sizing:border-box

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 13:48:06 PDT 2012


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

           Summary: tables should default to box-sizing:border-box
           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: eric at webkit.org, hyatt at apple.com, tony at chromium.org,
                    jchaffraix at webkit.org


Right now we implement this as hacks in RenderTable*. The html spec recently changed to require this http://html5.org/r/7278.

There's a difference in behavior from our current table code, but it brings us in line with gecko/opera. In standards mode a table element that is display:block should still be border-box, but we render it as content-box. Also, we'd correctly return border-box for the computed style of tables instead of content-box and web sites would be able to override it to make their tables be content-box.

http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=1621
http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=1622

In gecko, opera, webkit a div that is display:table currently defaults to content-box.

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