-
Notifications
You must be signed in to change notification settings - Fork 715
[selectors] sibling and ::after selector in one #2094
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
Comments
Your selector is valid but doesn't match anything. Here is a scenario where it would:
Then it would set |
You can try In the static profile there is |
Thank you for clearation but the clearation probable shall be put in documents. The The :has is not standard. The :focus-within is good and useable candidate selector in my opinion but... has only WD status. The code is only example code. Not real use. I only want to point what should (IMO) be cleared in CSS documentation. |
IMO, the equivalence of In CSS Selectors Level 3 Recommendation:
In CSS Selectors Level 4 Editor's Draft:
The |
Yes, pseudo-elements "imply a
Precisely because it's in the static profile, |
And since it would be not usable in stylesheets, and JS devs would use more interoperable solutions (though probably 2-liners insteas of 1-liner) to check if a selected element has a certain element inside, browser vendors would have little interest in adding extra complexity to their CSS parsing engines for this very specific case only. What web devs constantly ask for (and what can become a good competitive point for the browser vendors) is the ability to style things depending on the contents, even with more limitations than |
HTML:
Styles:
Is it legal due to current specification?
Shall be visible the ::after pseudoelement after focusing the input?
The current behaviour of Cr, IE and FF is correct?
The text was updated successfully, but these errors were encountered: