Skip to content

Commit

Permalink
Fix DOMPoint»w|x|y|z spec URLs (mdn#11167)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sideshowbarker authored Jun 21, 2021
1 parent 56c6559 commit 795482e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/DOMPoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 795482e

Please sign in to comment.