Skip to content

Commit 30c6f1b

Browse files
authored
[css-highlight-api-1] Clarify that ranges from the wrong window are not painted. (w3c#6499)
1 parent 15c441b commit 30c6f1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-highlight-api-1/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -489,10 +489,10 @@ Range Updating and Invalidation</h3>
489489
and recreating new ones.
490490
</div>
491491

492-
When computing how to render the document,
492+
When computing how to render a document,
493493
if [=start node=] or [=end node=] of any [=range=]
494-
in the [=highlight regsitry=]
495-
refer to a {{Node}} which is no longer [=in a document tree=],
494+
in the [=highlight registry=] associated with that document's window
495+
refer to a {{Node}} whose [=shadow-including root=] is not that document,
496496
the user agent must ignore that [=range=].
497497
If the [=start offset=] or [=end offset=] of any [=range=]
498498
are greater than the corresponding node’s <a spec=dom>length</a>,

0 commit comments

Comments
 (0)