Re: [csswg-drafts] [css-ui] select:hover and select:active styles (#11185)

> I'm also confused because we already have to run style/layout on descendants, since these pseudo classes are [already](https://drafts.csswg.org/selectors/#hover-pseudo:~:text=An%20element%20also%20matches%20%3Ahover%20if%20one%20of%20its%20descendants%20in%20the%20flat%20tree%20(including%20non%2Delement%20nodes%2C%20such%20as%20text%20nodes)%20matches%20the%20above%20conditions.) defined to match "if one of its descendants in the flat tree matches".

Can the difference actually be tested? (Between flat tree descendants and shadow-including descendants.)

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


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

Received on Thursday, 23 January 2025 08:08:00 UTC