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

Re: [csswg-drafts] [selector-4] Do we need selector for `is` attribute?

From: ExE Boss via GitHub <sysbot+gh@w3.org>
Date: Sat, 17 Nov 2018 23:12:31 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-439654513-1542496350-sysbot+gh@w3.org>
The primary reason why we have class and ID selectors (instead of just using attribute selectors for everything) is that they were defined in **CSS&nbsp;1** alongside type selectors, whereas the universal and attribute selectors were introduced in **CSS&nbsp;2**.

GitHub Notification of comment by ExE-Boss
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3327#issuecomment-439654513 using your GitHub account
Received on Saturday, 17 November 2018 23:12:38 UTC

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