You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If bp is after the range’s end, or if range’s root is not equal to node’s root, set range’s end to bp.
(and similar for "set the end")
This implies that implementations should check if "bp is after the range’s end", however the first step of comparing boundary points is to "Assert: nodeA and nodeB have the same root.".
I would suggest this be re-ordered to:
If range’s root is not equal to node’s root, or if bp is after the range’s end, set range’s end to bp.
(and similar for "set the end")
The text was updated successfully, but these errors were encountered:
In https://dom.spec.whatwg.org/#concept-range-bp-set:
(and similar for "set the end")
This implies that implementations should check if "bp is after the range’s end", however the first step of comparing boundary points is to "Assert: nodeA and nodeB have the same root.".
I would suggest this be re-ordered to:
(and similar for "set the end")
The text was updated successfully, but these errors were encountered: