[csswg-drafts] [css-values-5] What does sibling-index()/sibling-count() return if there's no originating element? (#11232)

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

== [css-values-5] What does sibling-index()/sibling-count() return if there's no originating element? ==
sibling-index() (and its sibling, sibling-count()) does not seem to have defined behavior if there's no originating element, e.g. in a media query. What should the behavior here be? (Returning 0 would be fine by us, if you just want to pick something arbitrary.)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11232 using your GitHub account


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

Received on Monday, 18 November 2024 14:30:20 UTC