W3C home > Mailing lists > Public > www-style@w3.org > February 2012

[css3-background] computed value of 'background-repeat'

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 21 Feb 2012 14:53:47 -0800
To: www-style@w3.org
Message-ID: <20120221225347.GA2165@pickering.dbaron.org>
http://dev.w3.org/csswg/css3-background/#the-background-repeat lists
the Computed Value of background-repeat as "as specified".

Since the Computed Value line describes the information that the
implementation must retain (or not) in the computed value (which is
then inherited), this seems to imply that implementations must
retain the distinction between "repeat" and "repeat repeat" while
inheriting.  This seems wrong; I don't think that distinction should
be retained in the conceptual computed value.

(However, when serializing, since implementations should prefer
serializing a computed value to its longer-established form [1],
both should get serialized as "repeat".)

At least, based on my understanding of what the "Computed Value"
line means, I think this should change.  But I'm not sure how well
my understanding is reflected in the relevant specifications.


[1] In my opinion, this rule is more important than serializing to
    the shortest form.  In this case, both lead to the same result.

𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Tuesday, 21 February 2012 22:54:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:56 UTC