0

how to determine if an object (or a piece of it) is really visible to user? I mean not within viewport (that's easy) but really visible (like not fully covered by any other object f.e. div or other, bigger image/element with opacity=1)

If anyone has any idea - please, share with me!

vsync
  • 103,437
  • 51
  • 275
  • 359
  • 1
    Welcome to Stack Overflow! Visit the [help], take the [tour] to see what and [ask]. Please first ***>>>[Search for related topics on SO](https://www.google.com/search?q=javascript+element+visible+covered+site%3Astackoverflow.com)<<]`](https://meta.stackoverflow.com/questions/358992/ive-been-told-to-create-a-runnable-example-with-stack-snippets-how-do-i-do) snippet editor. – mplungjan Oct 28 '21 at 11:09
  • Please search your title before asking – mplungjan Oct 28 '21 at 11:10
  • You will need a screenshot-based comparison tool to verify a pre-verified output and a live one. there is no other way beside comparing pixels – vsync Oct 28 '21 at 11:11

0 Answers0