Bug 43845

Summary: incorrect box-sizing in cell of table-layout:fixed table
Product: WebKit Reporter: eoghan+webkit
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, rniwa, simon.fraser, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
minimal test case none

eoghan+webkit
Reported 2010-08-11 04:56:32 PDT
See attachment for minimal test case. The problem seems to be with the red cell exhibiting box-sizing: border-box; when it should be box-sizing: content-box; as per CSS standard. Both cells with padding should be wider than the cells without padding. I've tested in both Safari 4.0.5 (531.22.7) and Chrome 5.0.375.125.
Attachments
minimal test case (2.12 KB, text/html)
2010-08-11 04:57 PDT, eoghan+webkit
no flags
eoghan+webkit
Comment 1 2010-08-11 04:56:56 PDT
Similar to https://bugs.webkit.org/show_bug.cgi?id=12934 but I believe it's a separate bug.
eoghan+webkit
Comment 2 2010-08-11 04:57:59 PDT
Created attachment 64098 [details] minimal test case
Ahmad Saleem
Comment 3 2022-07-23 07:36:24 PDT
I am unable to reproduce this bug in Safari 15.6 using attached test case and following are results: 1) Red box -> padded is wider than unpadded and it is the case with other browsers (Chrome Canary 106 and Firefox Nightly 104) as well. 2) In other scenario as well - padded is wider than unpadded and match with other browsers. I think it was fixed along the way and can be marked as "RESOLVED CONFIGURATION CHANGED". If I am testing incorrectly, please retest accordingly. Thanks!
Note You need to log in before you can comment on or make changes to this bug.