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

[css3-selectors]: Proposal: Adop the ::wrap pseudo element

From: Ian Yang <ian.html@gmail.com>
Date: Wed, 28 Sep 2016 22:29:04 +0800
Message-ID: <CAFhBhuNC5a0vPz_tBBATP1m07wNFaSCVPPPtyre+L2dRCmpD+Q@mail.gmail.com>
To: www-style@w3.org
Hi everyone,

This letter to genuinely suggest that the ::wrap pseudo element be formally
adopted. Please find its information in the following url address.

https://wiki.csswg.org/ideas/pseudo-elements#complex-wrapping-of-selector-range

There are too many use cases of description list (<dl>) nowadays. However,
it has long been a headache of mine that there is no wrapper element for
wrapping <dt> and <dd> pairs. Therefore I have had no choice but to resort
to JavaScript to insert <li role="presentation"></li> into <dl>.

Please. Could we have the aforementioned ::wrap pseudo element be formally
adopted? With ::wrap pseudo element, web developers no longer have to
resort to JavaScript see the unwanted FOUC (Flash of Unstyled Content)
appears. And users with JavaScript disabled can also see the intended style
of the content. Personally, I really see no reason why this pseudo element
should not be adopted today.

Please feel free to express your opinions.

Sincerely,
Ian Yang | Front-end Web Developer
Received on Wednesday, 28 September 2016 14:29:34 UTC

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