NEW 107482
CSS3 calc: calc in tables differs from Mozilla
https://bugs.webkit.org/show_bug.cgi?id=107482
Summary CSS3 calc: calc in tables differs from Mozilla
Mike Lawther
Reported 2013-01-21 15:57:32 PST
Our calc() implementation produces a different result from Mozilla when used in tables. This bug is to document that a difference exists. Note that this is acceptable per spec (http://www.w3.org/TR/css3-values/), as an implementation is allowed to treat a calc() inside a table as if 'auto' had been specified. Mozilla's test suite can be found here: http://mxr.mozilla.org/mozilla-central/source/layout/reftests/w3c-css/submitted/values3/ The tests that differ are: * calc-width-table-fixed-1.html * calc-width-table-auto-1.html
Attachments
calc-width-table-fixed-1 (747 bytes, text/html)
2013-01-21 15:59 PST, Mike Lawther
no flags
calc-width-table-fixed-1-expected (678 bytes, text/html)
2013-01-21 16:00 PST, Mike Lawther
no flags
calc-width-table-auto-1 (636 bytes, text/html)
2013-01-21 16:00 PST, Mike Lawther
no flags
calc-width-table-auto-1-expected (567 bytes, text/html)
2013-01-21 16:01 PST, Mike Lawther
no flags
Mike Lawther
Comment 1 2013-01-21 15:59:24 PST
Created attachment 183842 [details] calc-width-table-fixed-1
Mike Lawther
Comment 2 2013-01-21 16:00:08 PST
Created attachment 183843 [details] calc-width-table-fixed-1-expected
Mike Lawther
Comment 3 2013-01-21 16:00:40 PST
Created attachment 183844 [details] calc-width-table-auto-1
Mike Lawther
Comment 4 2013-01-21 16:01:02 PST
Created attachment 183845 [details] calc-width-table-auto-1-expected
Mike Lawther
Comment 5 2013-01-21 16:04:17 PST
Note that all the attached files are from Mozilla's test suite, and are attached here for convenience only. All credit for the tests goes to the original author (L. David Baron).
Brent Fulgham
Comment 6 2022-07-13 13:52:56 PDT
The third row of the test still fails on Safari 15.
Radar WebKit Bug Importer
Comment 7 2022-07-13 13:53:07 PDT
Note You need to log in before you can comment on or make changes to this bug.