- From: L. David Baron <dbaron@dbaron.org>
- Date: Wed, 7 May 2014 16:08:39 -0700
- To: www-style@w3.org
- Message-ID: <20140507230839.GA2549@crum.dbaron.org>
http://dev.w3.org/csswg/css-counter-styles/#counter-style-speak-as
says, when describing the 'auto' value:
# If the system is override, this value has the same effect as the
# overridden styleβs speak-as.
This has an unusual interaction with the definition of the override
system, which says in
http://dev.w3.org/csswg/css-counter-styles/#valuedef-override that:
# If a counter style uses the override system, any unspecified
# descriptors must be taken from the overridden counter style
# specified, rather than taking their initial values.
It means that when the override system is used, speak-as: auto is
equivalent to having an omitted speak-as, and is *not* equivalent to
the overridden system having speak-as: auto. Both of these seem
wrong to me.
Instead, I would propose that the 'auto' value say:
# If the system is override, this value has the same effect that
# 'auto' would have for the overridden counter style.
which seems more consistent with how the override system otherwise
works.
I think this proposal also slightly simplifies the loop detection
needed for speak-as (since it means that an explicit 'auto' value
can't loop into a further chain of 'speak-as' links).
-David
--
π L. David Baron http://dbaron.org/ π
π’ Mozilla https://www.mozilla.org/ π
Before I built a wall I'd ask to know
What I was walling in or walling out,
And to whom I was like to give offense.
- Robert Frost, Mending Wall (1914)
Received on Wednesday, 7 May 2014 23:09:03 UTC