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
Created attachment 183842 [details] calc-width-table-fixed-1
Created attachment 183843 [details] calc-width-table-fixed-1-expected
Created attachment 183844 [details] calc-width-table-auto-1
Created attachment 183845 [details] calc-width-table-auto-1-expected
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).
The third row of the test still fails on Safari 15.
<rdar://problem/96971627>