Skip to content

Commit

Permalink
[css-cascade] mention what it means to not apply, add explicit ID #1861
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Sep 11, 2020
1 parent ab6f44a commit 33d558a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions css-cascade-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ Used Values</h3>

The <dfn export>used value</dfn> is the result of taking the <a>computed value</a>
and completing any remaining calculations to make it the absolute theoretical value
used in the layout of the document.
used in the formatting of the document.

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

If the property does not <dfn lt="apply to | applies to">apply to</dfn>
this element or box type
(as defined by its “Applies To” line),
then it has no <a>used value</a> for that property.
If a property does not <dfn id="applies-to" lt="apply to | applies to">apply to</dfn>
this element or box type--
as noted in its “Applies to” line--
then it has no formatting effect on that type of box or element,
and therefore has no <a>used value</a> for that property.

<p class='example'>
For example, the 'flex' property has no <a>used value</a>
Expand Down
11 changes: 6 additions & 5 deletions css-cascade-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ Used Values</h3>

The <dfn export>used value</dfn> is the result of taking the <a>computed value</a>
and completing any remaining calculations to make it the absolute theoretical value
used in the layout of the document.
used in the formatting of the document.

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

If the property does not <dfn lt="apply to | applies to">apply to</dfn>
this element or box type
(as defined by its “Applies To” line),
then it has no <a>used value</a> for that property.
If a property does not <dfn lt="applies to | apply to">apply to</dfn>
this element or box type--
as noted in its “Applies to” line--
then it has no formatting effect on that type of box or element,
and therefore has no <a>used value</a> for that property.

<p class='example'>
For example, the 'flex' property has no <a>used value</a>
Expand Down

0 comments on commit 33d558a

Please sign in to comment.