Re: [csswg-drafts] [css-backgrounds-3] Computed values of background-repeat don't follow reality

Because, as I said, "computed value" and "serialization" have nothing directly to do with each other.  The serialization of the value is *not* specified in the propdef table; it's implicitly specified in CSSOM as the shortest equivalent serialization that'll produce the same value.

The computed value is a pair of values. We can operate on that in spec text, asking what the horizontal background-repeat is, versus the vertical background-repeat.  This avoids us having to go thru contortions in spec text to reproduce the effects of parsing, like "do X if the vertical repeat is Y, or if it's unspecified and the horizontal repeat is Y".

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1488#issuecomment-305593545 using your GitHub account

Received on Thursday, 1 June 2017 19:19:36 UTC