Skip to content

Commit 55d42aa

Browse files
committed
[css-cascade-4][editorial] Fixed Bikeshed issues
1 parent c070592 commit 55d42aa

File tree

1 file changed

+26
-12
lines changed

1 file changed

+26
-12
lines changed

css-cascade-4/Overview.bs

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,30 @@ Informative Classes: ex
3131
</pre>
3232

3333
<pre class=link-defaults>
34+
spec:css-backgrounds-3;
35+
type:property;
36+
text:border
37+
text:border-image
38+
text:border-style
39+
text:border-bottom-width
40+
text:border-left-width
41+
text:border-right-width
42+
text:border-top-width
43+
type:value; for:border-style; text:dotted
3444
spec:css-values-3; type: value; text:ex
3545
spec:css-color-4; type:property; text:color
3646
spec:css-conditional-3; type:at-rule; text:@media
3747
spec:css-fonts-4; type:property;
3848
text:font-family
49+
text:font-size-adjust
3950
text:font-style
4051
spec:mediaqueries-4;
4152
type:type; text:<media-query>
4253
type:value; text:all; for:@media
43-
spec:css22; type:property; text:display
54+
spec:css-display-3; type:property; text:display
4455
spec:css-color-4; type:value; text:red
4556
spec:html; type:element; text:style
46-
spec:css-2021; type:dfn; text:vendor-prefixed
57+
spec:css-2025; type:dfn; text:vendor-prefixed
4758
spec:css-scoping-1; type:dfn; text:shadow tree
4859
</pre>
4960

@@ -234,7 +245,7 @@ Conditional ''@import'' Rules</h3>
234245

235246
The [=import conditions=] are given by
236247
<<media-query-list>>, which is parsed and interpreted as a <a>media query list</a>,
237-
and <<supports-condition>>, is parsed and interpreted as a [[supports query]].
248+
and <<supports-condition>>, is parsed and interpreted as a [=supports query=].
238249
If a <<declaration>> is given in place of a <<supports-condition>>,
239250
it must be interpreted as a <<supports-decl>>
240251
(i.e. the extra set of parentheses is implied)
@@ -994,7 +1005,7 @@ Cascade Sorting Order</h3>
9941005

9951006
<ul>
9961007
<li>Style sheets are ordered
997-
in [[final CSS style sheets]] order.
1008+
in [=final CSS style sheets=] order.
9981009
<li>Declarations from <a at-rule lt="@import">imported style sheets</a>
9991010
are ordered as if their style sheets were substituted in place of the ''@import'' rule.
10001011
<li>Declarations from style sheets independently linked by the originating document
@@ -1325,7 +1336,7 @@ Non-trivial changes since the <a href="https://www.w3.org/TR/2022/CR-css-cascade
13251336

13261337
<!-- to 11 Jan 2022 -->
13271338
* Clarify that all “aliases” of a property are reverted by ''revert''.
1328-
* Clarify that style sheets are ordered in [[final CSS style sheets]] order.
1339+
* Clarify that style sheets are ordered in [=final CSS style sheets=] order.
13291340

13301341
<h3 id="changes-2021-10">
13311342
Changes since the 15 Oct 2021 Working Draft</h3>
@@ -1418,7 +1429,7 @@ Changes Since the 14 January 2016 Candidate Recommendation</h3>
14181429
<dl>
14191430
<dt>user origin
14201431
<dd>
1421-
Rolls back the <del>cascade</del><ins><a>cascaded value</a><ins> to the user-agent level,
1432+
Rolls back the <del>cascade</del><ins><a>cascaded value</a></ins> to the user-agent level,
14221433
so that the <a>specified value</a> is calculated as if no author-level or user-level rules were specified for this property <ins>on this element</ins>.
14231434

14241435
<dt>author origin
@@ -1465,7 +1476,7 @@ Changes Since the 14 January 2016 Candidate Recommendation</h3>
14651476
as their properties are now observable distinct from their inline parent’s
14661477
via ''display: contents'' [[css-display-3]].
14671478
<blockquote>
1468-
<ins><p>For the purpose of this specification,
1479+
<ins>For the purpose of this specification,
14691480
<a>text nodes</a> are treated as <a spec=css-display-3>element</a> children of their associated element,
14701481
and possess the full set of properties;
14711482
since they cannot be targeted by selectors
@@ -1529,8 +1540,8 @@ Additions Since Level 2</h3>
15291540
and Boris Zbarsky
15301541
contributed to this specification.
15311542

1532-
<h2 class=no-num id=priv-sec>
1533-
Privacy and Security Considerations</h2>
1543+
<h2 class=no-num id=privacy>
1544+
Privacy Considerations</h2>
15341545

15351546
* The cascade process does not distinguish between same-origin and cross-origin stylesheets,
15361547
enabling the content of cross-origin stylesheets to be inferred
@@ -1540,12 +1551,15 @@ Privacy and Security Considerations</h2>
15401551
are exposed by the cascade process,
15411552
and can be inferred from the computed styles they apply to a document.
15421553

1543-
* The ''@import'' rule does not apply the [=CORS protocol=] to loading cross-origin stylesheets,
1544-
instead allowing them to be freely imported and applied.
1545-
15461554
* The ''@import'' rule assumes that resources without <a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#content-type"><code>Content-Type</code> metadata</a>
15471555
(or any same-origin file if the host document is in quirks mode)
15481556
are <code>text/css</code>,
15491557
potentially allowing arbitrary files to be imported into the page
15501558
and interpreted as CSS,
15511559
potentially allowing sensitive data to be inferred from the computed styles they apply to a document.
1560+
1561+
<h2 class=no-num id=security>
1562+
Security Considerations</h2>
1563+
1564+
* The ''@import'' rule does not apply the [=CORS protocol=] to loading cross-origin stylesheets,
1565+
instead allowing them to be freely imported and applied.

0 commit comments

Comments
 (0)