Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make <select> special in innerText #1717

Merged
merged 2 commits into from
Nov 3, 2016
Merged
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
19 changes: 17 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -11865,7 +11865,21 @@ interface <dfn>DOMStringMap</dfn> {

<li>
<p>If <var>node</var> has no associated CSS box, then let the result of these substeps be
<var>items</var> and abort these substeps.</p>
<var>items</var> and abort these substeps. For the purpose of this step, the following
elements must act as described if the <span>computed value</span> of the
<span>'display'</span> property is not 'none':</p>

<ul class="brief">
<li><code>select</code> elements have an associated non-replaced inline CSS box whose child
boxes include only those of <code>optgroup</code> and <code>option</code> element child
nodes;</li>

<li><code>optgroup</code> elements have an associated non-replaced block-level CSS box whose
child boxes include only those of <code>option</code> element child nodes; and</li>

<li><code>option</code> element have an associated non-replaced block-level CSS box whose
child boxes are as normal for non-replaced block-level CSS boxes.</li>
</ul>

<p class="note"><var>items</var> can be non-empty due to 'display:contents'.</p>
</li>
Expand Down Expand Up @@ -11921,7 +11935,7 @@ interface <dfn>DOMStringMap</dfn> {
</ol>

<p class="note">Note that descendant nodes of most replaced elements (e.g., <code>textarea</code>,
<code>select</code>, and <code>video</code> &mdash; but not <code>button</code>) are not rendered
<code>input</code>, and <code>video</code> &mdash; but not <code>button</code>) are not rendered
by CSS, strictly speaking, and therefore have no CSS boxes for the purposes of this algorithm.</p>

<p class="big-issue">This algorithm is amenable to being generalized to work on <span
Expand Down Expand Up @@ -119348,6 +119362,7 @@ INSERT INTERFACES HERE
Jerry Smith,
Jesse Ren&eacute;e Beach,
Jessica Jong,
jfkthame, <!-- GitHub -->
Jian Li,
Jim Jewett,
Jim Ley,
Expand Down