Skip to content

Commit c869a20

Browse files
committed
[css-cascade-6] link proximity strength issue, and document WG leaning
1 parent efa7aab commit c869a20

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

css-cascade-6/Overview.bs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Cascade Sorting Order</h3>
184184
</ul>
185185
</dl>
186186

187-
Issue: Does <dfn>scope proximity</dfn> belong above or below specificity in the cascade?
187+
Issue(6790): Does <dfn>scope proximity</dfn> belong above or below specificity in the cascade?
188188

189189
The <dfn export>output of the cascade</dfn>
190190
is a (potentially empty) sorted list of <a>declared values</a> for each property on each element.
@@ -323,21 +323,23 @@ Scoped Styles</h2>
323323
-->
324324

325325
<h4 id='scope-atrule'>
326-
Strong Scoping: the ''@scope'' rule</h4>
326+
Scoping Styles: the ''@scope'' rule</h4>
327327

328328
The <dfn>@scope</dfn> [=block at-rule=]
329329
allows authors to scope style rules in CSS,
330-
with the application of [=scoping proximity=]
330+
with the application of [=weak scoping proximity=]
331331
between the [=scoping root=] and the [=subject=] of each style rule.
332332
<!-- This causes declarations [insert appropriate sentence from issue below]. -->
333333

334-
ISSUE: Should ''@scope'' use strong or weak scoping proximity?
334+
Issue(6790): Should ''@scope'' use strong or weak scoping proximity?
335335
[=Strong scoping proximity=] causes declarations to be weighted more strongly
336336
by scope proximity than by their selector’s specificity.
337337
[=Weak scoping proximity=] causes declarations of the same specificity
338338
to be weighted by proximity to their scoping root
339339
before falling back to source ordering,
340340
but declarations of higher specificity win over more tightly-scoped declarations.
341+
The Working Group currently leans towards weak proximity,
342+
and recommends that as a starting point for prototypes.
341343

342344
The syntax of the ''@scope'' rule is:
343345

@@ -466,10 +468,14 @@ Scoped Descendant Combinator</h4>
466468

467469
This combinator differs from the [=descendant combinator=]
468470
in that it applies [=weak scoping proximity=]
469-
to the relationship between ''A'' and <css>B</css>.
471+
to the relationship between <css>A</css> and <css>B</css>.
470472
It does not change the [=:scope element=].
471473

472-
ISSUE: Should the [=scoped descendant combinator=] use strong or weak scoping proximity? Should it even exist? It's defined here to work the way many people expected the regular [=descendant combinator=] to work...
474+
ISSUE: Should the [=scoped descendant combinator=]
475+
use strong or weak scoping proximity?
476+
Should it even exist?
477+
It's defined here to work the way many people expected
478+
the regular [=descendant combinator=] to work...
473479

474480
<div class="example">
475481
This means that style rules using the [=scoped descendant combinator=]

0 commit comments

Comments
 (0)