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

[css-counter-styles] speak-as loop

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Mon, 24 Feb 2014 21:25:03 +1100
Message-ID: <CAMdq69_vw_fhVWVZ_BBmo9WLWszUoBA51NV=ZporMCZQNXV+rg@mail.gmail.com>
To: www-style list <www-style@w3.org>
Hi,

The current draft says:

If a loop is detected when following speak-as references, this value
is treated as auto.

Does it mean, if there is a chain like

A -> B -> C -> D -> C

then speak-as of all four styles should be auto? I propose that only
styles in loop treat the value as 'auto', so that in the example
above, C and D will have 'auto' for speak-as while A and B are still
spoken as C.

By this way, implementation is enabled to simply cache the effective
value after eliminating the loop, instead of tracking whether it
refers to a loop in addition.

Regards,
Xidorn Quan
Received on Monday, 24 February 2014 10:26:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC