From 08524697ff4d0919beb2042765737dc5506bef26 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Tue, 9 Nov 2021 05:57:24 -0800 Subject: [PATCH] Update spec URLs for Document API This PR updates the spec URLs for the Document API. The Page Visibility spec has been merged into the WHATWG HTML spec, see https://github-redirect.dependabot.com/w3c/browser-specs/pull/425 for more details. --- api/Document.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/api/Document.json b/api/Document.json index 833f28a12c8376..2b8ad15954d218 100644 --- a/api/Document.json +++ b/api/Document.json @@ -8,7 +8,6 @@ "https://html.spec.whatwg.org/multipage/dom.html#the-document-object", "https://drafts.csswg.org/cssom-view/#extensions-to-the-document-interface", "https://w3c.github.io/pointerlock/#extensions-to-the-document-interface", - "https://w3c.github.io/page-visibility/#extensions-to-the-document-interface", "https://w3c.github.io/selection-api/#extensions-to-document-interface" ], "support": { @@ -6194,7 +6193,7 @@ "hidden": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/hidden", - "spec_url": "https://w3c.github.io/page-visibility/#dom-document-hidden", + "spec_url": "https://html.spec.whatwg.org/multipage/interaction.html#dom-document-hidden", "support": { "chrome": [ { @@ -7839,7 +7838,7 @@ "onvisibilitychange": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/onvisibilitychange", - "spec_url": "https://w3c.github.io/page-visibility/#dom-document-onvisibilitychange", + "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onvisibilitychange", "support": { "chrome": { "version_added": "62", @@ -11117,7 +11116,7 @@ "visibilitychange_event": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/visibilitychange_event", - "spec_url": "https://w3c.github.io/page-visibility/#reacting-to-visibilitychange", + "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onvisibilitychange", "description": "visibilitychange event", "support": { "chrome": [ @@ -11231,7 +11230,7 @@ "visibilityState": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/visibilityState", - "spec_url": "https://w3c.github.io/page-visibility/#visibilitystate-attribute", + "spec_url": "https://html.spec.whatwg.org/multipage/interaction.html#dom-document-visibilitystate", "support": { "chrome": [ {