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

Re: [css-pseudo] Need a way to styling the disclosure triangle of the <details> (or <summary>) element

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 24 Feb 2016 15:56:48 -0800
Message-ID: <CAAWBYDBT3vqSrytJdOrgHtJBnP=SBjtH2ovzHw9Ufmf+x0wXHw@mail.gmail.com>
To: Ting-Yu Lin <tlin@mozilla.com>
Cc: www-style list <www-style@w3.org>
On Mon, Feb 22, 2016 at 12:49 AM, Ting-Yu Lin <tlin@mozilla.com> wrote:
> This question was raised in bug 1221416 when implementing <details> and
> <summary> elements in Firefox.
>
> We might need a way to support styling for the disclosure triangle of the
> <details> (or <summary>) element. Currently, webkit supports a non-standard
> pseudo-class summary::-webkit-details-marker as this article said.
>
> Xidorn proposed here that we could add ::marker support for <summary>
> element in pseudo-element spec.
>
> Any ideas?

I'm happy with Xidorn's idea, and it's already supported by the
Counter Styles spec, which has list-style values specifically defined
for this.

~TJ
Received on Wednesday, 24 February 2016 23:57:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:00 UTC