[Webkit-unassigned] [Bug 89819] New: Unexpected element sizes when mixing inline-table with box-sizing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 23 15:37:24 PDT 2012


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

           Summary: Unexpected element sizes when mixing inline-table with
                    box-sizing
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: j4_james at hotmail.com


Created an attachment (id=149183)
 --> (https://bugs.webkit.org/attachment.cgi?id=149183&action=review)
test case

Steps to reproduce:
1. Create a document with four paragraph elements
2. Set the width and height of each of them to 100px.
3. Add a 5px border to each of them.
4. Set the box-sizing on the first two to border-box and the second two to content-box.
5. Set the display style alternately to inline-table and border-box, so you have a mix of every combination of box-sizing and display style.

I would have expected the two paragraphs with border-box box-sizing to have a size of 100x100 and the two with context-box box-sizing to have a size of 110x110. This is the behaviour I see on Firefox (13.0.1).

However on Safari 5.1.7 (webkit version 534.57.2) the inline-table paragraph with content-box box-sizing has a size of 100x100 (as if inline tables are always assumed to use border-box box-sizing).

On Chrome 19.0.1084.56 (webkit version 536.5) the inline-table paragraph with border-box box-sizing has a size of 110x110 (as if inline tables are always assumed to use content-box box-sizing).

Webkit nightly (537.1+) behaves the same as Chrome.

Neither of the two webkit implementations seem correct to me. Is this a half fixed, half regressed bug? Or is this particular combination of styles open to interpretation and thus all implementations are correct?

I don't believe this to be platform or OS specific (I've seen this on Windows, OSX and iOS).

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