@@ -2475,8 +2475,8 @@ Switching form control sizing: the 'form-sizing' property</h3>
24752475
24762476 <pre class=propdef>
24772477 Name : form-sizing
2478- Value : auto | normal
2479- Initial : ''form-sizing/auto ''
2478+ Value : fixed | content
2479+ Initial : ''form-sizing/fixed ''
24802480 Applies to : [=elements with default preferred size=]
24812481 Inherited : no
24822482 Percentages : N/A
@@ -2493,14 +2493,14 @@ Switching form control sizing: the 'form-sizing' property</h3>
24932493 For example, in HTML <{textarea}> is an [=element with default preferred size=] .
24942494
24952495 <dl dfn-type=value dfn-for=form-sizing>
2496- <dt> <dfn>auto </dfn>
2496+ <dt> <dfn>fixed </dfn>
24972497 <dd>
24982498 The UA must apply the default preferred size to
24992499 an element if it is an
25002500 [=element with default preferred size=] and its
25012501 [=preferred size property=] value is 'auto' .
2502- Otherwise UA must behave the same as ''form-sizing/normal '' .
2503- <dt> <dfn>normal </dfn>
2502+ Otherwise UA must behave the same as ''form-sizing/content '' .
2503+ <dt> <dfn>content </dfn>
25042504 <dd>
25052505 The UA must not apply the default preferred size to an element.
25062506 If the element is an [=element with default preferred size=] and
@@ -2514,11 +2514,12 @@ Switching form control sizing: the 'form-sizing' property</h3>
25142514 <span class="fake-textarea auto"> ⎸</span>
25152515 <span class="fake-textarea auto"> The quick brown fox jumps over the lazy dog.</span>
25162516
2517- If ''form-sizing: normal '' is applied, the former should be:
2517+ If ''form-sizing: content '' is applied, the size of the former should fit to a text caret.
25182518 <span class="fake-textarea"> ⎸</span>
25192519
2520- If ''form-sizing: normal'' is applied and its width property has a fixed value like ''width: 10em'' ,
2521- the element height depends on the number of the content lines:
2520+ If ''form-sizing: content'' is applied and its width property has a fixed value like ''width: 10em'' ,
2521+ the element height depends on the number of the content lines:
2522+
25222523 <span class="fake-textarea normal"> The quick brown fox jumps over the lazy dog.⎸</span>
25232524 </div>
25242525
0 commit comments