W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2013

Re: [whatwg] Styling <details>

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 02 Jan 2013 08:25:32 -0800
Message-ID: <50E45F7C.3010708@inkedblade.net>
To: whatwg@lists.whatwg.org
On 04/08/2011 05:05 AM, Lachlan Hunt wrote:
>
> One option is to define that the list-style-type 'disclosure-*' as magic values that mean to render a UA specific/platform
> dependent widget.  But that differs from all other list-style-type values and doesn't seem quite right.

The CSSWG discussed and agreed to add these to the draft back in 2011.
Tab still hasn't edited it in, apparently. *pokes Tab*
   http://lists.w3.org/Archives/Public/www-style/2011Apr/0646.html

> CSS3-UI, however, uses the 'appearance' property to render native looking controls.
>
> In theory, native widgets could be achieved instead by using a new 'appearance' value like:
>
>    summary::marker { appearance: -x-disclosure; }
>
> (Assuming the 'appearance' value handles the open/close states automatically, and any animations that would be expected of
> native controls)

The only value of 'appearance' that actually works IIRC is 'none'.
I'm not sure I'd recommend it as a good way forward for anything
since it's not clear how other values are supposed to work.

~fantasai
Received on Wednesday, 2 January 2013 16:25:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:12 GMT