Skip to content

Commit

Permalink
Update global attributes spec URLs to match BCD (#558)
Browse files Browse the repository at this point in the history
* Update global attributes spec URLs to match BCD

This change aligns the MDN spec URL values for HTML global attributes to
sync with the spec URL data we have in BCD.

See mdn/browser-compat-data#8064 for discussion
on the changes we made to some of the URLs when we added them to BCD.

* Update files/en-us/web/html/attributes/autocomplete/index.html

Co-authored-by: Florian Scholz <fs@florianscholz.com>

Co-authored-by: Florian Scholz <fs@florianscholz.com>
  • Loading branch information
Stolla00 and Elchi3 authored Dec 28, 2020
1 parent a103f8b commit 6be222b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 74 deletions.
6 changes: 1 addition & 5 deletions files/en-us/web/html/attributes/autocomplete/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,11 @@ <h2 id="Specifications">Specifications</h2>
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', "#autofill")}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
<td>{{SpecName('HTML WHATWG', "#attr-fe-autocomplete", "autocomplete")}}</td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,11 @@ <h2 id="Specifications">Specifications</h2>
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', "interaction.html#autocapitalization", "autocapitalize")}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td> </td>
<td>{{SpecName('HTML WHATWG', "interaction.html#attr-autocapitalize", "autocapitalize")}}</td>
</tr>
</tbody>
</table>
Expand Down
16 changes: 1 addition & 15 deletions files/en-us/web/html/global_attributes/data-_star_/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,11 @@ <h2 id="Specifications">Specifications</h2>
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', "dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes", "data-*")}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td>No change from latest snapshot, {{SpecName('HTML5.1')}}</td>
</tr>
<tr>
<td>{{SpecName('HTML5.1', "dom.html#element-attrdef-global-data", "data-*")}}</td>
<td>{{Spec2('HTML5.1')}}</td>
<td>Snapshot of {{SpecName('HTML WHATWG')}}, no change from {{SpecName('HTML5 W3C')}}</td>
</tr>
<tr>
<td>{{SpecName('HTML5 W3C', "dom.html#element-attrdef-global-data", "data-*")}}</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td>Snapshot of {{SpecName('HTML WHATWG')}}, initial definition.</td>
<td>{{SpecName('HTML WHATWG', "dom.html#attr-data-*", "data-*")}}</td>
</tr>
</tbody>
</table>
Expand Down
14 changes: 0 additions & 14 deletions files/en-us/web/html/global_attributes/hidden/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,9 @@ <h2 id="Specifications">Specifications</h2>
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG', "interaction.html#the-hidden-attribute", "hidden")}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td>No change from latest snapshot, {{SpecName('HTML5.1')}}</td>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG', "rendering.html#hiddenCSS", "Hidden elements")}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td>Defines the suggested default rendering of the <code>hidden</code> attribute using CSS</td>
</tr>
<tr>
<td>{{SpecName('HTML5.1', "editing.html#the-hidden-attribute", "hidden")}}</td>
<td>{{Spec2('HTML5.1')}}</td>
<td>Snapshot of {{SpecName('HTML WHATWG')}}, initial definition</td>
</tr>
</tbody>
</table>
Expand Down
6 changes: 1 addition & 5 deletions files/en-us/web/html/global_attributes/inputmode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,11 @@ <h2 id="Specifications">Specifications</h2>
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName("HTML WHATWG", "interaction.html#input-modalities:-the-inputmode-attribute", "inputmode")}}</td>
<td>{{Spec2("HTML WHATWG")}}</td>
<td></td>
<td>{{SpecName("HTML WHATWG", "interaction.html#attr-inputmode", "inputmode")}}</td>
</tr>
</tbody>
</table>
Expand Down
21 changes: 1 addition & 20 deletions files/en-us/web/html/global_attributes/lang/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,30 +120,11 @@ <h2 id="Specifications">Specifications</h2>
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', "dom.html#the-lang-and-xml:lang-attributes", "lang")}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td>No change from latest snapshot, {{SpecName('HTML5.1')}}</td>
</tr>
<tr>
<td>{{SpecName('HTML5.1', "dom.html#the-lang-and-xml:lang-attributes", "lang")}}</td>
<td>{{Spec2('HTML5.1')}}</td>
<td>Snapshot of {{SpecName('HTML WHATWG')}}, no change from {{SpecName('HTML5 W3C')}}</td>
</tr>
<tr>
<td>{{SpecName('HTML5 W3C', "dom.html#the-lang-and-xml:lang-attributes", "lang")}}</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td>Snapshot of {{SpecName('HTML WHATWG')}}, behavior with <code>xml:lang</code> and language determination algorithm defined. It also is a true global attribute.</td>
</tr>
<tr>
<td>{{SpecName('HTML4.01', 'struct/dirlang.html#h-8.1', 'lang')}}</td>
<td>{{Spec2('HTML4.01')}}</td>
<td>Supported on all elements but {{HTMLElement("applet")}}, {{HTMLElement("base")}}, {{HTMLElement("basefont")}}, {{HTMLElement("br")}}, {{HTMLElement("frame")}}, {{HTMLElement("frameset")}}, {{HTMLElement("iframe")}}, {{HTMLElement("param")}}, and {{HTMLElement("script")}}.</td>
<td>{{SpecName('HTML WHATWG', "dom.html#attr-lang", "lang")}}</td>
</tr>
</tbody>
</table>
Expand Down
11 changes: 1 addition & 10 deletions files/en-us/web/html/global_attributes/spellcheck/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,11 @@ <h2 id="Specifications">Specifications</h2>
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', "interaction.html#spelling-and-grammar-checking", "spellcheck")}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td>No change from latest snapshot, {{SpecName('HTML5.1')}}</td>
</tr>
<tr>
<td>{{SpecName('HTML5.1', "editing.html#spelling-and-grammar-checking", "spellcheck")}}</td>
<td>{{Spec2('HTML5.1')}}</td>
<td>Snapshot of {{SpecName('HTML WHATWG')}}, initial definition</td>
<td>{{SpecName('HTML WHATWG', "interaction.html#attr-spellcheck", "spellcheck")}}</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 6be222b

Please sign in to comment.