diff --git a/source b/source index 6a98c8c670a..c3185065cca 100644 --- a/source +++ b/source @@ -11868,7 +11868,21 @@ interface DOMStringMap {
If node has no associated CSS box, then let the result of these substeps be - items and abort these substeps.
+ items and abort these substeps. For the purpose of this step, the following + elements must act as described if the computed value of the + 'display' property is not 'none': + +select
elements have an associated non-replaced inline CSS box whose child
+ boxes include only those of optgroup
and option
element child
+ nodes;optgroup
elements have an associated non-replaced block-level CSS box whose
+ child boxes include only those of option
element child nodes; andoption
element have an associated non-replaced block-level CSS box whose
+ child boxes are as normal for non-replaced block-level CSS boxes.items can be non-empty due to 'display:contents'.
Note that descendant nodes of most replaced elements (e.g., textarea
,
- select
, and video
— but not button
) are not rendered
+ input
, and video
— but not button
) are not rendered
by CSS, strictly speaking, and therefore have no CSS boxes for the purposes of this algorithm.
This algorithm is amenable to being generalized to work on Jian Li, Jim Jewett, Jim Ley,