Bug 126576

Summary: display:table with padding and/or borders in border-box calculates height incorrectly
Product: WebKit Reporter: aaron
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Critical CC: andersca, commit-queue, dbates, esprehn+autocc, glenn, hyatt, jchaffraix, kling, kondapallykalyan, lvidacs.u-szeged, ossy, rniwa, thorton
Priority: P1 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
URL: http://jsfiddle.net/qpMQC/
Attachments:
Description Flags
Testcase
none
Patch none

aaron
Reported 2014-01-07 05:31:34 PST
Applying display:table on elements in box-sizing:border-box mode reduces the total height of the element when padding or a border is added.
Attachments
Testcase (483 bytes, text/html)
2014-01-07 05:32 PST, aaron
no flags
Patch (14.01 KB, patch)
2014-01-27 08:46 PST, Laszlo Vidacs
no flags
aaron
Comment 1 2014-01-07 05:32:03 PST
Created attachment 220516 [details] Testcase
aaron
Comment 2 2014-01-23 10:51:14 PST
This only seems to apply for absolutely positioned elements.
aaron
Comment 3 2014-01-24 12:01:53 PST
This has been confirmed to work on Chrome Version 32.0.1700.76m. Closing.
Csaba Osztrogonác
Comment 4 2014-01-27 08:38:58 PST
Reopen, because the bug is still valid on WebKit.
Laszlo Vidacs
Comment 5 2014-01-27 08:46:35 PST
Dave Hyatt
Comment 6 2014-02-25 13:53:52 PST
Comment on attachment 222329 [details] Patch r=me
WebKit Commit Bot
Comment 7 2014-02-25 14:25:47 PST
Comment on attachment 222329 [details] Patch Clearing flags on attachment: 222329 Committed r164674: <http://trac.webkit.org/changeset/164674>
WebKit Commit Bot
Comment 8 2014-02-25 14:25:51 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.