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

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

From: J. S. Choi via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 Dec 2017 04:37:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-351280093-1513139854-sysbot+gh@w3.org>
I had been planning to propose pseudo-elements for anonymous text boxes, first to the WICG then eventually here. For instance, anonymous block boxes would be generally useful in other cases as an analogue to [HTML’s paragraphs](//html.spec.whatwg.org/dev/dom.html#paragraph), e.g., anonymous-block “paragraphs” such as those in `<h1>Example of paragraphs</h1> This is the <em>first</em> paragraph in this example. <p>This is the second.</p> <ul> <li>Third.</li> <li> <p>Fourth.</p> <p>Fifth.</p> </li> </ul>`. Such pseudo-elements, however, might have broad ramifications for rendering performance, so I had planned on courting authors in the WICG before the CSSWG to bolster my case. This is the first mention of this idea I have yet seen elsewhere on the web, so it’s good to have another use case.

Having said all that, it is precisely the broadness in scope of such an anonymous-box selector that may make a `::details-content` pseudo-element more feasible in the short term. I still do plan to make a formal proposal for anonymous-box selectors in general, unless someone else beats me to it.

GitHub Notification of comment by js-choi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2084#issuecomment-351280093 using your GitHub account
Received on Wednesday, 13 December 2017 04:37:47 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC