Bug 43845 - incorrect box-sizing in cell of table-layout:fixed table
Summary: incorrect box-sizing in cell of table-layout:fixed table
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 04:56 PDT by eoghan+webkit
Modified: 2022-07-23 11:44 PDT (History)
6 users (show)

See Also:


Attachments
minimal test case (2.12 KB, text/html)
2010-08-11 04:57 PDT, eoghan+webkit
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description eoghan+webkit 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.
Comment 1 eoghan+webkit 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.
Comment 2 eoghan+webkit 2010-08-11 04:57:59 PDT
Created attachment 64098 [details]
minimal test case
Comment 3 Ahmad Saleem 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!