[csswg-drafts] [css-backgrounds-3] Computed value of background-size includes missing autos

csnardi has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds-3] Computed value of background-size includes missing autos ==
https://drafts.csswg.org/css-backgrounds-3/#the-background-size says the computed value of `background-size` is:

> as specified, but with lengths made absolute and omitted `auto` keywords filled in

https://wpt.fyi/css/css-backgrounds/background-size-001.html shows that only Firefox outputs the computed value with missing `auto`s. It seems this was added in https://github.com/w3c/csswg-drafts/commit/bfd84cfbfe39e8ace84e003080f1753c7674f8e8 by @fantasai, but I don't see any reasoning there. Perhaps this should be changed to remove the portion about omitted `auto` keywords, as it would also conform to the shortest serialization principle outlaid in #1564.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2574 using your GitHub account

Received on Sunday, 15 April 2018 03:29:52 UTC