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 @@ -54809,12 +54809,50 @@ interface <dfn interface>HTMLSelectElement</dfn> : <span>HTMLElement</span> {
5480954809 …</code></pre>
5481054810 </div>
5481154811
54812+ <div class="example" id="example-customizable-select">
54813+ <p>Here is an example which uses <code>div</code>, <code>legend</code>,
54814+ <code>img</code>, <code>button</code>, and <code>selectedcontent</code> elements:</p>
54815+
54816+ <pre><code class="html"><select>
54817+ <button>
54818+ <selectedcontent></selectedcontent>
54819+ </button>
54820+ <div class="border">
54821+ <optgroup>
54822+ <legend>WHATWG Specifications</legend>
54823+ <option>
54824+ <img src="html.jpg" alt="">
54825+ HTML
54826+ </option>
54827+ <option>
54828+ <img src="dom.jpg" alt="">
54829+ DOM
54830+ </option>
54831+ </optgroup>
54832+ </div>
54833+ <div class="border">
54834+ <optgroup>
54835+ <legend>W3C Specifications</legend>
54836+ <option>
54837+ <img src="forms.jpg" alt="">
54838+ CSS Form Control Styling
54839+ </option>
54840+ <option>
54841+ <img src="pseudo.jpg" alt="">
54842+ CSS Pseudo-Elements
54843+ </option>
54844+ <optgroup>
54845+ </div>
54846+ </select></code></pre>
54847+ </div>
54848+
5481254849 <p class="note" id="note-first-button-in-select-not-submit">The first child <code>button</code>
5481354850 element as allowed by the content model of <code>select</code> is not a submit button. It is used
5481454851 to replace the in-page rendering of the <code>select</code> element. Its form submission behavior
5481554852 is prevented because it is <span>inert</span>.</p>
5481654853
5481754854
54855+
5481854856 <h4>The <dfn element><code>datalist</code></dfn> element</h4>
5481954857
5482054858 <dl class="element">
You can’t perform that action at this time.
0 commit comments