You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new `controls` attribute to the `img` element that allows the user agent to add an interactive user interface over the image.
Animated images follow-up tracked by #12318.
Fixes#11856.
<li><code>img</code> (if the <code data-x="attr-hyperlink-usemap">usemap</code> attribute is present)</li>
13730
+
<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>
13731
13731
<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>
<dd>If the element has a <code data-x="attr-hyperlink-usemap">usemap</code> attribute: <span>Interactive content</span>.</dd>
30807
+
<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>
30808
30808
<dd><span>Palpable content</span>.</dd>
30809
30809
<dt><span data-x="concept-element-contexts">Contexts in which this element can be used</span>:</dt>
30810
30810
<dd>Where <span>embedded content</span> is expected.</dd>
<code>a</code> (if the <code data-x="attr-hyperlink-href">href</code> attribute is present);
153709
153735
<code>audio</code> (if the <code data-x="attr-media-controls">controls</code> attribute is present);
153710
-
<code>img</code> (if the <code data-x="attr-hyperlink-usemap">usemap</code> attribute is present);
153736
+
<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);
153711
153737
<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);
153712
153738
<code>video</code> (if the <code data-x="attr-media-controls">controls</code> attribute is present)
0 commit comments