Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 27 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -13447,7 +13447,7 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%
<li><code>details</code></li>
<li><code>embed</code></li>
<li><code>iframe</code></li>
<li><code>img</code> (if the <code data-x="attr-hyperlink-usemap">usemap</code> attribute is present)</li>
<li><code>img</code> (if the <code data-x="attr-hyperlink-usemap">usemap</code> or <code data-x="attr-img-controls">controls</code> attribute is present)</li>
<li><code>input</code> (if the <code data-x="attr-input-type">type</code> attribute is <em>not</em> in the <span data-x="attr-input-type-hidden">Hidden</span> state)</li>
<li><code>label</code></li>
<li><code>select</code></li>
Expand Down Expand Up @@ -30514,7 +30514,7 @@ interface <dfn interface>HTMLSourceElement</dfn> : <span>HTMLElement</span> {
<dd><span>Phrasing content</span>.</dd>
<dd><span>Embedded content</span>.</dd>
<dd><span>Form-associated element</span>.</dd>
<dd>If the element has a <code data-x="attr-hyperlink-usemap">usemap</code> attribute: <span>Interactive content</span>.</dd>
<dd>If the element has a <code data-x="attr-hyperlink-usemap">usemap</code> or <code data-x="attr-img-controls">controls</code> attribute: <span>Interactive content</span>.</dd>
<dd><span>Palpable content</span>.</dd>
<dt><span data-x="concept-element-contexts">Contexts in which this element can be used</span>:</dt>
<dd>Where <span>embedded content</span> is expected.</dd>
Expand All @@ -30530,6 +30530,7 @@ interface <dfn interface>HTMLSourceElement</dfn> : <span>HTMLElement</span> {
<dd><code data-x="attr-img-crossorigin">crossorigin</code></dd>
<dd><code data-x="attr-hyperlink-usemap">usemap</code></dd>
<dd><code data-x="attr-img-ismap">ismap</code></dd>
<dd><code data-x="attr-img-controls">controls</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-img-referrerpolicy">referrerpolicy</code></dd>
Expand Down Expand Up @@ -30558,6 +30559,7 @@ interface <dfn interface>HTMLImageElement</dfn> : <span>HTMLElement</span> {
[<span>CEReactions</span>] attribute DOMString? <span data-x="dom-img-crossOrigin">crossOrigin</span>;
[<span>CEReactions</span>, <span data-x="xattr-Reflect">Reflect</span>] attribute DOMString <dfn attribute for="HTMLImageElement" data-x="dom-img-useMap">useMap</dfn>;
[<span>CEReactions</span>, <span data-x="xattr-Reflect">Reflect</span>] attribute boolean <dfn attribute for="HTMLImageElement" data-x="dom-img-isMap">isMap</dfn>;
[<span>CEReactions</span>, <span data-x="xattr-Reflect">Reflect</span>] attribute boolean <dfn attribute for="HTMLImageElement" data-x="dom-img-controls">controls</dfn>;
[<span>CEReactions</span>, <span data-x="xattr-ReflectSetter">ReflectSetter</span>] attribute unsigned long <span data-x="dom-img-width">width</span>;
[<span>CEReactions</span>, <span data-x="xattr-ReflectSetter">ReflectSetter</span>] attribute unsigned long <span data-x="dom-img-height">height</span>;
readonly attribute unsigned long <span data-x="dom-img-naturalWidth">naturalWidth</span>;
Expand Down Expand Up @@ -30906,6 +30908,25 @@ interface <dfn interface>HTMLImageElement</dfn> : <span>HTMLElement</span> {
together with <code>source</code> elements with the <code data-x="attr-source-media">media</code>
attribute specified in a <code>picture</code> element.</p>

<p>The <dfn element-attr for="img"><code data-x="attr-img-controls">controls</code></dfn>
attribute is a <span>boolean attribute</span>. If present, it indicates that the user agent may
expose a user interface to the user.</p>

<div w-nodev>

<p>If the <code data-x="attr-img-controls">controls</code> attribute is present, the user agent
may expose controls over the image (e.g., playback controls for animated images). The specific
controls provided are <span>implementation-defined</span>, and can be platform-specific or based
on the user's preferences.</p>

<p>If the user agent exposes a user interface by displaying controls over the <code>img</code>
element, then the user agent should suppress any user interaction events while the user agent is
interacting with this interface.</p>

</div>

<hr>

<p>The <code>img</code> element supports <span>dimension
attributes</span>.</p>

Expand Down Expand Up @@ -151617,6 +151638,7 @@ interface <dfn interface>External</dfn> {
<code data-x="attr-img-crossorigin">crossorigin</code>;
<code data-x="attr-hyperlink-usemap">usemap</code>;
<code data-x="attr-img-ismap">ismap</code>;
<code data-x="attr-img-controls">controls</code>;
<code data-x="attr-dim-width">width</code>;
<code data-x="attr-dim-height">height</code>;
<code data-x="attr-img-referrerpolicy">referrerpolicy</code>;
Expand Down Expand Up @@ -152847,7 +152869,7 @@ interface <dfn interface>External</dfn> {
<td>
<code>a</code> (if the <code data-x="attr-hyperlink-href">href</code> attribute is present);
<code>audio</code> (if the <code data-x="attr-media-controls">controls</code> attribute is present);
<code>img</code> (if the <code data-x="attr-hyperlink-usemap">usemap</code> attribute is present);
<code>img</code> (if the <code data-x="attr-hyperlink-usemap">usemap</code> or <code data-x="attr-img-controls">controls</code> attribute is present);
<code>input</code> (if the <code data-x="attr-input-type">type</code> attribute is <em>not</em> in the <span data-x="attr-input-type-hidden">Hidden</span> state);
<code>video</code> (if the <code data-x="attr-media-controls">controls</code> attribute is present)

Expand Down Expand Up @@ -153256,6 +153278,7 @@ interface <dfn interface>External</dfn> {
<th> <code data-x="">controls</code>
<td> <code data-x="attr-media-controls">audio</code>;
<code data-x="attr-media-controls">video</code>
<code data-x="attr-img-controls">img</code>;
<td> Show user agent controls
<td> <span>Boolean attribute</span>
<tr>
Expand Down Expand Up @@ -157483,6 +157506,7 @@ INSERT INTERFACES HERE
Yi-An Huang,
Yngve Nysaeter Pettersen,
Yoav Weiss,
Yoel Hawa, <!-- yoelhawa on GitHub -->
Yonathan Randolph,
Yu Huojiang,
Yuki Okushi, <!-- JohnTitor on GitHub -->
Expand Down