W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2018

Re: [csswg-drafts] Proposal: Add wrapper pseudo element

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Jan 2018 22:00:47 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-358795926-1516312846-sysbot+gh@w3.org>
Yeah, pseudo-elements don't change the DOM structure; Selectors only looks at the DOM structure for the purpose of matching.  `li + li` matches exactly as it would without the wrapper.

I'll note that the use-case of "grouping dt/dd" has now been solved - HTML just allows `div` inside of `dl` now for this purpose.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/588#issuecomment-358795926 using your GitHub account
Received on Thursday, 18 January 2018 22:00:51 UTC

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