Description
5.3.1 Compatible Units
When serializing computed values, compatible units (those related by a static multiplicative factor, like the 96:1 factor between px and in, or the the computed font-size factor between em and px) are converted into a single canonical unit. Each group of compatible units defines which among them is the canonical unit that will be used for serialization.
coming from
https://www.w3.org/TR/css-values-4/#compat
Now this 6 sub-tests test page:
http://www.gtalbot.org/BrowserBugsSection/CSS3Values/calc-serialization-specified-values-789.html
(please ignore the pass or fail verdict for the 6 sub-tests)
I created this issue because no browser does what the current version of the spec explains.
In the 1st sub-test, 3 tested browsers will combine the terms 1in + 1pc
into 112px
. Isn't such combination going to confuse or disorient or irritate web authors?
In the 6th sub-test, 3 tested browsers will convert the term 25.4mm
to 96px
. Same question.
In the 2nd sub-test, all 4 tested browsers will not convert the term 25.4q
to 24px
. (MS-Edge 18, Safari 77 Preview and Epiphany 3.31.90 Technological Preview do not support q
unit.)
In the 3rd sub-test, all 4 tested browsers will not convert the term 1.27cm
to 48px
.
MS-Edge 18 just like Safari 77 Preview and Epiphany 3.31.90 Technological Preview do not support q
unit.
Finally, I have read
https://lists.w3.org/Archives/Public/www-style/2016Mar/0331.html
https://lists.w3.org/Archives/Public/www-style/2016Mar/0422.html
and
https://lists.w3.org/Archives/Public/www-style/2016Apr/0093.html