Skip to content

Commit

Permalink
Remove <a> tags from description fields (#7154)
Browse files Browse the repository at this point in the history
* Move feature description link to mdn_url

This approach is preferred as the schemas specifies the use of `<code>`, `<kbd>`, `<em>`, and `<strong>` HTML elements only

* Update api/Animation.json description punctuation

Co-authored-by: Daniel D. Beck <[email protected]>

* Drop misleading mdn_url in css/selectors/invalid.json

Co-authored-by: Daniel D. Beck <[email protected]>

* Drop misleading mdn_url in css/selectors/valid.json

Co-authored-by: Daniel D. Beck <[email protected]>

* Apply link removals from `description` fields

#6355 (comment)

* Remove MDN URLs which are cross-references

More suggested changes out of #6355

Co-authored-by: Germain <[email protected]>
Co-authored-by: Germain <[email protected]>
  • Loading branch information
3 people authored Nov 2, 2020
1 parent 262689c commit 2aa0f28
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api/Animation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@
},
"remove_filling_animation": {
"__compat": {
"description": "Browsers automatically remove <a href='https://developer.mozilla.org/docs/Web/API/Animation#Automatically_removing_filling_animations'>indefinite filling animations</a>.",
"description": "Browsers automatically remove indefinite filling animations",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation#Automatically_removing_filling_animations",
"support": {
"chrome": {
Expand Down
2 changes: 1 addition & 1 deletion api/CharacterData.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"ChildNode": {
"__compat": {
"description": "Implements the <a href='https://developer.mozilla.org/docs/Web/API/ChildNode'><code>ChildNode</code></a> interface",
"description": "Implements the <code>ChildNode</code> interface",
"support": {
"chrome": {
"version_added": true
Expand Down
2 changes: 1 addition & 1 deletion api/ShadowRoot.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
},
"documentorshadowroot": {
"__compat": {
"description": "Features included from the <a href='https://developer.mozilla.org/docs/Web/API/DocumentOrShadowRoot'><code>DocumentOrShadowRoot</code></a> mixin",
"description": "Features included from the <code>DocumentOrShadowRoot</code> mixin",
"support": {
"chrome": {
"version_added": "57"
Expand Down
2 changes: 1 addition & 1 deletion css/at-rules/media.json
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@
},
"media_query_values": {
"__compat": {
"description": "<a href='https://developer.mozilla.org/docs/Web/CSS/Media_Queries'>Media query</a> value support",
"description": "Media query value support",
"support": {
"chrome": {
"version_added": "66"
Expand Down
2 changes: 1 addition & 1 deletion css/properties/display.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
},
"contents_unusual": {
"__compat": {
"description": "Specific behavior of <a href='https://drafts.csswg.org/css-display/#unbox'>unusual elements</a> when <code>display: contents</code> is applied to them",
"description": "Specific behavior of unusual elements when <code>display: contents</code> is applied to them",
"support": {
"chrome": {
"version_added": "58"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/visited.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"not_match_link": {
"__compat": {
"description": "<code>:visited</code> <a href='https://groups.google.com/forum/#!msg/mozilla.dev.platform/1NP6oJzK6zg/ftAz_TajAAAJ'>no longer matches <code>&lt;link&gt;</code> elements</a>",
"description": "<code>:visited</code> privacy: selector does not match <code>&lt;link&gt;</code> elements",
"support": {
"chrome": {
"version_added": "1",
Expand Down
2 changes: 1 addition & 1 deletion css/types/position.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
},
"keyword_value_syntax": {
"__compat": {
"description": "Syntax combining a keyword and <a href='https://developer.mozilla.org/docs/Web/CSS/length'><code>&lt;length&gt;</code></a> or <a href='https://developer.mozilla.org/docs/Web/CSS/percentage'><code>&lt;percentage&gt;</code></a>",
"description": "Syntax combining a keyword and <code>&lt;length&gt;</code> or <code>&lt;percentage&gt;</code>",
"support": {
"chrome": {
"version_added": "1"
Expand Down
2 changes: 1 addition & 1 deletion javascript/builtins/Function.json
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@
},
"toString_revision": {
"__compat": {
"description": "Support of <a href='http://tc39.es/Function-prototype-toString-revision/'>toString revision</a>",
"description": "Implements <code>Function.prototype.toString</code> revision",
"support": {
"chrome": {
"version_added": false
Expand Down
2 changes: 1 addition & 1 deletion javascript/builtins/JSON.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
},
"well_formed_stringify": {
"__compat": {
"description": "<a href='https://github.com/tc39/proposal-well-formed-stringify'>Well-formed JSON.stringify</a>",
"description": "Strings are escaped to well-formed UTF-8",
"support": {
"chrome": {
"version_added": "72"
Expand Down

0 comments on commit 2aa0f28

Please sign in to comment.