- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 24 Feb 2016 17:25:17 -0800
- To: Xidorn Quan <quanxunzhen@gmail.com>
- Cc: Ting-Yu Lin <tlin@mozilla.com>, www-style list <www-style@w3.org>
On Wed, Feb 24, 2016 at 4:52 PM, Xidorn Quan <quanxunzhen@gmail.com> wrote: > On Thu, Feb 25, 2016 at 7:56 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: >> 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. > > Yes, but the question is, do we want to make <summary> a list-item? I > don't think it makes sense. Using list-style on <summary> looks weird > to me. In the current spec, ::marker is only generated for list-item > (and inline-list-item). If we want to extend the range ::marker is > applied to, we would probably need a new concept for it? The concept is "list-item". It's an unfortunate legacy name, but that happens sometimes. ~TJ
Received on Thursday, 25 February 2016 01:26:05 UTC