Skip to content

Commit 06d9422

Browse files
committed
[css-cascade] Consolidate bits of applies-to text. Editorial.
1 parent 81becd5 commit 06d9422

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

css-cascade-3/Overview.bs

+7-8
Original file line numberDiff line numberDiff line change
@@ -422,19 +422,16 @@ Computed Values</h3>
422422
such as resolving network requests
423423
or retrieving values other than from the element and its parent.
424424

425-
The <a>computed value</a> exists even when the property does not apply
426-
(as defined by the “Applies To” line).
425+
The <a>computed value</a> exists even when the property does not apply.
427426
However, some properties may change how they determine the <a>computed value</a>
428-
based on whether the property applies to the element.
427+
based on whether the property [=applies to=] the element.
429428

430429
<h3 id='used'>
431430
Used Values</h3>
432431

433432
The <dfn export>used value</dfn> is the result of taking the <a>computed value</a>
434433
and completing any remaining calculations to make it the absolute theoretical value
435434
used in the layout of the document.
436-
If the property does not apply to this element,
437-
then the element has no <a>used value</a> for that property.
438435

439436
<p class='example'>
440437
For example, a declaration of ''width: auto'' can't be resolved into a length without knowing the layout of the element's ancestors,
@@ -445,10 +442,12 @@ Used Values</h3>
445442
As another example, a <code>&lt;div></code> might have a computed 'break-before' value of ''auto'',
446443
but acquire a used 'break-before' value of ''break-before/page'' by propagation from its first child. [[css-break-3]]
447444

445+
If the property does not apply to this element or box type
446+
(as defined by its “Applies To” line),
447+
then it has no <a>used value</a> for that property.
448+
448449
<p class='example'>
449-
Lastly, if a property does not apply to an element,
450-
it has no <a>used value</a>;
451-
so, for example, the 'flex' property has no <a>used value</a>
450+
For example, the 'flex' property has no <a>used value</a>
452451
on elements that aren't <a>flex items</a>.
453452

454453
<h3 id="actual">

css-cascade-4/Overview.bs

+7-8
Original file line numberDiff line numberDiff line change
@@ -536,19 +536,16 @@ Computed Values</h3>
536536
such as resolving network requests
537537
or retrieving values other than from the element and its parent.
538538

539-
The <a>computed value</a> exists even when the property does not apply
540-
(as defined by the “Applies To” line).
539+
The <a>computed value</a> exists even when the property does not apply.
541540
However, some properties may change how they determine the <a>computed value</a>
542-
based on whether the property applies to the element.
541+
based on whether the property [=applies to=] the element.
543542

544543
<h3 id='used'>
545544
Used Values</h3>
546545

547546
The <dfn export>used value</dfn> is the result of taking the <a>computed value</a>
548547
and completing any remaining calculations to make it the absolute theoretical value
549548
used in the layout of the document.
550-
If the property does not apply to this element,
551-
then the element has no <a>used value</a> for that property.
552549

553550
<p class='example'>
554551
For example, a declaration of ''width: auto'' can't be resolved into a length without knowing the layout of the element's ancestors,
@@ -559,10 +556,12 @@ Used Values</h3>
559556
As another example, a <code>&lt;div></code> might have a computed 'break-before' value of ''auto'',
560557
but acquire a used 'break-before' value of ''break-before/page'' by propagation from its first child. [[css-break-3]]
561558

559+
If the property does not apply to this element or box type
560+
(as defined by its “Applies To” line),
561+
then it has no <a>used value</a> for that property.
562+
562563
<p class='example'>
563-
Lastly, if a property does not apply to an element,
564-
it has no <a>used value</a>;
565-
so, for example, the 'flex' property has no <a>used value</a>
564+
For example, the 'flex' property has no <a>used value</a>
566565
on elements that aren't <a>flex items</a>.
567566

568567
<h3 id="actual">

0 commit comments

Comments
 (0)