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

Description aaron 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.
Comment 1 aaron 2014-01-07 05:32:03 PST
Created attachment 220516 [details]
Testcase
Comment 2 aaron 2014-01-23 10:51:14 PST
This only seems to apply for absolutely positioned elements.
Comment 3 aaron 2014-01-24 12:01:53 PST
This has been confirmed to work on Chrome Version 32.0.1700.76m. Closing.
Comment 4 Csaba Osztrogonác 2014-01-27 08:38:58 PST
Reopen, because the bug is still valid on WebKit.
Comment 5 Laszlo Vidacs 2014-01-27 08:46:35 PST
Created attachment 222329 [details]
Patch
Comment 6 Dave Hyatt 2014-02-25 13:53:52 PST
Comment on attachment 222329 [details]
Patch

r=me
Comment 7 WebKit Commit Bot 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>
Comment 8 WebKit Commit Bot 2014-02-25 14:25:51 PST
All reviewed patches have been landed.  Closing bug.