From 795482eb48c0a58b613903bb61e3c53e74979b4f Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Mon, 21 Jun 2021 15:52:51 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20DOMPoint=C2=BBw|x|y|z=20spec=20URLs=20(#1?= =?UTF-8?q?1167)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There aren’t actually any #dom-dompoint-w|x|y|z fragment IDs in the https://drafts.fxtf.org/geometry/ spec. Instead the spec has shared text that the DOMPointReadOnly and DOMPoint IDLs both link to, at, e.g., https://drafts.fxtf.org/geometry/#dom-dompointreadonly-x, which says: > The x attribute, on getting, must return the x coordinate value. For > the DOMPoint interface, setting the x attribute must set the x > coordinate to the new value. That is, the first sentence of that shared text applies to both the DOMPointReadOnly and DOMPoint interfaces, while the second sentence applies only to the DOMPoint interface. --- api/DOMPoint.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/DOMPoint.json b/api/DOMPoint.json index beac19fe5e0610..534cf3fbf321ed 100644 --- a/api/DOMPoint.json +++ b/api/DOMPoint.json @@ -150,7 +150,7 @@ "w": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMPoint/w", - "spec_url": "https://drafts.fxtf.org/geometry/#dom-dompoint-w", + "spec_url": "https://drafts.fxtf.org/geometry/#dom-dompointreadonly-w", "support": { "chrome": { "version_added": "61" @@ -247,7 +247,7 @@ "x": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMPoint/x", - "spec_url": "https://drafts.fxtf.org/geometry/#dom-dompoint-x", + "spec_url": "https://drafts.fxtf.org/geometry/#dom-dompointreadonly-x", "support": { "chrome": { "version_added": "61" @@ -296,7 +296,7 @@ "y": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMPoint/y", - "spec_url": "https://drafts.fxtf.org/geometry/#dom-dompoint-y", + "spec_url": "https://drafts.fxtf.org/geometry/#dom-dompointreadonly-y", "support": { "chrome": { "version_added": "61" @@ -345,7 +345,7 @@ "z": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMPoint/z", - "spec_url": "https://drafts.fxtf.org/geometry/#dom-dompoint-z", + "spec_url": "https://drafts.fxtf.org/geometry/#dom-dompointreadonly-z", "support": { "chrome": { "version_added": "61"