diff --git a/index.bs b/index.bs index e3e6832..2401a64 100644 --- a/index.bs +++ b/index.bs @@ -178,6 +178,9 @@ urlPrefix: https://dom.spec.whatwg.org/#concept-; type: dfn; : Output :: Boolean + + 1. If |sr|'s [=start position=]'s [=root=] is not the same as |sr|'s [=end position=]'s [=root=], + 1. Return False 1. If |sr|'s [=end position=] [=StaticRange/position/is less than=] |sr|'s [=start position=], 1. Return False diff --git a/index.html b/index.html index a9dc255..acb9444 100644 --- a/index.html +++ b/index.html @@ -1662,7 +1662,7 @@
If sr’s start position is equal to sr’s end position,
+If sr’s start position's root is not the same as sr’s end position's root,
Return True
@@ -1684,6 +1684,13 @@If sr’s end position's + is less than sr’s start position,
+Return False
+If sr’s end position is less than sr’s start position,