[csswg-drafts] [css-ui-4][css-images-4][scroll-animations-1] Unify selector functions/values (#5811)

SebastianZ has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui-4][css-images-4][scroll-animations-1] Unify selector functions/values ==
There are currently several specs defining different ways for referencing (ID) selectors:

* CSS UI 4: [`<id>`](https://drafts.csswg.org/css-ui-4/#nav-dir)
* CSS Images 4: [`element(<id-selector>)`](https://drafts.csswg.org/css-images-4/#element-notation)
* Scroll Animations 1: [`selector(<id-selector>)`](https://drafts.csswg.org/scroll-animations-1/#scroll-timeline-descriptors)

To improve the consistency between them, the syntax for referencing a selector should be merged.

Personally, I prefer the `selector()` function of Scroll Animations 1 because its name clearly outlines that it takes a selector and it is extensible as may allow other selectors then ID selectors in the future.

See also the related discussion in #5166. And depending on the outcome of #1981, CSS Images 4 might be changed to not have a specific selector function anymore.

Sebastian

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5811 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:13:37 UTC