@@ -93,7 +93,7 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
9393 To apply the [=basic appearance=] on individual controls, the following code is used:
9494
9595 <pre class="lang-css">
96- input, textarea, meter, progress, button, select {
96+ input, textarea, meter, progress, button, select, fieldset, legend {
9797 appearance: base;
9898 }
9999 </pre>
@@ -119,7 +119,7 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
119119 color: rgb(131, 17, 0);
120120 }
121121
122- input, textarea, meter, progress, button, select {
122+ input, textarea, meter, progress, button, select, fieldset, legend {
123123 appearance: base;
124124 }
125125 </pre>
@@ -136,7 +136,7 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
136136 color: rgb(0, 249, 0);
137137 }
138138
139- input, textarea, meter, progress, button, select {
139+ input, textarea, meter, progress, button, select, fieldset, legend {
140140 appearance: base;
141141 }
142142 </pre>
@@ -295,6 +295,10 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
295295 <td> `<option> `</td>
296296 <td> ''::checkmark'' </td>
297297 </tr>
298+ <tr>
299+ <td> `<fieldset> ` and `<legend> `</td>
300+ <td></td>
301+ </tr>
298302 <tr>
299303 <td> Buttons</td>
300304 <td></td>
@@ -695,6 +699,14 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
695699 <span class="fake-textarea normal"> The quick brown fox jumps over the lazy dog.⎸</span>
696700 </div>
697701
702+ ## Fieldset layout ## {#fieldset-layout}
703+
704+ ISSUE: Move to HTML.
705+
706+ When a fieldset is in base appearance mode the layout and rendering behaviour as
707+ [defined] (https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements:the-fieldset-element-2) in the HTML
708+ specification, do not apply to the fieldset or its legend.
709+
698710## Changing the Orientation of a [=Slider-Like Control=] : ''slider-orientation'' ## {#slider-orientation}
699711
700712 ISSUE: Rework this property.
@@ -819,7 +831,9 @@ button,
819831::file-selector-button,
820832select,
821833meter,
822- progress {
834+ progress,
835+ fieldset,
836+ legend {
823837 color: inherit;
824838 font: inherit;
825839 box-sizing: border-box;
@@ -834,7 +848,8 @@ textarea,
834848button,
835849::file-selector-button,
836850::slider-track,
837- select {
851+ select,
852+ fieldset {
838853 border: 1px solid currentColor;
839854 background-color: transparent;
840855}
0 commit comments