Re: [css-counter-styles-3] Writing mode based glyphs for disclosure-open/close

Le 27/03/2013 03:43, Tab Atkins Jr. a écrit :
> On Tue, Mar 26, 2013 at 11:35 AM, Simon Sapin <> wrote:
>>  From §5.3:
>>> For the ‘disclosure-open’ and ‘disclosure-closed’ counter styles, the
>>> marker must be an image or character suitable for indicating the open
>>> and closed states of a disclosure widget, such as HTML's <details>
>>> element. If the image is directional, it must respond to the writing
>>> mode of the element [CSS3-WRITING-MODES], similar to the
>>> bidi-sensitive images feature of the Images 4 module. For example,
>>> the ‘disclosure-closed’ style might use the characters U+25B8 BLACK
>>> SMALL TRIANGLE (◂), while the ‘disclosure-open’ style might use the
>> So with Images 4, it is possible to write a @counter-style rule with image
>> symbols that does the right thing based on direction/writing-mode.
>> Is it possible to do so with characters like U+25B8 ▸ and U+25C2 ◂ instead
>> of images? (Using text in a SVG image doesn’t count.)
> Aw, you're no fun.
>> It’s a bit unfortunate to suggest units there characters if it’s not
>> possible to meet the bidi-sensitive requirement that way.
> True, but it let me illustrate the concept very easily without
> generating an image.
> (Actually, I think it would be great to have the ability to generate a
> text image.  Maybe something for Images 4.)

Since disclosure-closed (bidi-sensitive) can not be expressed with a 
counter style rule, I suggest moving both of them into the Complex 
Predefined Counter Styles section. This clarifies that implementations 
will probably need custom code for them.

Simon Sapin

Received on Friday, 7 June 2013 02:27:07 UTC