Skip to content

Commit

Permalink
Add spec URLs for the web/html subtree
Browse files Browse the repository at this point in the history
Part of #13126
  • Loading branch information
sideshowbarker committed Feb 24, 2022
1 parent f268222 commit 9d9f754
Show file tree
Hide file tree
Showing 20 changed files with 61 additions and 488 deletions.
6 changes: 2 additions & 4 deletions files/en-us/web/html/attributes/accept/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- HTML
- Input
- Reference
spec-urls: https://html.spec.whatwg.org/multipage/input.html#attr-input-accept
---

{{HTMLSidebar}}
Expand Down Expand Up @@ -144,10 +145,7 @@ div {

## Specifications

| Specification | Status |
| ------------------------------------------------------------------------------- | ------------------------ |
| {{SpecName('HTML WHATWG', 'input.html#attr-input-accept', 'accept attribute')}} | {{Spec2('HTML WHATWG')}} |
| {{SpecName('HTML5.1', 'sec-forms.html#attr-input-accept', 'accept attribute')}} | {{Spec2('HTML5.1')}} |
{{Specifications}}

## Browser compatibility

Expand Down
7 changes: 3 additions & 4 deletions files/en-us/web/html/attributes/autocomplete/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tags:
- form
- passwords
- textarea
browser-compat: html.global_attributes.autocomplete
---

{{HTMLSidebar}}
Expand Down Expand Up @@ -233,13 +234,11 @@ An address in Japan is typically **written in one line**, in an order from the l

## Specifications

| Specification |
| -------------------------------------------------------------------- |
| {{SpecName('HTML WHATWG', "#attr-fe-autocomplete", "autocomplete")}} |
{{Specifications}}

## Browser compatibility

{{Compat("html.global_attributes.autocomplete")}}
{{Compat}}

## See also

Expand Down
18 changes: 2 additions & 16 deletions files/en-us/web/html/attributes/capture/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- Capture
- Constraint validation
- HTML
spec-urls: https://w3c.github.io/html-media-capture/#the-capture-attribute
---

{{HTMLSidebar}}
Expand Down Expand Up @@ -50,22 +51,7 @@ Note these work better on mobile devices; if your device is a desktop computer,

## Specifications

<table class="no-markdown">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>
{{SpecName('HTML Media Capture', '#the-capture-attribute','capture attribute')}}
</td>
<td>{{Spec2('HTML Media Capture')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

## Browser compatibility

Expand Down
29 changes: 4 additions & 25 deletions files/en-us/web/html/attributes/crossorigin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ tags:
- NeedsContent
- Reference
- Security
spec-urls:
- https://html.spec.whatwg.org/multipage/infrastructure.html#cors-settings-attributes
- https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-crossorigin
---

{{HTMLSidebar}}
Expand Down Expand Up @@ -74,31 +77,7 @@ The `use-credentials` value must be used when fetching a [manifest](/en-US/docs/

## Specifications

<table class="no-markdown">
<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', 'infrastructure.html#cors-settings-attributes', 'CORS settings attributes')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML WHATWG', 'embedded-content.html#attr-img-crossorigin', 'crossorigin')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
</tbody>
</table>
{{Specifications}}

## Browser compatibility

Expand Down
34 changes: 2 additions & 32 deletions files/en-us/web/html/attributes/disabled/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- Constraint validation
- Forms
- required
spec-urls: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
---

{{HTMLSidebar}}
Expand Down Expand Up @@ -105,38 +106,7 @@ When form controls are disabled, many browsers will display them in a lighter, g

## Specifications

<table class="no-markdown">
<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', 'form-control-infrastructure.html#attr-fe-disabled', 'disabled attribute')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML5 W3C', 'forms.html#attr-input-disabled', 'disabled attribute')}}
</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML5.1', 'sec-forms.html#the-disabled-attribute', 'disabled attribute')}}
</td>
<td>{{Spec2('HTML5.1')}}</td>
<td></td>
</tr>
</tbody>
</table>
{{Specifications}}

## Browser compatibility

Expand Down
20 changes: 2 additions & 18 deletions files/en-us/web/html/attributes/elementtiming/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- elementtiming
- Performance
- Reference
spec-urls: https://wicg.github.io/element-timing/forms.html#attr-label-for
---

{{HTMLSidebar}}
Expand Down Expand Up @@ -39,24 +40,7 @@ Good contenders for elements you might want to observe are:
## Specifications
<table class="no-markdown">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>
{{SpecName('Element Timing API', 'forms.html#attr-label-for', 'for as used with label')}}
</td>
<td>{{Spec2('Element Timing API')}}</td>
<td></td>
</tr>
</tbody>
</table>
{{Specifications}}
## Browser compatibility
Expand Down
43 changes: 4 additions & 39 deletions files/en-us/web/html/attributes/for/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ tags:
- HTML
- for
- Reference
spec-urls:
- https://html.spec.whatwg.org/multipage/forms.html#attr-label-for
- https://html.spec.whatwg.org/multipage/form-elements.html#attr-output-for
---

{{HTMLSidebar}}
Expand Down Expand Up @@ -36,45 +39,7 @@ See examples of usage on the element pages for {{htmlelement("label")}} and {{ht

## Specifications

<table class="no-markdown">
<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', 'forms.html#attr-label-for', 'for as used with label')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML WHATWG', 'form-elements.html#attr-output-for', 'for as used with output')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML5 W3C', 'sec-forms.html#element-attrdef-label-for', 'for as used with label')}}
</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML5 W3C', 'sec-forms.html#element-attrdef-output-for', 'for as used with output')}}
</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td></td>
</tr>
</tbody>
</table>
{{Specifications}}

## Browser compatibility

Expand Down
58 changes: 5 additions & 53 deletions files/en-us/web/html/attributes/max/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ tags:
- HTML
- max
- Reference
spec-urls:
- https://html.spec.whatwg.org/multipage/input.html#the-min-and-max-attributes
- https://html.spec.whatwg.org/multipage/forms.html#the-progress-element
- https://html.spec.whatwg.org/multipage/forms.html#the-meter-element
---

{{HTMLSidebar}}
Expand Down Expand Up @@ -130,59 +134,7 @@ Provide instructions to help users understand how to complete the form and use i

## Specifications

<table class="no-markdown">
<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', 'input.html#the-min-and-max-attributes', 'max attribute')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML5 W3C', 'input.html#the-min-and-max-attributes', 'max attribute')}}
</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML WHATWG', 'forms.html#the-progress-element', 'progress element')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML5 W3C', 'forms.html#the-progress-element', 'progress element')}}
</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML WHATWG', 'forms.html#the-meter-element', 'meter element')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>
{{SpecName('HTML5 W3C', 'forms.html#the-meter-element', 'meter element')}}
</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td></td>
</tr>
</tbody>
</table>
{{Specifications}}

## Browser compatibility

Expand Down
24 changes: 2 additions & 22 deletions files/en-us/web/html/attributes/maxlength/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ tags:
- Reference
- maxlength
- textarea
spec-urls: https://html.spec.whatwg.org/multipage/input.html#attr-input-maxlength
---

{{HTMLSidebar}}
Expand All @@ -34,28 +35,7 @@ While the browser will generally prevent user from entering more text than the m

## Specifications

<table class="no-markdown">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>
{{SpecName('HTML WHATWG', 'input.html#attr-input-maxlength', 'maxlength attribute')}}
</td>
<td>{{Spec2('HTML WHATWG')}}</td>
</tr>
<tr>
<td>
{{SpecName('HTML5.1', 'input.html#attr-maxlength-accept', 'maxlength attribute')}}
</td>
<td>{{Spec2('HTML5.1')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

## Browser compatibility

Expand Down
Loading

0 comments on commit 9d9f754

Please sign in to comment.