Re: [csswg-drafts] Ability to style <details>/<summary> to be open (e.g. for print styles)

> As an aside, could we also get a ::details-marker pseudo element

The regular `::marker` on the `<summary>` element will apply to it.

> But make the ::marker available even when details has no summary?

In that case, it makes more sense to define a pseudoelement for the [auto-generated summary toggle](https://html.spec.whatwg.org/multipage/interactive-elements.html#the-details-element), and allow it to have stacked psuedoelements on it:

```css
details::details-summary::marker,
details summary::marker {
  /* styles for the disclosure marker */
}
```

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2084#issuecomment-410464486 using your GitHub account

Received on Saturday, 4 August 2018 17:21:02 UTC