Skip to content

Commit 3f70d30

Browse files
committed
[css-lists-3][css-content-3] Note that counter inheritance / quote nesting operates on flat tree. w3c#2679
1 parent 848b8c6 commit 3f70d30

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

css-content-3/Overview.bs

+6-1
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,12 @@ The *-quote values of the content property</h4>
466466
If the depth is greater than the number of pairs,
467467
the last pair is repeated.
468468

469-
Note that this quoting depth is independent of the nesting of the source document or the formatting structure.
469+
Note that this quoting depth is independent of
470+
the nesting of the source document or the formatting structure.
471+
472+
Note: Quote nesting, like [[css-lists-3#inheriting-counters|counter inheritance]],
473+
operates on the “flattened element tree”
474+
in the context of the [[DOM]].
470475

471476
Some typographic styles require open quotation marks to be repeated
472477
before every paragraph of a quote spanning several paragraphs,

css-lists-3/Overview.bs

+4
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,10 @@ Inheriting Counters</h4>
993993
#counter-inheritance-example b.baz { color: blue; }
994994
</style>
995995

996+
Note: Counter inheritance, like regular CSS [=inheritance=],
997+
operates on the “flattened element tree”
998+
in the context of the [[DOM]].
999+
9961000
<h4 id="instantiating-counters">
9971001
Instantiating Counters</h4>
9981002

0 commit comments

Comments
 (0)