Skip to content

Commit af776de

Browse files
authored
[css-highlight-api-1] Clarifying that user agents must not use live ranges internally for static ranges #4597 (#6545)
* Add note clarifying that user agents must not use live ranges internally for static ranges * Use spec reference syntax * Pull the note into the normative paragraph.
1 parent 5e4d591 commit af776de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

css-highlight-api-1/Overview.bs

+2
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,8 @@ Range Updating and Invalidation</h3>
540540
the user agent must not adjust the [=boundary points=] of {{StaticRange}}s
541541
in response to DOM changes,
542542
nor can they be modified by the author after creation.
543+
The user agent is expected to store the actual {{StaticRange}}s, rather than backing
544+
them up with live {{Range}}s.
543545

544546
<div class=advisement>
545547
Updating all {{Range}} objects as the DOM is modified

0 commit comments

Comments
 (0)