Re: [csswg-drafts] [selectors] Is it intentional that :has(:is()) is different from :has()? (#9422)

Live: https://www.software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cdiv%20id%3D%22outer%22%3E%0A%20%20%3Cdiv%20id%3D%22middle%22%3E%0A%20%20%20%20%3Cdiv%20id%3D%22inner%22%3E%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3Cpre%3E%3Cscript%3E%0A%20%20function%20w(el%2C%20selector)%20%7B%0A%20%20%20%20document.writeln(%60%23%24%7Bel.id%7D.matches(%24%7Bselector%7D)%20%3D%20%24%7Bel.matches(selector)%7D%60)%3B%0A%20%20%7D%0A%20%20w(middle%2C%20%22%3Ahas(%23outer%20%23inner)%22)%3B%0A%20%20w(middle%2C%20%22%3Ahas(%3Ais(%23outer%20%23inner))%22)%3B%0A%3C%2Fscript%3E%3C%2Fpre%3E

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


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

Received on Thursday, 28 September 2023 13:06:04 UTC