W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

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

From: Patrick H. Lauke via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Dec 2017 09:48:14 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-279309508-1512467293-sysbot+gh@w3.org>
patrickhlauke has just created a new issue for https://github.com/w3c/csswg-drafts:

== Ability to style <details>/<summary> to be open (for print styles) ==
(Not quite sure which spec this would relate to specifically, sorry)

If a page uses `<details>`/`<summary>` expand/collapse blocks, there currently appears to be no way to open these via CSS. This poses problems for print styling: if I wanted to have these blocks appear open when printed, it seems that the only solution is to first run JS over the document and add the `open` attribute on the `<details>`.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2084 using your GitHub account
Received on Tuesday, 5 December 2017 09:48:15 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:44 UTC