File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -54822,12 +54822,50 @@ interface <dfn interface>HTMLSelectElement</dfn> : <span>HTMLElement</span> {
5482254822 …</code></pre>
5482354823 </div>
5482454824
54825+ <div class="example">
54826+ <p>Here is an example which uses <code>div</code>, <code>legend</code>,
54827+ <code>img</code>, <code>button</code>, and <code>selectedcontent</code> elements:</p>
54828+
54829+ <pre><code class="html"><select>
54830+ <button>
54831+ <selectedcontent></selectedcontent>
54832+ </button>
54833+ <div class="border">
54834+ <optgroup>
54835+ <legend>WHATWG Specifications</legend>
54836+ <option>
54837+ <img src="html.jpg">
54838+ HTML
54839+ </option>
54840+ <option>
54841+ <img src="dom.jpg">
54842+ DOM
54843+ </option>
54844+ </optgroup>
54845+ </div>
54846+ <div class="border">
54847+ <optgroup>
54848+ <legend>W3C Specifications</legend>
54849+ <option>
54850+ <img src="forms.jpg">
54851+ CSS Form Control Styling
54852+ </option>
54853+ <option>
54854+ <img src="pseudo.jpg">
54855+ CSS Pseudo-Elements
54856+ </option>
54857+ <optgroup>
54858+ </div>
54859+ </select></code></pre>
54860+ </div>
54861+
5482554862 <p class="note" id="note-first-button-in-select-not-submit">The first child <code>button</code>
5482654863 element as allowed by the content model of <code>select</code> is not a submit button. It is used
5482754864 to replace the in-page rendering of the <code>select</code> element. Its form submission behavior
5482854865 is prevented because it is <span>inert</span>.</p>
5482954866
5483054867
54868+
5483154869 <h4>The <dfn element><code>datalist</code></dfn> element</h4>
5483254870
5483354871 <dl class="element">
You can’t perform that action at this time.
0 commit comments