Re: [csswg-drafts] [cssom-view] Proposal: add Element.isVisible[toDocument] to detect if element is visible in the document. (#6850)

I think inert and aria-hidden should also be optional attributes.

```
my_element.isVisible({trackInert: true} -> {hasBox: true/false, isSkipped: true/false, isInert: true/false}
my_element.isVisible({trackAriaHidden: true} -> {hasBox: true/false, isSkipped: true/false, isAriaHidden: true/false}
```

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


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

Received on Tuesday, 1 February 2022 22:23:08 UTC