Skip to content

Commit 9d65fd3

Browse files
committed
[css-content-3] Fix off-by-one error in quote depth of closing quotes. #2506
1 parent d9c56e9 commit 9d65fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-content-3/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ The *-quote values of the content property</h4>
487487
Which pair of quotes is used depends on the nesting level of quotes
488488
(the <dfn>quote depth</dfn>):
489489
the number of occurrences of ''open-quote'' in all generated text before the current occurrence,
490-
minus the number of occurrences of ''close-quote''.
490+
minus the number of occurrences of ''close-quote'' in all generated text before and including the current occurence.
491491
If the depth is 0, the first pair is used,
492492
if the depth is 1, the second pair is used, etc.
493493
If the depth is greater than the number of pairs,

0 commit comments

Comments
 (0)