Skip to content

Commit 21d7499

Browse files
authored
Move the step for menulist-button before menulist
Since menulist-button depends on computedAppearance, but menulist does not, menulist-button needs to be checked first.
1 parent 85eb8f9 commit 21d7499

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

css-ui-4/Overview.bs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,6 +2158,7 @@ The possible <dfn lt="kind of widget|kinds of widgets">kinds of widgets</dfn> ar
21582158
If |element| <a>can be a textfield</a>, given |computedAppearance|, then return the
21592159
<a>appropriate widget</a> with |authorProps| set to |authorProps|, |expected| set to
21602160
[=kind of widget/textfield=], and |fallback| set to [=kind of widget/none=].
2161+
<!-- textfield needs to come before searchfield -->
21612162

21622163
<li>
21632164
If |element| <a>can be a searchfield</a>, given |computedAppearance|, then return the
@@ -2181,13 +2182,14 @@ The possible <dfn lt="kind of widget|kinds of widgets">kinds of widgets</dfn> ar
21812182
with |authorProps| set to |authorProps|, |expected| set to [=kind of widget/listbox=], and |fallback|
21822183
set to [=kind of widget/none=].
21832184

2184-
<li>
2185-
If |element| <a>can be a menulist</a>, given |computedAppearance|, then return
2186-
[=kind of widget/menulist=].
2187-
21882185
<li>
21892186
If |element| <a>can be a menulist-button</a>, given |computedAppearance|, then return
21902187
[=kind of widget/menulist-button=].
2188+
<!-- menulist-button needs to come before menulist -->
2189+
2190+
<li>
2191+
If |element| <a>can be a menulist</a>, given |computedAppearance|, then return
2192+
[=kind of widget/menulist=].
21912193

21922194
<li>
21932195
If |element| <a>can be a textarea</a>, given |computedAppearance|, then return the <a>appropriate widget</a>

0 commit comments

Comments
 (0)