8000 [css-cascade-*] Consistently use 'precedence' rather than 'priority'. · w3c/csswg-drafts@a4910bf · GitHub
[go: up one dir, main page]

Skip to content

Commit a4910bf

Browse files
committed
[css-cascade-*] Consistently use 'precedence' rather than 'priority'.
1 parent 8ae210f commit a4910bf

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

css-cascade-3/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ Cascading</h2>
699699
Cascade Sorting Order</h3>
700700

701701
The cascade sorts declarations according to the following criteria,
702-
in descending order of priority:
702+
in descending order of precedence:
703703

704704
<dl>
705705
<dt id='cascade-origin'>Origin and Importance

css-cascade-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ Cascading</h2>
935935
Cascade Sorting Order</h3>
936936

937937
The cascade sorts declarations according to the following criteria,
938-
in descending order of priority:
938+
in descending order of precedence:
939939

940940
<dl>
941941
<dt id='cascade-origin'>Origin and Importance

css-cascade-5/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ Cascading</h2>
937937
Cascade Sorting Order</h3>
938938

939939
The cascade sorts declarations according to the following criteria,
940-
in descending order of priority:
940+
in descending order of precedence:
941941

942942
<dl>
943943
<dt id='cascade-origin'>Origin and Importance
@@ -1244,7 +1244,7 @@ Cascade Layers</h3>
12441244
<div class="example">
12451245
For example,
12461246
authors could override the animation from a framework,
1247-
by providing keyframes with the same name in a higher-priority layer:
1247+
by providing keyframes with the same name in a higher-precedence layer:
12481248

12491249
<pre class='lang-css'>
12501250
/* establish the layer order, so the "override" layer takes precedence */
@@ -1268,7 +1268,7 @@ Cascade Layers</h3>
12681268
</pre>
12691269

12701270
In this case the ''override'' layer
1271-
has a higher cascade priority than the ''framework'' layer,
1271+
has a higher cascade precedence than the ''framework'' layer,
12721272
so <code>slide-left</code> will animate
12731273
using the <code>translate</code> property rather than <code>margin-left</code>.
12741274
</div>
@@ -1513,7 +1513,7 @@ Layer Ordering</h4>
15131513
The outer layers are sorted first,
15141514
with any unlayered style rules
15151515
added to an implicit outer layer which
1516-
has higher priority than (comes after) the explicit layers:
1516+
has higher precedence than (comes after) the explicit layers:
15171517

15181518
1. ''reset''
15191519
2. ''framework''
@@ -1872,7 +1872,7 @@ Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
18721872
and the intervening [=animation origin=],
18731873
and not any of the intervening [=author-origin=] [=important=] rules.
18741874

1875-
Note: If there are no lower-priority declarations
1875+
Note: If there are no lower-precedence declarations
18761876
in the same [=cascade origin=] as the ''revert-layer'' value,
18771877
the <a>cascaded value</a> will roll back to the previous origin.
18781878

@@ -2025,7 +2025,7 @@ Changes since the 19 March 2021 Working Draft</h3>
20252025
Significant changes since the <a href="https://www.w3.org/TR/2021/WD-css-cascade-5-20210319/">19 March 2021 Working Draft</a> include:
20262026

20272027
* Switched the ordering of unlayered styles
2028-
from highest to lowest priority in the normal origins.
2028+
from highest to lowest precedence in the normal origins.
20292029
(<a href="https://github.com/w3c/csswg-drafts/issues/6284">Issue 6284</a>)
20302030

20312031
<h3 id="changes-2021-01">

css-cascade-6/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Cascading</h2>
6565
Cascade Sorting Order</h3>
6666

6767
The cascade sorts declarations according to the following criteria,
68-
in descending order of priority:
68+
in descending order of precedence:
6969

7070
<dl>
7171
<dt id='cascade-origin'>Origin and Importance

0 commit comments

Comments
 (0)
0