Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: say which <source> attributes are allowed where #6419

Merged
merged 2 commits into from
Mar 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 10 additions & 10 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -26029,13 +26029,13 @@ interface <dfn>HTMLPictureElement</dfn> : <span>HTMLElement</span> {
<dd><span data-x="concept-content-nothing">Nothing</span>.</dd>
<dt><span data-x="concept-element-attributes">Content attributes</span>:</dt>
<dd><span>Global attributes</span></dd>
<dd><code data-x="attr-source-src">src</code></dd>
<dd><code data-x="attr-source-type">type</code></dd>
<dd><code data-x="attr-source-srcset">srcset</code></dd>
<dd><code data-x="attr-source-sizes">sizes</code></dd>
<dd><code data-x="attr-source-media">media</code></dd>
<dd><code data-x="attr-dim-width">width</code></dd>
<dd><code data-x="attr-dim-height">height</code></dd>
<dd><code data-x="attr-source-src">src</code> (in <code>video</code> or <code>audio</code>)</dd>
<dd><code data-x="attr-source-srcset">srcset</code> (in <code>picture</code>)</dd>
<dd><code data-x="attr-source-sizes">sizes</code> (in <code>picture</code>)</dd>
<dd><code data-x="attr-source-media">media</code> (in <code>picture</code>)</dd>
<dd><code data-x="attr-dim-width">width</code> (in <code>picture</code>)</dd>
<dd><code data-x="attr-dim-height">height</code> (in <code>picture</code>)</dd>
<dt><span
data-x="concept-element-accessibility-considerations">Accessibility considerations</span>:</dt>
<dd><a href="https://w3c.github.io/html-aria/#el-source">For authors</a>.</dd>
Expand Down Expand Up @@ -120440,7 +120440,7 @@ interface <dfn>MimeType</dfn> {
<code data-x="attr-dim-height">img</code>;
<code data-x="attr-dim-height">input</code>;
<code data-x="attr-dim-height">object</code>;
<code data-x="attr-dim-width">source</code>;
<code data-x="attr-dim-height">source</code> (in <code>picture</code>);
<code data-x="attr-dim-height">video</code>
<td> Vertical dimension
<td> <span>Valid non-negative integer</span>
Expand Down Expand Up @@ -120617,7 +120617,7 @@ interface <dfn>MimeType</dfn> {
<tr>
<th> <code data-x="">media</code>
<td> <code data-x="attr-link-media">link</code>;
<code data-x="attr-source-media">source</code>;
<code data-x="attr-source-media">source</code> (in <code>picture</code>);
<code data-x="attr-style-media">style</code>
<td> Applicable media
<td> <span>Valid media query list</span>
Expand Down Expand Up @@ -120895,7 +120895,7 @@ interface <dfn>MimeType</dfn> {
<code data-x="attr-img-src">img</code>;
<code data-x="attr-input-src">input</code>;
<code data-x="attr-script-src">script</code>;
<code data-x="attr-source-src">source</code>;
<code data-x="attr-source-src">source</code> (in <code>video</code> or <code>audio</code>);
<code data-x="attr-track-src">track</code>;
<code data-x="attr-media-src">video</code>
<td> Address of the resource
Expand Down Expand Up @@ -121070,7 +121070,7 @@ interface <dfn>MimeType</dfn> {
<code data-x="attr-dim-width">img</code>;
<code data-x="attr-dim-width">input</code>;
<code data-x="attr-dim-width">object</code>;
<code data-x="attr-dim-width">source</code>;
<code data-x="attr-dim-width">source</code> (in <code>picture</code>);
<code data-x="attr-dim-width">video</code>
<td> Horizontal dimension
<td> <span>Valid non-negative integer</span>
Expand Down