Skip to content

Commit

Permalink
Add Text* object spec URLs (#10332)
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker authored May 7, 2021
1 parent 3b49e44 commit d7a30de
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/Text.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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": "<code>Text()</code> constructor",
"support": {
"chrome": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions api/TextDecoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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": "<code>TextDecoder()</code> constructor",
"support": {
"chrome": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions api/TextDecoderStream.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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": "<code>TextDecoderStream()</code> constructor",
"support": {
"chrome": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions api/TextEncoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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": "<code>TextEncoder()</code> constructor",
"support": {
"chrome": [
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions api/TextEncoderStream.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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": "<code>TextEncoderStream()</code> constructor",
"support": {
"chrome": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
13 changes: 13 additions & 0 deletions api/TextMetrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions api/TextTrack.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -149,6 +150,7 @@
"__compat": {
"description": "<code>cuechange</code> 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
Expand Down Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions api/TextTrackCue.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 6 additions & 0 deletions api/TextTrackList.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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": "<code>addTrack</code> event",
"support": {
"chrome": {
Expand Down Expand Up @@ -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": "<code>change</code> event",
"support": {
"chrome": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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": "<code>removeTrack</code> event",
"support": {
"chrome": {
Expand Down

0 comments on commit d7a30de

Please sign in to comment.