mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
LibWeb: Change Document.{hidden,visibilityState} spec links to HTML
The page visibility API was moved to HTML here: 9bed042ab3
This commit is contained in:
parent
652042e680
commit
23ef6e1a9e
1 changed files with 2 additions and 2 deletions
|
@ -1089,13 +1089,13 @@ Bindings::LocationObject* Document::location()
|
||||||
return window().wrapper()->location_object();
|
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
|
bool Document::hidden() const
|
||||||
{
|
{
|
||||||
return false;
|
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
|
String Document::visibility_state() const
|
||||||
{
|
{
|
||||||
return hidden() ? "hidden" : "visible";
|
return hidden() ? "hidden" : "visible";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue