Skip to content

Commit 0b7727a

Browse files
tkent-googlefrivoal
authored andcommitted
Rename form-sizing to field-sizing
1 parent 8765fc7 commit 0b7727a

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

css-ui-4/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2470,13 +2470,13 @@ Effects of 'appearance' on Semantic Aspects of Elements</h4>
24702470
</div>
24712471

24722472

2473-
<h3 id="form-sizing">
2474-
Switching form control sizing: the 'form-sizing' property</h3>
2473+
<h3 id="field-sizing">
2474+
Switching form control sizing: the 'field-sizing' property</h3>
24752475

24762476
<pre class=propdef>
2477-
Name: form-sizing
2477+
Name: field-sizing
24782478
Value: fixed | content
2479-
Initial: ''form-sizing/fixed''
2479+
Initial: ''field-sizing/fixed''
24802480
Applies to: [=elements with default preferred size=]
24812481
Inherited: no
24822482
Percentages: N/A
@@ -2492,14 +2492,14 @@ Switching form control sizing: the 'form-sizing' property</h3>
24922492
The host language defines which elements are applicable to it.
24932493
For example, in HTML <{textarea}> is an [=element with default preferred size=].
24942494

2495-
<dl dfn-type=value dfn-for=form-sizing>
2495+
<dl dfn-type=value dfn-for=field-sizing>
24962496
<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/content''.
2502+
Otherwise UA must behave the same as ''field-sizing/content''.
25032503
<dt><dfn>content</dfn>
25042504
<dd>
25052505
The UA must not apply the default preferred size to an element.
@@ -2514,10 +2514,10 @@ Switching form control sizing: the 'form-sizing' property</h3>
25142514
<span class="fake-textarea auto">&#x23B8;</span>
25152515
<span class="fake-textarea auto">The quick brown fox jumps over the lazy dog.</span>
25162516

2517-
If ''form-sizing: content'' is applied, the size of the former should fit to a text caret.
2517+
If ''field-sizing: content'' is applied, the size of the former should fit to a text caret.
25182518
<span class="fake-textarea">&#x23B8;</span>
25192519

2520-
If ''form-sizing: content'' is applied and its width property has a fixed value like ''width: 10em'',
2520+
If ''field-sizing: content'' is applied and its width property has a fixed value like ''width: 10em'',
25212521
the element height depends on the number of the content lines:
25222522

25232523
<span class="fake-textarea normal">The quick brown fox jumps over the lazy dog.&#x23B8;</span>
@@ -2723,7 +2723,7 @@ Changes from the <a href="https://www.w3.org/TR/2021/WD-css-ui-4-20210316/">16 M
27232723
Added the ''outline-color/auto'' value of 'outline-color'.
27242724

27252725
<li>
2726-
Added 'form-sizing' property.
2726+
Added 'field-sizing' property.
27272727
</ul>
27282728

27292729

0 commit comments

Comments
 (0)