From d7a30de2432df5c0405fe98d231a2ba8aac48dad Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Fri, 7 May 2021 18:26:23 +0900 Subject: [PATCH] Add Text* object spec URLs (#10332) --- api/Text.json | 5 +++++ api/TextDecoder.json | 4 ++++ api/TextDecoderStream.json | 7 +++++++ api/TextEncoder.json | 5 +++++ api/TextEncoderStream.json | 5 +++++ api/TextMetrics.json | 13 +++++++++++++ api/TextTrack.json | 3 +++ api/TextTrackCue.json | 1 + api/TextTrackList.json | 6 ++++++ 9 files changed, 49 insertions(+) diff --git a/api/Text.json b/api/Text.json index b9915d1368fe9a..a21403cdf79b84 100644 --- a/api/Text.json +++ b/api/Text.json @@ -3,6 +3,7 @@ "Text": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Text", + "spec_url": "https://dom.spec.whatwg.org/#interface-text", "support": { "chrome": { "version_added": "1" @@ -47,6 +48,7 @@ "Text": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Text/Text", + "spec_url": "https://dom.spec.whatwg.org/#ref-for-dom-text-text①", "description": "Text() constructor", "support": { "chrome": { @@ -96,6 +98,7 @@ "assignedSlot": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Text/assignedSlot", + "spec_url": "https://dom.spec.whatwg.org/#dom-slotable-assignedslot", "support": { "chrome": { "version_added": "53" @@ -253,6 +256,7 @@ "splitText": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Text/splitText", + "spec_url": "https://dom.spec.whatwg.org/#ref-for-dom-text-splittext①", "support": { "chrome": { "version_added": "1", @@ -309,6 +313,7 @@ "wholeText": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Text/wholeText", + "spec_url": "https://dom.spec.whatwg.org/#ref-for-dom-text-wholetext①", "support": { "chrome": { "version_added": "1" diff --git a/api/TextDecoder.json b/api/TextDecoder.json index 827eda96a2724e..2da59f463dab2b 100644 --- a/api/TextDecoder.json +++ b/api/TextDecoder.json @@ -3,6 +3,7 @@ "TextDecoder": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoder", + "spec_url": "https://encoding.spec.whatwg.org/#interface-textdecoder", "support": { "chrome": { "version_added": "38" @@ -74,6 +75,7 @@ "TextDecoder": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoder/TextDecoder", + "spec_url": "https://encoding.spec.whatwg.org/#ref-for-dom-textdecoder①", "description": "TextDecoder() constructor", "support": { "chrome": { @@ -140,6 +142,7 @@ "decode": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoder/decode", + "spec_url": "https://encoding.spec.whatwg.org/#ref-for-dom-textdecoder-decode①", "support": { "chrome": { "version_added": "38" @@ -211,6 +214,7 @@ "encoding": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoder/encoding", + "spec_url": "https://encoding.spec.whatwg.org/#ref-for-dom-textdecoder-encoding①", "support": { "chrome": { "version_added": "38" diff --git a/api/TextDecoderStream.json b/api/TextDecoderStream.json index 72ad52e8e7fa63..bbdea7ad03bd80 100644 --- a/api/TextDecoderStream.json +++ b/api/TextDecoderStream.json @@ -3,6 +3,7 @@ "TextDecoderStream": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoderStream", + "spec_url": "https://encoding.spec.whatwg.org/#interface-textdecoderstream", "support": { "chrome": { "version_added": "71" @@ -50,6 +51,7 @@ "TextDecoderStream": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoderStream/TextDecoderStream", + "spec_url": "https://encoding.spec.whatwg.org/#ref-for-dom-textdecoderstream①", "description": "TextDecoderStream() constructor", "support": { "chrome": { @@ -99,6 +101,7 @@ "encoding": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoderStream/encoding", + "spec_url": "https://encoding.spec.whatwg.org/#dom-textdecoder-encoding", "support": { "chrome": { "version_added": "71" @@ -147,6 +150,7 @@ "fatal": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoderStream/fatal", + "spec_url": "https://encoding.spec.whatwg.org/#dom-textdecoder-fatal", "support": { "chrome": { "version_added": "71" @@ -195,6 +199,7 @@ "ignoreBOM": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoderStream/ignoreBOM", + "spec_url": "https://encoding.spec.whatwg.org/#textdecoder-ignore-bom-flag", "support": { "chrome": { "version_added": "71" @@ -243,6 +248,7 @@ "readable": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoderStream/readable", + "spec_url": "https://streams.spec.whatwg.org/#dom-generictransformstream-readable", "support": { "chrome": { "version_added": "71" @@ -291,6 +297,7 @@ "writable": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextDecoderStream/writable", + "spec_url": "https://streams.spec.whatwg.org/#dom-generictransformstream-writable", "support": { "chrome": { "version_added": "71" diff --git a/api/TextEncoder.json b/api/TextEncoder.json index 97e0effa48268c..9178928de890ee 100644 --- a/api/TextEncoder.json +++ b/api/TextEncoder.json @@ -3,6 +3,7 @@ "TextEncoder": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoder", + "spec_url": "https://encoding.spec.whatwg.org/#interface-textencoder", "support": { "chrome": { "version_added": "38" @@ -72,6 +73,7 @@ "TextEncoder": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoder/TextEncoder", + "spec_url": "https://encoding.spec.whatwg.org/#ref-for-dom-textencoder①", "description": "TextEncoder() constructor", "support": { "chrome": [ @@ -173,6 +175,7 @@ "encode": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoder/encode", + "spec_url": "https://encoding.spec.whatwg.org/#ref-for-dom-textencoder-encode①", "support": { "chrome": { "version_added": "38" @@ -236,6 +239,7 @@ "encodeInto": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto", + "spec_url": "https://encoding.spec.whatwg.org/#ref-for-dom-textencoder-encodeinto①", "support": { "chrome": { "version_added": "74" @@ -287,6 +291,7 @@ "encoding": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoder/encoding", + "spec_url": "https://encoding.spec.whatwg.org/#dom-textencoder-encoding", "support": { "chrome": { "version_added": "38" diff --git a/api/TextEncoderStream.json b/api/TextEncoderStream.json index 61a154e7dc3548..1974a023de31a7 100644 --- a/api/TextEncoderStream.json +++ b/api/TextEncoderStream.json @@ -3,6 +3,7 @@ "TextEncoderStream": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoderStream", + "spec_url": "https://encoding.spec.whatwg.org/#interface-textencoderstream", "support": { "chrome": { "version_added": "71" @@ -50,6 +51,7 @@ "TextEncoderStream": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoderStream/TextEncoderStream", + "spec_url": "https://encoding.spec.whatwg.org/#ref-for-dom-textencoderstream①", "description": "TextEncoderStream() constructor", "support": { "chrome": { @@ -99,6 +101,7 @@ "encoding": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoderStream/encoding", + "spec_url": "https://encoding.spec.whatwg.org/#dom-textencoder-encoding", "support": { "chrome": { "version_added": "71" @@ -147,6 +150,7 @@ "readable": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoderStream/readable", + "spec_url": "https://streams.spec.whatwg.org/#dom-generictransformstream-readable", "support": { "chrome": { "version_added": "71" @@ -195,6 +199,7 @@ "writable": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextEncoderStream/writable", + "spec_url": "https://streams.spec.whatwg.org/#dom-generictransformstream-writable", "support": { "chrome": { "version_added": "71" diff --git a/api/TextMetrics.json b/api/TextMetrics.json index 22a8b53035b6ca..c680d51a1730c3 100644 --- a/api/TextMetrics.json +++ b/api/TextMetrics.json @@ -3,6 +3,7 @@ "TextMetrics": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#textmetrics", "support": { "chrome": { "version_added": "1" @@ -50,6 +51,7 @@ "actualBoundingBoxAscent": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxAscent", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-actualboundingboxascent-dev", "support": { "chrome": [ { @@ -122,6 +124,7 @@ "actualBoundingBoxDescent": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxDescent", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-actualboundingboxdescent-dev", "support": { "chrome": [ { @@ -194,6 +197,7 @@ "actualBoundingBoxLeft": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxLeft", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-actualboundingboxleft-dev", "support": { "chrome": [ { @@ -266,6 +270,7 @@ "actualBoundingBoxRight": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxRight", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-actualboundingboxright-dev", "support": { "chrome": [ { @@ -338,6 +343,7 @@ "alphabeticBaseline": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/alphabeticBaseline", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-alphabeticbaseline-dev", "support": { "chrome": { "version_added": true, @@ -411,6 +417,7 @@ "emHeightAscent": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightAscent", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-emheightascent-dev", "support": { "chrome": { "version_added": true, @@ -484,6 +491,7 @@ "emHeightDescent": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightDescent", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-emheightdescent-dev", "support": { "chrome": { "version_added": true, @@ -557,6 +565,7 @@ "fontBoundingBoxAscent": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxAscent", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-fontboundingboxascent-dev", "support": { "chrome": [ { @@ -640,6 +649,7 @@ "fontBoundingBoxDescent": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxDescent", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-fontboundingboxdescent-dev", "support": { "chrome": [ { @@ -723,6 +733,7 @@ "hangingBaseline": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/hangingBaseline", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-hangingbaseline-dev", "support": { "chrome": { "version_added": true, @@ -796,6 +807,7 @@ "ideographicBaseline": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/ideographicBaseline", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-ideographicbaseline-dev", "support": { "chrome": { "version_added": true, @@ -869,6 +881,7 @@ "width": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextMetrics/width", + "spec_url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-width-dev", "support": { "chrome": { "version_added": "4" diff --git a/api/TextTrack.json b/api/TextTrack.json index daab12b975ac4b..67d693f93530f8 100644 --- a/api/TextTrack.json +++ b/api/TextTrack.json @@ -3,6 +3,7 @@ "TextTrack": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrack", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#texttrack", "support": { "chrome": { "version_added": "23" @@ -149,6 +150,7 @@ "__compat": { "description": "cuechange event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrack/cuechange_event", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#event-media-cuechange", "support": { "chrome": { "version_added": true @@ -483,6 +485,7 @@ "mode": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrack/mode", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-mode-dev", "support": { "chrome": { "version_added": "23" diff --git a/api/TextTrackCue.json b/api/TextTrackCue.json index a9909d37c9eb9b..734fe23d8f2136 100644 --- a/api/TextTrackCue.json +++ b/api/TextTrackCue.json @@ -3,6 +3,7 @@ "TextTrackCue": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrackCue", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#texttrackcue", "support": { "chrome": { "version_added": "23" diff --git a/api/TextTrackList.json b/api/TextTrackList.json index 566bdfe587276c..b1f6eabad1600b 100644 --- a/api/TextTrackList.json +++ b/api/TextTrackList.json @@ -3,6 +3,7 @@ "TextTrackList": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrackList", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#text-track-api", "support": { "chrome": { "version_added": "23" @@ -50,6 +51,7 @@ "addTrack_event": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrackList/addTrack_event", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#event-media-addtrack", "description": "addTrack event", "support": { "chrome": { @@ -99,6 +101,7 @@ "change_event": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#event-media-change", "description": "change event", "support": { "chrome": { @@ -148,6 +151,7 @@ "getTrackById": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#dom-texttracklist-gettrackbyid-dev", "support": { "chrome": { "version_added": "33" @@ -196,6 +200,7 @@ "length": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrackList/length", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#dom-texttracklist-length", "support": { "chrome": { "version_added": "44" @@ -397,6 +402,7 @@ "removeTrack_event": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event", + "spec_url": "https://html.spec.whatwg.org/multipage/media.html#event-media-removetrack", "description": "removeTrack event", "support": { "chrome": {