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

@cdoublev wrote:

> and the extra features of `image()` seem also superflous.

The extra features come "for free" because `image()` also takes images referenced via `url()`. So, in that regard it makes sense to merge `element()` into `url()`.

Though I just realized another little downside of merging it into `url()`. `element()` (or `selector()`, see #5811) might allow different selectors than just ID selectors in the future. Those can't be expressed via `url()`.

Sebastian

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 20 December 2020 23:23:59 UTC