@@ -141,9 +141,9 @@ Importing Style Sheets: the ''@import'' rule</h2>
141141 <div class="example">
142142 The following <a href="#conditional-import">conditional <css>@import</css> rule</a>
143143 only loads the style sheet when the UA
144- <a href="https://www.w3.org/TR/css3 -conditional/#support-definition">supports</a> ''display: flex'' ,
144+ <a href="https://www.w3.org/TR/css -conditional-3 /#support-definition">supports</a> ''display: flex'' ,
145145 and only applies the style sheet on a <a href="https://www.w3.org/TR/CSS2/media.html#media-types">handheld</a> device
146- with a <a href="https://www.w3.org/TR/css3- mediaqueries/#width">maximum viewport width</a> of 400px.
146+ with a <a href="https://www.w3.org/TR/mediaqueries-4 /#width">maximum viewport width</a> of 400px.
147147
148148 <pre> @import url("narrow.css") supports(display: flex) handheld and (max-width: 400px);</pre>
149149 </div>
@@ -219,8 +219,8 @@ Conditional ''@import'' Rules</h3>
219219 </div>
220220
221221 The evaluation and full syntax of the <a>import conditions</a>
222- are defined by the <a href="https://www.w3.org/TR/css3- mediaqueries/">Media Queries</a> [[!MEDIAQ]]
223- and <a href="https://www.w3.org/TR/css-conditional/">CSS Conditional Rules</a> [[!CSS3 -CONDITIONAL]] specifications.
222+ are defined by the <a href="https://www.w3.org/TR/mediaqueries/">Media Queries</a> [[!MEDIAQ]]
223+ and <a href="https://www.w3.org/TR/css-conditional/">CSS Conditional Rules</a> [[!CSS -CONDITIONAL-3 ]] specifications.
224224
225225<h3 id=import-processing>
226226Processing Stylesheet Imports</h3>
@@ -328,7 +328,7 @@ Shorthand Properties</h2>
328328 to its initial value of ''border-image/none'' ,
329329 but has no syntax to set it to anything else. [[css-backgrounds-3]] </span>
330330
331- If a <a>shorthand</a> is specified as one of the <a href="https://www.w3.org/TR/css3 -values/#common-keywords">CSS-wide keywords</a> [[!css-values-3]] ,
331+ If a <a>shorthand</a> is specified as one of the <a href="https://www.w3.org/TR/css -values/#common-keywords">CSS-wide keywords</a> [[!css-values-3]] ,
332332 it sets all of its <a>sub-properties</a> to that keyword,
333333 including any that are <a>reset-only sub-properties</a> .
334334 (Note that these keywords cannot be combined with other values in a single declaration, not even in a shorthand.)
@@ -404,12 +404,12 @@ Resetting All Properties: the 'all' property</h3>
404404 The 'all' property is a <a>shorthand</a>
405405 that resets <em> all</em> CSS properties
406406 except 'direction' and 'unicode-bidi' .
407- It only accepts the <a href="https://www.w3.org/TR/css3 -values/#common-keywords">CSS-wide keywords</a> .
407+ It only accepts the <a href="https://www.w3.org/TR/css -values/#common-keywords">CSS-wide keywords</a> .
408408 It does not reset <a>custom properties</a> [[css-variables-1]] .
409409
410410 Note: The excepted CSS properties 'direction' and 'unicode-bidi'
411411 are actually markup-level features,
412- and <a href="https://www.w3.org/TR/css3 -writing-modes/#text-direction">should not be set in the author's style sheet</a> .
412+ and <a href="https://www.w3.org/TR/css -writing-modes-3 /#text-direction">should not be set in the author's style sheet</a> .
413413 (They exist as CSS properties only to style document languages not supported by the UA.)
414414 Authors should use the appropriate markup, such as HTML's <code> dir</code> attribute, instead.
415415 [[css-writing-modes-3]]
@@ -500,7 +500,8 @@ Declared Values</h3>
500500<h3 id="cascaded">
501501Cascaded Values</h3>
502502
503- The <dfn export local-lt="cascaded">cascaded value</dfn> represents the result of <a href="#cascade">the cascade</a> :
503+ The <dfn export local-lt="cascaded">cascaded value</dfn>
504+ represents the result of <a href="#cascade">the cascade</a> :
504505 it is the <a>declared value</a> that wins the cascade
505506 (is sorted first in the <a>output of the cascade</a> ).
506507 If the <a>output of the cascade</a> is an empty list,
@@ -509,7 +510,8 @@ Cascaded Values</h3>
509510<h3 id="specified">
510511Specified Values</h3>
511512
512- The <dfn export local-lt="specified">specified value</dfn> is the value of a given property that the style sheet authors intended for that element.
513+ The <dfn export local-lt="specified">specified value</dfn> is
514+ the value of a given property that the style sheet authors intended for that element.
513515 It is the result of putting the <a>cascaded value</a> through the <a href="#defaulting">defaulting</a> processes,
514516 guaranteeing that a <a>specified value</a> exists for every property on every element.
515517
@@ -524,7 +526,8 @@ Specified Values</h3>
524526<h3 id="computed">
525527Computed Values</h3>
526528
527- The <dfn export local-lt="computed">computed value</dfn> is the result of resolving the <a>specified value</a>
529+ The <dfn export local-lt="computed">computed value</dfn> is
530+ the result of resolving the <a>specified value</a>
528531 as defined in the “Computed Value” line of the property definition table,
529532 generally absolutizing it in preparation for <a>inheritance</a> .
530533
@@ -578,7 +581,8 @@ Computed Values</h3>
578581<h3 id='used'>
579582Used Values</h3>
580583
581- The <dfn export local-lt="used">used value</dfn> is the result of taking the <a>computed value</a>
584+ The <dfn export local-lt="used">used value</dfn> is
585+ the result of taking the <a>computed value</a>
582586 and completing any remaining calculations to make it the absolute theoretical value
583587 used in the formatting of the document.
584588
@@ -654,7 +658,8 @@ Actual Values</h3>
654658 and may therefore have to approximate the <a lt="used value">used</a> width.
655659 Also, the font size of an element may need adjustment based on the availability of fonts
656660 or the value of the 'font-size-adjust' property.</span>
657- The <dfn export local-lt="actual">actual value</dfn> is the used value after any such adjustments have been made.
661+ The <dfn export local-lt="actual">actual value</dfn> is
662+ the used value after any such adjustments have been made.
658663
659664 Note: By probing the actual values of elements,
660665 much can be learned about how the document is laid out.
@@ -805,7 +810,7 @@ Filtering</h2>
805810 It belongs to a style sheet that currently applies to this document.
806811
807812 <li>
808- It is not qualified by a conditional rule [[!CSS3 -CONDITIONAL]] with a false condition.
813+ It is not qualified by a conditional rule [[!CSS -CONDITIONAL-3 ]] with a false condition.
809814
810815 <li>
811816 It belongs to a style rule whose selector matches the element. [[!SELECT]]
@@ -893,34 +898,7 @@ Cascade Sorting Order</h3>
893898 can set defaults that are easily overridden by the outer context,
894899 while [=important=] declarations belonging to an [=encapsulation context=]
895900 can enforce requirements that cannot be overridden by the outer context.
896- <!--
897- <dt id='cascade-scope'> Scope
898- <dd>
899- A declaration can be <dfn export>scoped</dfn> to a subtree of the document
900- so that it only affects its <dfn export>scoping element</dfn> and that element's descendants.
901- For example, [[HTML]] defines scoped <code> <style></code> elements,
902- whose style sheets are scoped to the element's parent.
903-
904- If the <a>scoping elements</a> of two declarations
905- have an ancestor/descendant relationship,
906- then for [=normal=] rules the declaration whose <a>scoping element</a> is the descendant wins,
907- and for [=important=] rules the declaration whose <a>scoping element</a> is the ancestor wins.
908901
909- Note: In other words, for [=normal=] declarations the inner scope's declarations override,
910- but for ''!important'' rules <em> outer</em> scope's override.
911-
912- For the purpose of this step,
913- all unscoped declarations are considered to be <a>scoped</a> to the root element.
914- [=Normal=] declarations from style attributes
915- are considered to be <a>scoped</a> to the element with the attribute,
916- whereas important declarations from style attributes
917- are considered to be <a>scoped</a> to the root element.
918- [[!CSSSTYLEATTR]]
919-
920- Note: This odd handling of ''!important'' style attribute declarations
921- is to match the behavior defined in CSS Levels 1 and 2,
922- where style attributes simply have higher specificity than any other author rules. [[CSS2]]
923- -->
924902 <dt id='cascade-specificity'> Specificity
925903 <dd>
926904 The <a href="https://www.w3.org/TR/selectors/#specificity">Selectors module</a> [[!SELECT]] describes how to compute the specificity of a selector.
@@ -1160,7 +1138,7 @@ Explicit Defaulting</h3>
11601138
11611139 Several CSS-wide property values are defined below;
11621140 declaring a property to have these values explicitly specifies a particular defaulting behavior.
1163- As specified in <a href="https://www.w3.org/TR/css3 -values/#common-keywords">CSS Values and Units Level 3 </a> [[!css-values-3]] ,
1141+ As specified in <a href="https://www.w3.org/TR/css -values/#common-keywords">CSS Values and Units</a> [[!css-values-3]] ,
11641142 all CSS properties can accept these values.
11651143
11661144<h4 id="initial">
@@ -1186,7 +1164,7 @@ Erasing All Declarations: the ''unset'' keyword</h4>
11861164 (or all longhands of a <a>shorthand</a> ).
11871165
11881166<h4 id="default">
1189- Rolling Back The Cascade: the ''revert'' keyword</h4>
1167+ Rolling Back Cascade Origins : the ''revert'' keyword</h4>
11901168
11911169 If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-revert-value">''revert''</dfn> keyword,
11921170 the behavior depends on the [=cascade origin=] to which the declaration belongs:
0 commit comments