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

Re: [csswg-drafts] [css-images] [css-gcpm] Overloaded definitions of element() (#1981)

From: Guillaume via GitHub <sysbot+gh@w3.org>
Date: Mon, 21 Dec 2020 06:25:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-748787834-1608531956-sysbot+gh@w3.org>
Thanks, I hadn't noticed that `image()` can take a `url()` so I hadn't think of it as a "higher order selector".

I'm not sure that selecting an element via other types of selectors would be an upside. An image value referencing an element will always resolves to a single (~= unique, like an ID) target, while other selectors are more often used to select multiple targets.

GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1981#issuecomment-748787834 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 21 December 2020 06:25:58 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:24 UTC