Added a clearer title to the examples

This commit is contained in:
Thorleif Jacobsen 2024-03-15 21:24:47 +01:00 committed by GitHub
parent ea184f7277
commit 37a3ded659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,7 +82,7 @@ Learn more in the [assertions guide](./test-assertions.md).
Element is considered visible when it has non-empty bounding box and does not have `visibility:hidden` computed style.
Note that according to this definition:
Here are three examples applying the provided definitions:
* **Not visible:** Elements of zero size.
* **Not visible:** Elements with `display:none`.
* **Visible:** Elements with `opacity:0`.