Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking :scope issue related to relative selector lists (:has()) #247

Closed
facelessuser opened this issue May 21, 2022 · 1 comment
Closed
Labels
P: maybe Pending approval of low priority request. skip-triage Tells bot to not tag a new issue with 'triage'. T: enhancement Enhancement.

Comments

@facelessuser
Copy link
Owner

So, when we implemented :has() we must have glossed over the requirement that :scope within :has() was supposed to refer to the element attached to the psuedo-class, and not the same element that :scope outside of :has() refers to.

With that said, it sounds like most implementers generally want to throw out this requirement much the same way that we did on accident 😅.

It sounds like, if things move forward the way that implementers are requesting, there may not be any need for us to change anything. This would be ideal for us. It is possible though, that some other requirement may fill the void that we do not currently support.

There is no actionable item yet as I do not plan on changing how :scope works in :has(), especially when browser implementors are currently contesting the requirement, but I'd like to track this issue in case things are settled in a way that it requires us to actually modify things.

w3c/csswg-drafts#6399

@facelessuser facelessuser added P: maybe Pending approval of low priority request. skip-triage Tells bot to not tag a new issue with 'triage'. T: enhancement Enhancement. labels May 21, 2022
@facelessuser
Copy link
Owner Author

Turns out that special handling of :scope within :has() has been ruled as being removed. So there are no changes for us at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: maybe Pending approval of low priority request. skip-triage Tells bot to not tag a new issue with 'triage'. T: enhancement Enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant