diff options
author | Luke Wilde <lukew@serenityos.org> | 2021-11-03 16:32:24 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-03 17:48:05 +0100 |
commit | 23ef6e1a9eeb03d74dbc4c30cedd522f05c39356 (patch) | |
tree | f4dc90420827309b1cf8b117867a55380e014962 /Userland/Libraries/LibWeb/DOM | |
parent | 652042e680bffb9c466187ce295c2a6bb4d43a0b (diff) | |
download | serenity-23ef6e1a9eeb03d74dbc4c30cedd522f05c39356.zip |
LibWeb: Change Document.{hidden,visibilityState} spec links to HTML
The page visibility API was moved to HTML here: https://github.com/whatwg/html/commit/9bed042ab3f4db4449363c7b893c2838f5d8a539
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Document.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Document.cpp b/Userland/Libraries/LibWeb/DOM/Document.cpp index d218e61ece..60149a939d 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.cpp +++ b/Userland/Libraries/LibWeb/DOM/Document.cpp @@ -1089,13 +1089,13 @@ Bindings::LocationObject* Document::location() return window().wrapper()->location_object(); } -// https://w3c.github.io/page-visibility/#hidden-attribute +// https://html.spec.whatwg.org/multipage/interaction.html#dom-document-hidden bool Document::hidden() const { return false; } -// https://w3c.github.io/page-visibility/#visibilitystate-attribute +// https://html.spec.whatwg.org/multipage/interaction.html#dom-document-visibilitystate String Document::visibility_state() const { return hidden() ? "hidden" : "visible"; |