Whether to: React positively or negatively to the display: None. This means if you have an element and nothing is displayed on it, will :has still see that there is one? I think it will, because there's an element there. But I might need to compare it with:
:not([style*="display: none"])
Just confirm behavior
Because of "display:none", we set the style inline in any code where the element will be hidden.
display
The attribute does not change the behavior of the selector because it does not change the DOM tree, so it will still workLike if you have