1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

LibWeb: Support Document.hidden and Document.visibilityState

These just act as if the document is always visible for now.
This commit is contained in:
Andreas Kling 2021-09-27 16:02:13 +02:00
parent 484f6a7cfa
commit e26e85a3d2
3 changed files with 18 additions and 0 deletions

View file

@ -139,4 +139,7 @@ interface Document : Node {
attribute EventHandler onwebkittransitionend;
attribute EventHandler onwheel;
readonly boolean hidden;
readonly DOMString visibilityState;
};