<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Label of an &lt;option&gt; element should not be displayed when textContent of the element is empty"
   href="https://bugs.webkit.org/show_bug.cgi?id=169296#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Label of an &lt;option&gt; element should not be displayed when textContent of the element is empty"
   href="https://bugs.webkit.org/show_bug.cgi?id=169296">bug 169296</a>
              from <span class="vcard"><a class="email" href="mailto:cdumez&#64;apple.com" title="Chris Dumez &lt;cdumez&#64;apple.com&gt;"> <span class="fn">Chris Dumez</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=169296#c4">comment #4</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=169296#c3">comment #3</a>)
&gt; &gt; &gt; Label of an &lt;option&gt; element should not be displayed when textContent of the element is empty
&gt; &gt; 
&gt; &gt; &#64;David: Do you have a link to a spec that says this is the expected behavior?
&gt; 
&gt; What I found is:
&gt; <a href="https://html.spec.whatwg.org/multipage/rendering.html#the-select-element-2">https://html.spec.whatwg.org/multipage/rendering.html#the-select-element-2</a>
&gt; 
&gt; which says:
&gt; &quot;An option element is expected to be rendered by displaying the element's
&gt; label, indented under its optgroup element if it has one.&quot;
&gt; 
&gt; label points to:
&gt; <a href="https://html.spec.whatwg.org/multipage/forms.html#concept-option-label">https://html.spec.whatwg.org/multipage/forms.html#concept-option-label</a>
&gt; 
&gt; which says:
&gt; &quot;The label attribute provides a label for element. The label of an option
&gt; element is the value of the label content attribute, if there is one and its
&gt; value is not the empty string, or, otherwise, the value of the element's
&gt; text IDL attribute.&quot;</span >

So as far as I can tell, we match the HTML spec here. If it does not match other browsers, we likely want to file a bug against the HTML spec.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>