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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 28 Sep 2016 14:29:46 -0700
Message-ID: <CAAWBYDAo_pkHGnsR8X-EymL8T6CvDEWk1ry38KFJ4cP58+mrdg@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: Ian Yang <ian.html@gmail.com>, www-style list <www-style@w3.org>
On Wed, Sep 28, 2016 at 11:42 AM, fantasai
<fantasai.lists@inkedblade.net> wrote:
> (Also from a practical point of view, I get the impression from implementers
> that
> it is much easier to implement parsing of a new HTML element than to
> implement a
> new CSS pseudo-class that warps the element tree, so if one of your
> motivations
> for trying to solve the problem in CSS instead of HTML is speed-to-market...
> you're targetting the wrong place. ;)

Yeah, this is the big thing.  New pseudos that wrap "real" elements in
some way are... not popular among implementors. The idea for ::wrap
goes back well over a decade, and the complexity it adds to the
platform versus the benefit you get, when compared to just adding
wrapper elements in your HTML, has meant that implementors have never
bitten at the idea.

Received on Wednesday, 28 September 2016 21:30:35 UTC

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