| OLD | NEW |
| (Empty) |
| 1 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 2 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 3 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 4 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 5 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 6 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 7 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 8 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 9 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 10 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 11 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 12 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 13 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 14 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 15 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 16 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 17 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 18 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 19 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 20 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 21 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 22 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 23 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 24 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 25 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 26 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 27 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 28 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 29 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 30 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 31 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 32 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 33 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 34 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 35 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 36 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 37 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 38 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 39 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 40 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 41 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 42 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 43 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 44 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 45 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 46 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 47 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 48 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 49 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 50 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 51 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 52 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 53 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 54 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 55 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 56 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 57 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 58 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 59 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 60 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 61 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 62 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 63 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 64 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 65 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 66 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 67 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 68 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 69 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 70 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 71 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 72 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 73 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 74 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 75 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 76 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 77 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 78 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 79 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 80 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 81 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 82 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 83 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 84 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 85 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 86 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 87 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 88 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 89 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 90 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 91 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 92 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 93 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 94 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 95 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 96 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 97 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 98 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 99 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 100 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 101 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 102 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 103 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 104 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 105 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 106 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 107 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 108 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 109 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 110 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 111 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 112 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 113 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 114 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 115 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 116 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 117 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 118 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 119 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 120 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 121 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 122 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 123 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 124 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 125 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 126 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 127 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 128 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 129 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 130 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 131 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 132 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 133 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 134 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 135 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 136 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 137 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 138 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 139 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 140 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 141 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 142 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 143 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 144 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 145 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 146 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 147 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 148 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 149 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 150 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 151 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 152 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 153 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 154 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 155 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 156 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 157 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 158 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 159 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 160 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 161 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 162 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 163 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 164 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 165 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 166 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 167 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 168 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 169 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 170 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 171 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 172 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 173 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 174 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 175 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 176 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 177 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 178 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 179 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 180 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 181 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 182 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 183 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 184 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 185 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 186 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 187 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 188 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 189 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 190 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 191 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 192 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 193 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 194 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 195 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 196 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 197 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 198 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 199 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 200 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 201 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 202 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 203 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 204 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 205 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 206 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 207 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 208 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 209 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 210 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 211 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 212 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 213 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 214 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 215 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 216 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 217 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 218 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 219 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 220 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 221 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 222 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 223 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 224 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 225 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 226 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 227 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 228 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 229 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 230 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 231 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 232 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 233 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 234 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 235 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 236 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 237 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 238 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 239 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 240 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 241 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 242 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 243 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 244 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 245 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 246 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 247 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 248 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 249 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 250 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 251 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 252 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 253 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 254 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 255 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 256 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 257 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 258 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 259 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 260 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 261 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 262 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 263 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 264 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 265 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 266 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 267 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 268 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 269 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 270 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 271 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 272 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 273 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 274 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 275 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 276 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 277 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 278 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 279 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 280 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 281 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 282 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 283 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 284 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 285 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 286 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 287 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 288 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 289 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 290 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 291 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 292 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 293 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 294 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 295 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 296 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 297 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 298 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 299 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 300 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 301 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 302 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 303 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 304 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 305 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 306 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 307 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 308 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 309 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 310 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 311 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 312 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 313 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 314 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 315 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 316 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 317 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 318 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 319 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 320 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 321 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 322 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 323 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 324 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 325 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 326 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 327 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 328 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 329 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 330 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 331 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 332 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 333 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 334 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 335 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 336 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 337 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 338 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 339 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 340 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 341 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 342 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 343 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 344 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 345 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 346 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 347 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 348 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 349 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 350 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 351 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 352 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 353 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 354 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 355 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 356 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 357 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 358 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 359 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 360 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 361 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 362 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 363 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 364 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 365 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 366 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 367 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 368 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 369 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 370 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 371 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 372 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 373 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 374 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 375 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 376 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 377 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 378 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 379 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 380 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 381 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 382 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 383 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 384 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 385 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 386 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 387 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 388 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 389 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 390 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 391 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 392 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 393 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 394 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 395 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 396 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 397 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 398 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 399 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 400 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 401 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 402 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 403 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 404 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 405 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 406 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 407 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 408 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 409 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 410 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 411 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 412 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 413 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 414 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 415 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 416 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 417 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 418 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 419 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 420 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 421 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 422 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 423 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 424 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 425 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 426 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 427 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 428 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 429 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 430 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 431 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 432 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 433 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 434 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 435 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 436 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 437 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 438 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 439 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 440 CONSOLE ERROR: line 8: The given range isn't in document. | |
| 441 This is a testharness.js-based test. | |
| 442 PASS Set up range 0 [] | |
| 443 PASS Set up range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] | |
| 444 PASS Set up range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] | |
| 445 PASS Set up range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] | |
| 446 PASS Set up range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] | |
| 447 PASS Set up range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] | |
| 448 PASS Set up range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] | |
| 449 PASS Set up range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] | |
| 450 PASS Set up range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] | |
| 451 PASS Set up range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] | |
| 452 PASS Set up range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] | |
| 453 PASS Set up range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] | |
| 454 PASS Set up range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] | |
| 455 PASS Set up range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] | |
| 456 PASS Set up range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] | |
| 457 PASS Set up range 15 [document.documentElement, 0, document.documentElement, 1] | |
| 458 PASS Set up range 16 [document.documentElement, 0, document.documentElement, 2] | |
| 459 PASS Set up range 17 [document.documentElement, 1, document.documentElement, 2] | |
| 460 PASS Set up range 18 [document.head, 1, document.head, 1] | |
| 461 PASS Set up range 19 [document.body, 0, document.body, 1] | |
| 462 PASS Set up range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement,
1] | |
| 463 PASS Set up range 21 [foreignDoc.head, 1, foreignDoc.head, 1] | |
| 464 PASS Set up range 22 [foreignDoc.body, 0, foreignDoc.body, 0] | |
| 465 PASS Set up range 23 [paras[0], 0, paras[0], 0] | |
| 466 PASS Set up range 24 [paras[0], 0, paras[0], 1] | |
| 467 PASS Set up range 25 [detachedPara1, 0, detachedPara1, 0] | |
| 468 PASS Set up range 26 [detachedPara1, 0, detachedPara1, 1] | |
| 469 PASS Set up range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] | |
| 470 PASS Set up range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] | |
| 471 PASS Set up range 29 [paras[0].firstChild, 3, paras[3], 1] | |
| 472 PASS Range 0 [], point 0 [paras[0].firstChild, -1] | |
| 473 PASS Range 0 [], point 1 [paras[0].firstChild, 0] | |
| 474 FAIL Range 0 [], point 2 [paras[0].firstChild, 1] assert_equals: focusOffset mus
t equal the offset we collapse()d to expected 1 but got 2 | |
| 475 PASS Range 0 [], point 3 [paras[0].firstChild, 2] | |
| 476 PASS Range 0 [], point 4 [paras[0].firstChild, 8] | |
| 477 FAIL Range 0 [], point 5 [paras[0].firstChild, 9] assert_equals: focusOffset mus
t equal the offset we collapse()d to expected 9 but got 10 | |
| 478 PASS Range 0 [], point 6 [paras[0].firstChild, 10] | |
| 479 PASS Range 0 [], point 7 [paras[0].firstChild, 65535] | |
| 480 PASS Range 0 [], point 8 [paras[1].firstChild, -1] | |
| 481 FAIL Range 0 [], point 9 [paras[1].firstChild, 0] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | |
| 482 " but got Text node "Qrstuvwx" | |
| 483 FAIL Range 0 [], point 10 [paras[1].firstChild, 1] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | |
| 484 " but got Text node "Qrstuvwx" | |
| 485 FAIL Range 0 [], point 11 [paras[1].firstChild, 2] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | |
| 486 " but got Text node "Qrstuvwx" | |
| 487 FAIL Range 0 [], point 12 [paras[1].firstChild, 8] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | |
| 488 " but got Text node "Qrstuvwx" | |
| 489 FAIL Range 0 [], point 13 [paras[1].firstChild, 9] assert_equals: focusNode must
equal the node we collapse()d to expected Text node "Ijklmnop | |
| 490 " but got Text node "Qrstuvwx" | |
| 491 PASS Range 0 [], point 14 [paras[1].firstChild, 10] | |
| 492 PASS Range 0 [], point 15 [paras[1].firstChild, 65535] | |
| 493 FAIL Range 0 [], point 16 [detachedPara1.firstChild, 0] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 494 FAIL Range 0 [], point 17 [detachedPara1.firstChild, 1] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 495 FAIL Range 0 [], point 18 [detachedPara1.firstChild, 8] assert_equals: selection
.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 496 PASS Range 0 [], point 19 [detachedPara1.firstChild, 9] | |
| 497 FAIL Range 0 [], point 20 [foreignPara1.firstChild, 0] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 498 FAIL Range 0 [], point 21 [foreignPara1.firstChild, 1] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 499 FAIL Range 0 [], point 22 [foreignPara1.firstChild, 8] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 500 PASS Range 0 [], point 23 [foreignPara1.firstChild, 9] | |
| 501 PASS Range 0 [], point 24 [document.documentElement, -1] | |
| 502 FAIL Range 0 [], point 25 [document.documentElement, 0] assert_equals: focusNode
must equal the node we collapse()d to expected Element node <html><head><title>
Selection.collapse() tests</title> | |
| 503 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 504 " | |
| 505 FAIL Range 0 [], point 26 [document.documentElement, 1] assert_equals: focusNode
must equal the node we collapse()d to expected Element node <html><head><title>
Selection.collapse() tests</title> | |
| 506 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 507 " | |
| 508 FAIL Range 0 [], point 27 [document.documentElement, 2] assert_equals: focusNode
must equal the node we collapse()d to expected Element node <html><head><title>
Selection.collapse() tests</title> | |
| 509 <me... but got Text node "Qrstuvwx" | |
| 510 PASS Range 0 [], point 28 [document.documentElement, 7] | |
| 511 FAIL Range 0 [], point 29 [document.head, 1] assert_equals: focusNode must equal
the node we collapse()d to expected Element node <head><title>Selection.collaps
e() tests</title> | |
| 512 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 513 " | |
| 514 FAIL Range 0 [], point 30 [document.body, 3] assert_equals: focusNode must equal
the node we collapse()d to expected Element node <body><div id="test"><p id="a"
>Äb̈c̈d̈ëf̈g̈ḧ | |
| 515 </p><p id... but got Text node "Qrstuvwx" | |
| 516 FAIL Range 0 [], point 31 [foreignDoc.documentElement, 0] assert_equals: selecti
on.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 517 FAIL Range 0 [], point 32 [foreignDoc.documentElement, 1] assert_equals: selecti
on.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 518 FAIL Range 0 [], point 33 [foreignDoc.head, 0] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | |
| 519 FAIL Range 0 [], point 34 [foreignDoc.body, 1] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | |
| 520 FAIL Range 0 [], point 35 [paras[0], 0] assert_equals: focusNode must equal the
node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 521 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 522 " | |
| 523 FAIL Range 0 [], point 36 [paras[0], 1] assert_equals: focusNode must equal the
node we collapse()d to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 524 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 525 " | |
| 526 PASS Range 0 [], point 37 [paras[0], 2] | |
| 527 FAIL Range 0 [], point 38 [paras[1], 0] assert_equals: focusNode must equal the
node we collapse()d to expected Element node <p id="b" style="display:none">Ijkl
mnop | |
| 528 </p> but got Text node "Qrstuvwx" | |
| 529 FAIL Range 0 [], point 39 [paras[1], 1] assert_equals: focusNode must equal the
node we collapse()d to expected Element node <p id="b" style="display:none">Ijkl
mnop | |
| 530 </p> but got Text node "Qrstuvwx" | |
| 531 PASS Range 0 [], point 40 [paras[1], 2] | |
| 532 FAIL Range 0 [], point 41 [detachedPara1, 0] assert_equals: selection.rangeCount
must equal 1 after collapse() expected 1 but got 0 | |
| 533 FAIL Range 0 [], point 42 [detachedPara1, 1] assert_equals: selection.rangeCount
must equal 1 after collapse() expected 1 but got 0 | |
| 534 FAIL Range 0 [], point 43 [testDiv, 0] assert_equals: focusNode must equal the n
ode we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf
̈g̈ḧ | |
| 535 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 536 " | |
| 537 FAIL Range 0 [], point 44 [testDiv, 3] assert_equals: focusNode must equal the n
ode we collapse()d to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf
̈g̈ḧ | |
| 538 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 539 PASS Range 0 [], point 45 [document, -1] | |
| 540 FAIL Range 0 [], point 46 [document, 0] assert_equals: focusNode must equal the
node we collapse()d to expected Document node with 2 children but got Text node
"Äb̈c̈d̈ëf̈g̈ḧ | |
| 541 " | |
| 542 FAIL Range 0 [], point 47 [document, 1] assert_equals: focusNode must equal the
node we collapse()d to expected Document node with 2 children but got Text node
"Äb̈c̈d̈ëf̈g̈ḧ | |
| 543 " | |
| 544 FAIL Range 0 [], point 48 [document, 2] assert_equals: focusNode must equal the
node we collapse()d to expected Document node with 2 children but got Text node
"Qrstuvwx" | |
| 545 PASS Range 0 [], point 49 [document, 3] | |
| 546 PASS Range 0 [], point 50 [comment, -1] | |
| 547 FAIL Range 0 [], point 51 [comment, 0] assert_equals: focusNode must equal the n
ode we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text n
ode "Qrstuvwx" | |
| 548 FAIL Range 0 [], point 52 [comment, 4] assert_equals: focusNode must equal the n
ode we collapse()d to expected Comment node <!--Alphabet soup?--> but got Text n
ode "Qrstuvwx" | |
| 549 PASS Range 0 [], point 53 [comment, 96] | |
| 550 FAIL Range 0 [], point 54 [foreignDoc, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | |
| 551 FAIL Range 0 [], point 55 [foreignDoc, 1] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | |
| 552 FAIL Range 0 [], point 56 [foreignComment, 2] assert_equals: selection.rangeCoun
t must equal 1 after collapse() expected 1 but got 0 | |
| 553 FAIL Range 0 [], point 57 [foreignTextNode, 0] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | |
| 554 FAIL Range 0 [], point 58 [foreignTextNode, 36] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 | |
| 555 PASS Range 0 [], point 59 [xmlDoc, -1] | |
| 556 FAIL Range 0 [], point 60 [xmlDoc, 0] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 | |
| 557 FAIL Range 0 [], point 61 [xmlDoc, 1] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 | |
| 558 PASS Range 0 [], point 62 [xmlDoc, 5] | |
| 559 FAIL Range 0 [], point 63 [xmlComment, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | |
| 560 FAIL Range 0 [], point 64 [xmlComment, 4] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | |
| 561 FAIL Range 0 [], point 65 [processingInstruction, 0] assert_equals: selection.ra
ngeCount must equal 1 after collapse() expected 1 but got 0 | |
| 562 FAIL Range 0 [], point 66 [processingInstruction, 5] assert_equals: selection.ra
ngeCount must equal 1 after collapse() expected 1 but got 0 | |
| 563 FAIL Range 0 [], point 67 [processingInstruction, 9] assert_equals: selection.ra
ngeCount must equal 1 after collapse() expected 1 but got 0 | |
| 564 FAIL Range 0 [], point 68 [detachedTextNode, 0] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 | |
| 565 FAIL Range 0 [], point 69 [detachedTextNode, 8] assert_equals: selection.rangeCo
unt must equal 1 after collapse() expected 1 but got 0 | |
| 566 FAIL Range 0 [], point 70 [detachedForeignTextNode, 0] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 567 FAIL Range 0 [], point 71 [detachedForeignTextNode, 8] assert_equals: selection.
rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 568 FAIL Range 0 [], point 72 [detachedXmlTextNode, 0] assert_equals: selection.rang
eCount must equal 1 after collapse() expected 1 but got 0 | |
| 569 FAIL Range 0 [], point 73 [detachedXmlTextNode, 8] assert_equals: selection.rang
eCount must equal 1 after collapse() expected 1 but got 0 | |
| 570 FAIL Range 0 [], point 74 [detachedProcessingInstruction, 12] assert_equals: sel
ection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 571 FAIL Range 0 [], point 75 [detachedComment, 3] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | |
| 572 FAIL Range 0 [], point 76 [detachedComment, 5] assert_equals: selection.rangeCou
nt must equal 1 after collapse() expected 1 but got 0 | |
| 573 FAIL Range 0 [], point 77 [detachedForeignComment, 0] assert_equals: selection.r
angeCount must equal 1 after collapse() expected 1 but got 0 | |
| 574 FAIL Range 0 [], point 78 [detachedForeignComment, 4] assert_equals: selection.r
angeCount must equal 1 after collapse() expected 1 but got 0 | |
| 575 FAIL Range 0 [], point 79 [detachedXmlComment, 2] assert_equals: selection.range
Count must equal 1 after collapse() expected 1 but got 0 | |
| 576 FAIL Range 0 [], point 80 [docfrag, 0] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | |
| 577 FAIL Range 0 [], point 81 [foreignDocfrag, 0] assert_equals: selection.rangeCoun
t must equal 1 after collapse() expected 1 but got 0 | |
| 578 FAIL Range 0 [], point 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount mu
st equal 1 after collapse() expected 1 but got 0 | |
| 579 PASS Range 0 [], point 83 [doctype, 0] | |
| 580 FAIL Range 0 [], point 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_
TYPE_ERR when collapse()ing if the node is a DocumentType function "function ()
{ | |
| 581 selection.collapse(point[0], point[1]); | |
| 582 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 583 PASS Range 0 [], point 85 [doctype, 1] | |
| 584 PASS Range 0 [], point 86 [foreignDoctype, 0] | |
| 585 PASS Range 0 [], point 87 [xmlDoctype, 0] | |
| 586 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 0 [paras[0]
.firstChild, -1] | |
| 587 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 1 [paras[0]
.firstChild, 0] | |
| 588 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 589 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 3 [paras[0]
.firstChild, 2] | |
| 590 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 4 [paras[0]
.firstChild, 8] | |
| 591 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 592 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 6 [paras[0]
.firstChild, 10] | |
| 593 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] | |
| 594 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 8 [paras[1]
.firstChild, -1] | |
| 595 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 596 " but got Text node "Qrstuvwx" | |
| 597 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 598 " but got Text node "Qrstuvwx" | |
| 599 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 600 " but got Text node "Qrstuvwx" | |
| 601 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 602 " but got Text node "Qrstuvwx" | |
| 603 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 604 " but got Text node "Qrstuvwx" | |
| 605 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 14 [paras[1
].firstChild, 10] | |
| 606 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 15 [paras[1
].firstChild, 65535] | |
| 607 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 608 " | |
| 609 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 610 " | |
| 611 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 612 " | |
| 613 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] | |
| 614 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 615 " | |
| 616 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 617 " | |
| 618 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 619 " | |
| 620 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] | |
| 621 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 24 [documen
t.documentElement, -1] | |
| 622 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 623 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 624 " | |
| 625 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 626 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 627 " | |
| 628 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 629 <me... but got Text node "Qrstuvwx" | |
| 630 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 28 [documen
t.documentElement, 7] | |
| 631 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 29 [documen
t.head, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <head><title>Selection.collapse() tests</title> | |
| 632 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 633 " | |
| 634 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 30 [documen
t.body, 3] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 635 </p><p id... but got Text node "Qrstuvwx" | |
| 636 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 637 " | |
| 638 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 639 " | |
| 640 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈
ḧ | |
| 641 " | |
| 642 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 643 " | |
| 644 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 645 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 646 " | |
| 647 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 648 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 649 " | |
| 650 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 37 [paras[0
], 2] | |
| 651 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 652 </p> but got Text node "Qrstuvwx" | |
| 653 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 654 </p> but got Text node "Qrstuvwx" | |
| 655 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 40 [paras[1
], 2] | |
| 656 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 657 " | |
| 658 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 659 " | |
| 660 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 661 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 662 " | |
| 663 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 664 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 665 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 45 [documen
t, -1] | |
| 666 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 46 [documen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 667 " | |
| 668 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 47 [documen
t, 1] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 669 " | |
| 670 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 48 [documen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Qrstuvwx" | |
| 671 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 49 [documen
t, 3] | |
| 672 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 50 [comment
, -1] | |
| 673 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 674 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 675 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 53 [comment
, 96] | |
| 676 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 677 " | |
| 678 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 679 " | |
| 680 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 681 " | |
| 682 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 683 " | |
| 684 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 685 " | |
| 686 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 59 [xmlDoc,
-1] | |
| 687 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 688 " | |
| 689 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 690 " | |
| 691 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 62 [xmlDoc,
5] | |
| 692 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 693 " | |
| 694 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 695 " | |
| 696 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 697 " | |
| 698 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 699 " | |
| 700 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 701 " | |
| 702 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 703 " | |
| 704 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 705 " | |
| 706 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 707 " | |
| 708 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 709 " | |
| 710 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 711 " | |
| 712 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 713 " | |
| 714 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 715 " | |
| 716 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 717 " | |
| 718 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 719 " | |
| 720 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 721 " | |
| 722 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 723 " | |
| 724 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Äb̈c̈
d̈ëf̈g̈ḧ | |
| 725 " | |
| 726 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 727 " | |
| 728 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 729 " | |
| 730 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 731 " | |
| 732 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 83 [doctype
, 0] | |
| 733 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 734 selection.collapse(point[0], point[1]); | |
| 735 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 736 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 85 [doctype
, 1] | |
| 737 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 86 [foreign
Doctype, 0] | |
| 738 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0], point 87 [xmlDoct
ype, 0] | |
| 739 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 0 [paras[0]
.firstChild, -1] | |
| 740 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 1 [paras[0]
.firstChild, 0] | |
| 741 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 742 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 3 [paras[0]
.firstChild, 2] | |
| 743 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 4 [paras[0]
.firstChild, 8] | |
| 744 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 745 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 6 [paras[0]
.firstChild, 10] | |
| 746 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] | |
| 747 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 8 [paras[1]
.firstChild, -1] | |
| 748 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 749 " but got Text node "Qrstuvwx" | |
| 750 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 751 " but got Text node "Qrstuvwx" | |
| 752 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 753 " but got Text node "Qrstuvwx" | |
| 754 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 755 " but got Text node "Qrstuvwx" | |
| 756 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 757 " but got Text node "Qrstuvwx" | |
| 758 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 14 [paras[1
].firstChild, 10] | |
| 759 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 15 [paras[1
].firstChild, 65535] | |
| 760 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 761 " | |
| 762 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 763 " | |
| 764 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 765 " | |
| 766 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] | |
| 767 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 768 " | |
| 769 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 770 " | |
| 771 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 772 " | |
| 773 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] | |
| 774 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 24 [documen
t.documentElement, -1] | |
| 775 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 776 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 777 " | |
| 778 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 779 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 780 " | |
| 781 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 782 <me... but got Text node "Qrstuvwx" | |
| 783 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 28 [documen
t.documentElement, 7] | |
| 784 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 29 [documen
t.head, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <head><title>Selection.collapse() tests</title> | |
| 785 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 786 " | |
| 787 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 30 [documen
t.body, 3] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 788 </p><p id... but got Text node "Qrstuvwx" | |
| 789 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 790 " | |
| 791 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 792 " | |
| 793 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈
ḧ | |
| 794 " | |
| 795 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 796 " | |
| 797 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 798 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 799 " | |
| 800 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 801 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 802 " | |
| 803 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 37 [paras[0
], 2] | |
| 804 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 805 </p> but got Text node "Qrstuvwx" | |
| 806 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 807 </p> but got Text node "Qrstuvwx" | |
| 808 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 40 [paras[1
], 2] | |
| 809 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 810 " | |
| 811 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 812 " | |
| 813 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 814 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 815 " | |
| 816 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 817 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 818 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 45 [documen
t, -1] | |
| 819 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 46 [documen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 820 " | |
| 821 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 47 [documen
t, 1] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 822 " | |
| 823 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 48 [documen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Qrstuvwx" | |
| 824 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 49 [documen
t, 3] | |
| 825 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 50 [comment
, -1] | |
| 826 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 827 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 828 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 53 [comment
, 96] | |
| 829 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 830 " | |
| 831 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 832 " | |
| 833 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 834 " | |
| 835 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 836 " | |
| 837 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 838 " | |
| 839 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 59 [xmlDoc,
-1] | |
| 840 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 841 " | |
| 842 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 843 " | |
| 844 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 62 [xmlDoc,
5] | |
| 845 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 846 " | |
| 847 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 848 " | |
| 849 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 850 " | |
| 851 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 852 " | |
| 853 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 854 " | |
| 855 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 856 " | |
| 857 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 858 " | |
| 859 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 860 " | |
| 861 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 862 " | |
| 863 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 864 " | |
| 865 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 866 " | |
| 867 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 868 " | |
| 869 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 870 " | |
| 871 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 872 " | |
| 873 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 874 " | |
| 875 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 876 " | |
| 877 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Äb̈c̈
d̈ëf̈g̈ḧ | |
| 878 " | |
| 879 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 880 " | |
| 881 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 882 " | |
| 883 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 884 " | |
| 885 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 83 [doctype
, 0] | |
| 886 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 887 selection.collapse(point[0], point[1]); | |
| 888 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 889 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 85 [doctype
, 1] | |
| 890 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 86 [foreign
Doctype, 0] | |
| 891 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1], point 87 [xmlDoct
ype, 0] | |
| 892 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 0 [paras[0]
.firstChild, -1] | |
| 893 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 1 [paras[0]
.firstChild, 0] | |
| 894 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 895 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 3 [paras[0]
.firstChild, 2] | |
| 896 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 4 [paras[0]
.firstChild, 8] | |
| 897 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 898 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 6 [paras[0]
.firstChild, 10] | |
| 899 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] | |
| 900 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 8 [paras[1]
.firstChild, -1] | |
| 901 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 902 " but got Text node "Qrstuvwx" | |
| 903 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 904 " but got Text node "Qrstuvwx" | |
| 905 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 906 " but got Text node "Qrstuvwx" | |
| 907 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 908 " but got Text node "Qrstuvwx" | |
| 909 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 910 " but got Text node "Qrstuvwx" | |
| 911 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 14 [paras[1
].firstChild, 10] | |
| 912 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 15 [paras[1
].firstChild, 65535] | |
| 913 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 914 " | |
| 915 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 916 " | |
| 917 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 918 " | |
| 919 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] | |
| 920 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 921 " | |
| 922 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 923 " | |
| 924 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 925 " | |
| 926 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] | |
| 927 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 24 [documen
t.documentElement, -1] | |
| 928 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 929 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 930 " | |
| 931 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 932 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 933 " | |
| 934 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 935 <me... but got Text node "Qrstuvwx" | |
| 936 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 28 [documen
t.documentElement, 7] | |
| 937 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 29 [documen
t.head, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <head><title>Selection.collapse() tests</title> | |
| 938 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 939 " | |
| 940 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 30 [documen
t.body, 3] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 941 </p><p id... but got Text node "Qrstuvwx" | |
| 942 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 943 " | |
| 944 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 945 " | |
| 946 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈
ḧ | |
| 947 " | |
| 948 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 949 " | |
| 950 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 951 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 952 " | |
| 953 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 954 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 955 " | |
| 956 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 37 [paras[0
], 2] | |
| 957 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 958 </p> but got Text node "Qrstuvwx" | |
| 959 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 960 </p> but got Text node "Qrstuvwx" | |
| 961 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 40 [paras[1
], 2] | |
| 962 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 963 " | |
| 964 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 965 " | |
| 966 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 967 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 968 " | |
| 969 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 970 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 971 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 45 [documen
t, -1] | |
| 972 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 46 [documen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 973 " | |
| 974 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 47 [documen
t, 1] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 975 " | |
| 976 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 48 [documen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Qrstuvwx" | |
| 977 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 49 [documen
t, 3] | |
| 978 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 50 [comment
, -1] | |
| 979 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 980 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 981 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 53 [comment
, 96] | |
| 982 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 983 " | |
| 984 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 985 " | |
| 986 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 987 " | |
| 988 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 989 " | |
| 990 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 991 " | |
| 992 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 59 [xmlDoc,
-1] | |
| 993 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 994 " | |
| 995 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 996 " | |
| 997 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 62 [xmlDoc,
5] | |
| 998 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 999 " | |
| 1000 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1001 " | |
| 1002 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 1003 " | |
| 1004 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 1005 " | |
| 1006 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 1007 " | |
| 1008 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1009 " | |
| 1010 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1011 " | |
| 1012 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1013 " | |
| 1014 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1015 " | |
| 1016 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1017 " | |
| 1018 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1019 " | |
| 1020 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1021 " | |
| 1022 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1023 " | |
| 1024 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1025 " | |
| 1026 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 1027 " | |
| 1028 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 1029 " | |
| 1030 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Äb̈c̈
d̈ëf̈g̈ḧ | |
| 1031 " | |
| 1032 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1033 " | |
| 1034 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1035 " | |
| 1036 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1037 " | |
| 1038 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 83 [doctype
, 0] | |
| 1039 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 1040 selection.collapse(point[0], point[1]); | |
| 1041 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 1042 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 85 [doctype
, 1] | |
| 1043 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 86 [foreign
Doctype, 0] | |
| 1044 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8], point 87 [xmlDoct
ype, 0] | |
| 1045 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 0 [paras[0]
.firstChild, -1] | |
| 1046 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 1 [paras[0]
.firstChild, 0] | |
| 1047 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 1048 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 3 [paras[0]
.firstChild, 2] | |
| 1049 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 4 [paras[0]
.firstChild, 8] | |
| 1050 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 1051 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 6 [paras[0]
.firstChild, 10] | |
| 1052 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] | |
| 1053 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 8 [paras[1]
.firstChild, -1] | |
| 1054 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 1055 " but got Text node "Qrstuvwx" | |
| 1056 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1057 " but got Text node "Qrstuvwx" | |
| 1058 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1059 " but got Text node "Qrstuvwx" | |
| 1060 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1061 " but got Text node "Qrstuvwx" | |
| 1062 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1063 " but got Text node "Qrstuvwx" | |
| 1064 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 14 [paras[1
].firstChild, 10] | |
| 1065 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 15 [paras[1
].firstChild, 65535] | |
| 1066 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1067 " | |
| 1068 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1069 " | |
| 1070 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1071 " | |
| 1072 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] | |
| 1073 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1074 " | |
| 1075 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1076 " | |
| 1077 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1078 " | |
| 1079 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] | |
| 1080 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 24 [documen
t.documentElement, -1] | |
| 1081 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1082 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1083 " | |
| 1084 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1085 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1086 " | |
| 1087 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1088 <me... but got Text node "Qrstuvwx" | |
| 1089 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 28 [documen
t.documentElement, 7] | |
| 1090 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 29 [documen
t.head, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <head><title>Selection.collapse() tests</title> | |
| 1091 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1092 " | |
| 1093 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 30 [documen
t.body, 3] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1094 </p><p id... but got Text node "Qrstuvwx" | |
| 1095 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1096 " | |
| 1097 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1098 " | |
| 1099 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Text node "Äb̈c̈d̈ëf̈g̈
ḧ | |
| 1100 " | |
| 1101 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1102 " | |
| 1103 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1104 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1105 " | |
| 1106 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1107 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1108 " | |
| 1109 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 37 [paras[0
], 2] | |
| 1110 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1111 </p> but got Text node "Qrstuvwx" | |
| 1112 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1113 </p> but got Text node "Qrstuvwx" | |
| 1114 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 40 [paras[1
], 2] | |
| 1115 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1116 " | |
| 1117 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1118 " | |
| 1119 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1120 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1121 " | |
| 1122 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1123 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1124 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 45 [documen
t, -1] | |
| 1125 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 46 [documen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1126 " | |
| 1127 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 47 [documen
t, 1] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1128 " | |
| 1129 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 48 [documen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Qrstuvwx" | |
| 1130 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 49 [documen
t, 3] | |
| 1131 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 50 [comment
, -1] | |
| 1132 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1133 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1134 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 53 [comment
, 96] | |
| 1135 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1136 " | |
| 1137 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1138 " | |
| 1139 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1140 " | |
| 1141 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1142 " | |
| 1143 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1144 " | |
| 1145 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 59 [xmlDoc,
-1] | |
| 1146 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1147 " | |
| 1148 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1149 " | |
| 1150 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 62 [xmlDoc,
5] | |
| 1151 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1152 " | |
| 1153 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1154 " | |
| 1155 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 1156 " | |
| 1157 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 1158 " | |
| 1159 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Äb̈c̈d̈
ëf̈g̈ḧ | |
| 1160 " | |
| 1161 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1162 " | |
| 1163 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1164 " | |
| 1165 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1166 " | |
| 1167 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1168 " | |
| 1169 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1170 " | |
| 1171 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1172 " | |
| 1173 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1174 " | |
| 1175 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1176 " | |
| 1177 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1178 " | |
| 1179 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 1180 " | |
| 1181 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 1182 " | |
| 1183 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Äb̈c̈
d̈ëf̈g̈ḧ | |
| 1184 " | |
| 1185 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1186 " | |
| 1187 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1188 " | |
| 1189 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1190 " | |
| 1191 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 83 [doctype
, 0] | |
| 1192 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 1193 selection.collapse(point[0], point[1]); | |
| 1194 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 1195 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 85 [doctype
, 1] | |
| 1196 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 86 [foreign
Doctype, 0] | |
| 1197 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9], point 87 [xmlDoct
ype, 0] | |
| 1198 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0]
.firstChild, -1] | |
| 1199 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0]
.firstChild, 0] | |
| 1200 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 1201 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0]
.firstChild, 2] | |
| 1202 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0]
.firstChild, 8] | |
| 1203 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 1204 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0]
.firstChild, 10] | |
| 1205 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0]
.firstChild, 65535] | |
| 1206 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1]
.firstChild, -1] | |
| 1207 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1]
.firstChild, 0] | |
| 1208 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1209 " but got Text node "Qrstuvwx" | |
| 1210 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1211 " but got Text node "Qrstuvwx" | |
| 1212 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1213 " but got Text node "Qrstuvwx" | |
| 1214 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1215 " but got Text node "Qrstuvwx" | |
| 1216 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[1
].firstChild, 10] | |
| 1217 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[1
].firstChild, 65535] | |
| 1218 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1219 " | |
| 1220 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1221 " | |
| 1222 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1223 " | |
| 1224 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 19 [detache
dPara1.firstChild, 9] | |
| 1225 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1226 " | |
| 1227 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1228 " | |
| 1229 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1230 " | |
| 1231 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 23 [foreign
Para1.firstChild, 9] | |
| 1232 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 24 [documen
t.documentElement, -1] | |
| 1233 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1234 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1235 " | |
| 1236 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1237 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1238 " | |
| 1239 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1240 <me... but got Text node "Qrstuvwx" | |
| 1241 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 28 [documen
t.documentElement, 7] | |
| 1242 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 29 [documen
t.head, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <head><title>Selection.collapse() tests</title> | |
| 1243 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1244 " | |
| 1245 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 30 [documen
t.body, 3] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1246 </p><p id... but got Text node "Qrstuvwx" | |
| 1247 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Ijklmnop | |
| 1248 " | |
| 1249 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Ijklmnop | |
| 1250 " | |
| 1251 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Text node "Ijklmnop | |
| 1252 " | |
| 1253 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop | |
| 1254 " | |
| 1255 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1256 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1257 " | |
| 1258 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1259 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1260 " | |
| 1261 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[0
], 2] | |
| 1262 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1263 </p> but got Text node "Qrstuvwx" | |
| 1264 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1265 </p> but got Text node "Qrstuvwx" | |
| 1266 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[1
], 2] | |
| 1267 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 1268 " | |
| 1269 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 1270 " | |
| 1271 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1272 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1273 " | |
| 1274 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1275 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1276 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 45 [documen
t, -1] | |
| 1277 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 46 [documen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1278 " | |
| 1279 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 47 [documen
t, 1] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1280 " | |
| 1281 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 48 [documen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Qrstuvwx" | |
| 1282 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 49 [documen
t, 3] | |
| 1283 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 50 [comment
, -1] | |
| 1284 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1285 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1286 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 53 [comment
, 96] | |
| 1287 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 1288 " | |
| 1289 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 1290 " | |
| 1291 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Text node "Ijklmnop | |
| 1292 " | |
| 1293 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Ijklmnop | |
| 1294 " | |
| 1295 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Ijklmnop | |
| 1296 " | |
| 1297 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc,
-1] | |
| 1298 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Ijklmnop | |
| 1299 " | |
| 1300 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Ijklmnop | |
| 1301 " | |
| 1302 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc,
5] | |
| 1303 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Ijklmnop | |
| 1304 " | |
| 1305 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Ijklmnop | |
| 1306 " | |
| 1307 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1308 " | |
| 1309 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1310 " | |
| 1311 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1312 " | |
| 1313 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 1314 " | |
| 1315 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 1316 " | |
| 1317 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 1318 " | |
| 1319 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 1320 " | |
| 1321 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 1322 " | |
| 1323 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 1324 " | |
| 1325 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Ijklmnop | |
| 1326 " | |
| 1327 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 1328 " | |
| 1329 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 1330 " | |
| 1331 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 1332 " | |
| 1333 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 1334 " | |
| 1335 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmn
op | |
| 1336 " | |
| 1337 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Ijklmnop | |
| 1338 " | |
| 1339 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 1340 " | |
| 1341 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 1342 " | |
| 1343 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 83 [doctype
, 0] | |
| 1344 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 1345 selection.collapse(point[0], point[1]); | |
| 1346 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 1347 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 85 [doctype
, 1] | |
| 1348 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 86 [foreign
Doctype, 0] | |
| 1349 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoct
ype, 0] | |
| 1350 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 0 [paras[0]
.firstChild, -1] | |
| 1351 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 1 [paras[0]
.firstChild, 0] | |
| 1352 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 1353 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 3 [paras[0]
.firstChild, 2] | |
| 1354 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 4 [paras[0]
.firstChild, 8] | |
| 1355 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 1356 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 6 [paras[0]
.firstChild, 10] | |
| 1357 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 7 [paras[0]
.firstChild, 65535] | |
| 1358 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 8 [paras[1]
.firstChild, -1] | |
| 1359 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 1360 " but got Text node "Qrstuvwx" | |
| 1361 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1362 " but got Text node "Qrstuvwx" | |
| 1363 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1364 " but got Text node "Qrstuvwx" | |
| 1365 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1366 " but got Text node "Qrstuvwx" | |
| 1367 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1368 " but got Text node "Qrstuvwx" | |
| 1369 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 14 [paras[1
].firstChild, 10] | |
| 1370 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 15 [paras[1
].firstChild, 65535] | |
| 1371 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1372 " | |
| 1373 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1374 " | |
| 1375 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1376 " | |
| 1377 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 19 [detache
dPara1.firstChild, 9] | |
| 1378 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1379 " | |
| 1380 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1381 " | |
| 1382 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1383 " | |
| 1384 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 23 [foreign
Para1.firstChild, 9] | |
| 1385 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 24 [documen
t.documentElement, -1] | |
| 1386 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1387 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1388 " | |
| 1389 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1390 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1391 " | |
| 1392 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1393 <me... but got Text node "Qrstuvwx" | |
| 1394 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 28 [documen
t.documentElement, 7] | |
| 1395 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 29 [documen
t.head, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <head><title>Selection.collapse() tests</title> | |
| 1396 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1397 " | |
| 1398 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 30 [documen
t.body, 3] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1399 </p><p id... but got Text node "Qrstuvwx" | |
| 1400 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Ijklmnop | |
| 1401 " | |
| 1402 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Ijklmnop | |
| 1403 " | |
| 1404 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Text node "Ijklmnop | |
| 1405 " | |
| 1406 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop | |
| 1407 " | |
| 1408 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1409 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1410 " | |
| 1411 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1412 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1413 " | |
| 1414 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 37 [paras[0
], 2] | |
| 1415 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1416 </p> but got Text node "Qrstuvwx" | |
| 1417 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1418 </p> but got Text node "Qrstuvwx" | |
| 1419 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 40 [paras[1
], 2] | |
| 1420 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 1421 " | |
| 1422 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 1423 " | |
| 1424 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1425 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1426 " | |
| 1427 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1428 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1429 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 45 [documen
t, -1] | |
| 1430 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 46 [documen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1431 " | |
| 1432 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 47 [documen
t, 1] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1433 " | |
| 1434 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 48 [documen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Qrstuvwx" | |
| 1435 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 49 [documen
t, 3] | |
| 1436 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 50 [comment
, -1] | |
| 1437 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1438 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1439 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 53 [comment
, 96] | |
| 1440 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 1441 " | |
| 1442 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 1443 " | |
| 1444 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Text node "Ijklmnop | |
| 1445 " | |
| 1446 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Ijklmnop | |
| 1447 " | |
| 1448 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Ijklmnop | |
| 1449 " | |
| 1450 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 59 [xmlDoc,
-1] | |
| 1451 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Ijklmnop | |
| 1452 " | |
| 1453 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Ijklmnop | |
| 1454 " | |
| 1455 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 62 [xmlDoc,
5] | |
| 1456 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Ijklmnop | |
| 1457 " | |
| 1458 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Ijklmnop | |
| 1459 " | |
| 1460 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1461 " | |
| 1462 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1463 " | |
| 1464 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1465 " | |
| 1466 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 1467 " | |
| 1468 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 1469 " | |
| 1470 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 1471 " | |
| 1472 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 1473 " | |
| 1474 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 1475 " | |
| 1476 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 1477 " | |
| 1478 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Ijklmnop | |
| 1479 " | |
| 1480 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 1481 " | |
| 1482 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 1483 " | |
| 1484 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 1485 " | |
| 1486 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 1487 " | |
| 1488 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmn
op | |
| 1489 " | |
| 1490 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Ijklmnop | |
| 1491 " | |
| 1492 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 1493 " | |
| 1494 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 1495 " | |
| 1496 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 83 [doctype
, 0] | |
| 1497 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 1498 selection.collapse(point[0], point[1]); | |
| 1499 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 1500 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 85 [doctype
, 1] | |
| 1501 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 86 [foreign
Doctype, 0] | |
| 1502 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1], point 87 [xmlDoct
ype, 0] | |
| 1503 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 0 [paras[0]
.firstChild, -1] | |
| 1504 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 1 [paras[0]
.firstChild, 0] | |
| 1505 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 1506 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 3 [paras[0]
.firstChild, 2] | |
| 1507 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 4 [paras[0]
.firstChild, 8] | |
| 1508 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 1509 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 6 [paras[0]
.firstChild, 10] | |
| 1510 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 7 [paras[0]
.firstChild, 65535] | |
| 1511 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 8 [paras[1]
.firstChild, -1] | |
| 1512 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 1513 " but got Text node "Qrstuvwx" | |
| 1514 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1515 " but got Text node "Qrstuvwx" | |
| 1516 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1517 " but got Text node "Qrstuvwx" | |
| 1518 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1519 " but got Text node "Qrstuvwx" | |
| 1520 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1521 " but got Text node "Qrstuvwx" | |
| 1522 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 14 [paras[1
].firstChild, 10] | |
| 1523 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 15 [paras[1
].firstChild, 65535] | |
| 1524 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1525 " | |
| 1526 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1527 " | |
| 1528 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1529 " | |
| 1530 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 19 [detache
dPara1.firstChild, 9] | |
| 1531 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1532 " | |
| 1533 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1534 " | |
| 1535 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1536 " | |
| 1537 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 23 [foreign
Para1.firstChild, 9] | |
| 1538 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 24 [documen
t.documentElement, -1] | |
| 1539 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1540 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1541 " | |
| 1542 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1543 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1544 " | |
| 1545 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1546 <me... but got Text node "Qrstuvwx" | |
| 1547 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 28 [documen
t.documentElement, 7] | |
| 1548 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 29 [documen
t.head, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <head><title>Selection.collapse() tests</title> | |
| 1549 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1550 " | |
| 1551 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 30 [documen
t.body, 3] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1552 </p><p id... but got Text node "Qrstuvwx" | |
| 1553 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Ijklmnop | |
| 1554 " | |
| 1555 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Ijklmnop | |
| 1556 " | |
| 1557 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Text node "Ijklmnop | |
| 1558 " | |
| 1559 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop | |
| 1560 " | |
| 1561 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1562 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1563 " | |
| 1564 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1565 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1566 " | |
| 1567 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 37 [paras[0
], 2] | |
| 1568 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1569 </p> but got Text node "Qrstuvwx" | |
| 1570 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1571 </p> but got Text node "Qrstuvwx" | |
| 1572 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 40 [paras[1
], 2] | |
| 1573 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 1574 " | |
| 1575 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 1576 " | |
| 1577 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1578 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1579 " | |
| 1580 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1581 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1582 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 45 [documen
t, -1] | |
| 1583 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 46 [documen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1584 " | |
| 1585 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 47 [documen
t, 1] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1586 " | |
| 1587 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 48 [documen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Qrstuvwx" | |
| 1588 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 49 [documen
t, 3] | |
| 1589 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 50 [comment
, -1] | |
| 1590 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1591 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1592 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 53 [comment
, 96] | |
| 1593 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 1594 " | |
| 1595 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 1596 " | |
| 1597 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Text node "Ijklmnop | |
| 1598 " | |
| 1599 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Ijklmnop | |
| 1600 " | |
| 1601 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Ijklmnop | |
| 1602 " | |
| 1603 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 59 [xmlDoc,
-1] | |
| 1604 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Ijklmnop | |
| 1605 " | |
| 1606 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Ijklmnop | |
| 1607 " | |
| 1608 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 62 [xmlDoc,
5] | |
| 1609 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Ijklmnop | |
| 1610 " | |
| 1611 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Ijklmnop | |
| 1612 " | |
| 1613 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1614 " | |
| 1615 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1616 " | |
| 1617 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1618 " | |
| 1619 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 1620 " | |
| 1621 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 1622 " | |
| 1623 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 1624 " | |
| 1625 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 1626 " | |
| 1627 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 1628 " | |
| 1629 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 1630 " | |
| 1631 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Ijklmnop | |
| 1632 " | |
| 1633 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 1634 " | |
| 1635 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 1636 " | |
| 1637 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 1638 " | |
| 1639 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 1640 " | |
| 1641 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmn
op | |
| 1642 " | |
| 1643 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Ijklmnop | |
| 1644 " | |
| 1645 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 1646 " | |
| 1647 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 1648 " | |
| 1649 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 83 [doctype
, 0] | |
| 1650 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 1651 selection.collapse(point[0], point[1]); | |
| 1652 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 1653 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 85 [doctype
, 1] | |
| 1654 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 86 [foreign
Doctype, 0] | |
| 1655 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8], point 87 [xmlDoct
ype, 0] | |
| 1656 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 0 [paras[0]
.firstChild, -1] | |
| 1657 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 1 [paras[0]
.firstChild, 0] | |
| 1658 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 1659 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 3 [paras[0]
.firstChild, 2] | |
| 1660 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 4 [paras[0]
.firstChild, 8] | |
| 1661 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 1662 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 6 [paras[0]
.firstChild, 10] | |
| 1663 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 7 [paras[0]
.firstChild, 65535] | |
| 1664 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 8 [paras[1]
.firstChild, -1] | |
| 1665 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 1666 " but got Text node "Qrstuvwx" | |
| 1667 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1668 " but got Text node "Qrstuvwx" | |
| 1669 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1670 " but got Text node "Qrstuvwx" | |
| 1671 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1672 " but got Text node "Qrstuvwx" | |
| 1673 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 1674 " but got Text node "Qrstuvwx" | |
| 1675 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 14 [paras[1
].firstChild, 10] | |
| 1676 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 15 [paras[1
].firstChild, 65535] | |
| 1677 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1678 " | |
| 1679 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1680 " | |
| 1681 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 1682 " | |
| 1683 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 19 [detache
dPara1.firstChild, 9] | |
| 1684 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1685 " | |
| 1686 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1687 " | |
| 1688 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 1689 " | |
| 1690 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 23 [foreign
Para1.firstChild, 9] | |
| 1691 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 24 [documen
t.documentElement, -1] | |
| 1692 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 25 [documen
t.documentElement, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1693 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1694 " | |
| 1695 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 26 [documen
t.documentElement, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1696 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1697 " | |
| 1698 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 27 [documen
t.documentElement, 2] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1699 <me... but got Text node "Qrstuvwx" | |
| 1700 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 28 [documen
t.documentElement, 7] | |
| 1701 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 29 [documen
t.head, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <head><title>Selection.collapse() tests</title> | |
| 1702 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1703 " | |
| 1704 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 30 [documen
t.body, 3] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1705 </p><p id... but got Text node "Qrstuvwx" | |
| 1706 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 31 [foreign
Doc.documentElement, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Ijklmnop | |
| 1707 " | |
| 1708 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 32 [foreign
Doc.documentElement, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <html><head><title></title></head><body><p>Efghijkl
</p><p... but got Text node "Ijklmnop | |
| 1709 " | |
| 1710 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 33 [foreign
Doc.head, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <head><title></title></head> but got Text node "Ijklmnop | |
| 1711 " | |
| 1712 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 34 [foreign
Doc.body, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... b
ut got Text node "Ijklmnop | |
| 1713 " | |
| 1714 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 35 [paras[0
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1715 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1716 " | |
| 1717 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 36 [paras[0
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1718 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1719 " | |
| 1720 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 37 [paras[0
], 2] | |
| 1721 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 38 [paras[1
], 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1722 </p> but got Text node "Qrstuvwx" | |
| 1723 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 39 [paras[1
], 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <p id="b" style="display:none">Ijklmnop | |
| 1724 </p> but got Text node "Qrstuvwx" | |
| 1725 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 40 [paras[1
], 2] | |
| 1726 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 41 [detache
dPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 1727 " | |
| 1728 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 42 [detache
dPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 1729 " | |
| 1730 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 43 [testDiv
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1731 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1732 " | |
| 1733 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 44 [testDiv
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1734 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1735 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 45 [documen
t, -1] | |
| 1736 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 46 [documen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1737 " | |
| 1738 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 47 [documen
t, 1] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1739 " | |
| 1740 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 48 [documen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Do
cument node with 2 children but got Text node "Qrstuvwx" | |
| 1741 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 49 [documen
t, 3] | |
| 1742 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 50 [comment
, -1] | |
| 1743 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 51 [comment
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1744 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 52 [comment
, 4] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1745 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 53 [comment
, 96] | |
| 1746 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 54 [foreign
Doc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 1747 " | |
| 1748 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 55 [foreign
Doc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 1749 " | |
| 1750 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 56 [foreign
Comment, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--"Commenter" and "commentator" mean different things. I'v..
.--> but got Text node "Ijklmnop | |
| 1751 " | |
| 1752 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 57 [foreign
TextNode, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Text node "I admit that I harbor doubts about whether we really need..." bu
t got Text node "Ijklmnop | |
| 1753 " | |
| 1754 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 58 [foreign
TextNode, 36] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Ijklmnop | |
| 1755 " | |
| 1756 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 59 [xmlDoc,
-1] | |
| 1757 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 60 [xmlDoc,
0] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Ijklmnop | |
| 1758 " | |
| 1759 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 61 [xmlDoc,
1] assert_equals: focusNode must equal the node we collapse()d to expected Docu
ment node with 4 children but got Text node "Ijklmnop | |
| 1760 " | |
| 1761 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 62 [xmlDoc,
5] | |
| 1762 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 63 [xmlComm
ent, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Ijklmnop | |
| 1763 " | |
| 1764 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 64 [xmlComm
ent, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...-->
but got Text node "Ijklmnop | |
| 1765 " | |
| 1766 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 65 [process
ingInstruction, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1767 " | |
| 1768 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 66 [process
ingInstruction, 5] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1769 " | |
| 1770 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 67 [process
ingInstruction, 9] assert_equals: focusNode must equal the node we collapse()d t
o expected ProcessingInstruction node with target "somePI" and data "Did you kno
w that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmnop | |
| 1771 " | |
| 1772 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 1773 " | |
| 1774 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 1775 " | |
| 1776 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 1777 " | |
| 1778 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 1779 " | |
| 1780 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 1781 " | |
| 1782 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 1783 " | |
| 1784 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 74 [detache
dProcessingInstruction, 12] assert_equals: focusNode must equal the node we coll
apse()d to expected ProcessingInstruction node with target "whippoorwill" and da
ta "chirp chirp chirp" but got Text node "Ijklmnop | |
| 1785 " | |
| 1786 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 1787 " | |
| 1788 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 1789 " | |
| 1790 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 1791 " | |
| 1792 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 1793 " | |
| 1794 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklmn
op | |
| 1795 " | |
| 1796 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 80 [docfrag
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
umentFragment node with 0 children but got Text node "Ijklmnop | |
| 1797 " | |
| 1798 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 81 [foreign
Docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 1799 " | |
| 1800 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 82 [xmlDocf
rag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 1801 " | |
| 1802 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 83 [doctype
, 0] | |
| 1803 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 1804 selection.collapse(point[0], point[1]); | |
| 1805 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 1806 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 85 [doctype
, 1] | |
| 1807 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 86 [foreign
Doctype, 0] | |
| 1808 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9], point 87 [xmlDoct
ype, 0] | |
| 1809 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] | |
| 1810 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] | |
| 1811 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we co
llapse()d to expected 1 but got 2 | |
| 1812 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] | |
| 1813 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] | |
| 1814 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we co
llapse()d to expected 9 but got 10 | |
| 1815 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] | |
| 1816 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] | |
| 1817 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] | |
| 1818 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 1819 " but got Text node "Qrstuvwx" | |
| 1820 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
0 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 1821 " but got Text node "Qrstuvwx" | |
| 1822 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
1 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 1823 " but got Text node "Qrstuvwx" | |
| 1824 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
2 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 1825 " but got Text node "Qrstuvwx" | |
| 1826 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
3 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 1827 " but got Text node "Qrstuvwx" | |
| 1828 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
4 [paras[1].firstChild, 10] | |
| 1829 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
5 [paras[1].firstChild, 65535] | |
| 1830 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
6 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1831 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
7 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1832 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
8 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1833 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 1
9 [detachedPara1.firstChild, 9] | |
| 1834 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
0 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1835 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
1 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1836 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
2 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1837 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
3 [foreignPara1.firstChild, 9] | |
| 1838 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
4 [document.documentElement, -1] | |
| 1839 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
5 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() tes
ts</title> | |
| 1840 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1841 " | |
| 1842 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
6 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() tes
ts</title> | |
| 1843 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1844 " | |
| 1845 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
7 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() tes
ts</title> | |
| 1846 <me... but got Text node "Qrstuvwx" | |
| 1847 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
8 [document.documentElement, 7] | |
| 1848 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 2
9 [document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | |
| 1849 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1850 " | |
| 1851 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
0 [document.body, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1852 </p><p id... but got Text node "Qrstuvwx" | |
| 1853 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
1 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 1854 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
2 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 1855 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
3 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 1856 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
4 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 1857 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
5 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1858 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1859 " | |
| 1860 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
6 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1861 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1862 " | |
| 1863 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
7 [paras[0], 2] | |
| 1864 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
8 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <p id="b" style="display:none">Ijklmnop | |
| 1865 </p> but got Text node "Qrstuvwx" | |
| 1866 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 3
9 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <p id="b" style="display:none">Ijklmnop | |
| 1867 </p> but got Text node "Qrstuvwx" | |
| 1868 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
0 [paras[1], 2] | |
| 1869 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
1 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 1870 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
2 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 1871 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
3 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1872 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1873 " | |
| 1874 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
4 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1875 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1876 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
5 [document, -1] | |
| 1877 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
6 [document, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1878 " | |
| 1879 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
7 [document, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1880 " | |
| 1881 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
8 [document, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Document node with 2 children but got Text node "Qrstuvwx" | |
| 1882 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 4
9 [document, 3] | |
| 1883 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
0 [comment, -1] | |
| 1884 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
1 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1885 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
2 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to ex
pected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1886 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
3 [comment, 96] | |
| 1887 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
4 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1888 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
5 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1889 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
6 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 1890 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
7 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 1891 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
8 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 1892 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 5
9 [xmlDoc, -1] | |
| 1893 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
0 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 1894 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
1 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 1895 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
2 [xmlDoc, 5] | |
| 1896 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
3 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1897 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
4 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1898 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
5 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 1899 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
6 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 1900 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
7 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 1901 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
8 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 1902 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 6
9 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 1903 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
0 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1904 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
1 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1905 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
2 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 1906 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
3 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 1907 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
4 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must e
qual 1 after collapse() expected 1 but got 0 | |
| 1908 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
5 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 1909 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
6 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 1910 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
7 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 1911 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
8 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 1912 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 7
9 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 1913 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
0 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 1914 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
1 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 1915 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
2 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1916 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
3 [doctype, 0] | |
| 1917 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
4 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()
ing if the node is a DocumentType function "function () { | |
| 1918 selection.collapse(point[0], point[1]); | |
| 1919 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 1920 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
5 [doctype, 1] | |
| 1921 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
6 [foreignDoctype, 0] | |
| 1922 PASS Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], point 8
7 [xmlDoctype, 0] | |
| 1923 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
0 [paras[0].firstChild, -1] | |
| 1924 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
1 [paras[0].firstChild, 0] | |
| 1925 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | |
| 1926 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
3 [paras[0].firstChild, 2] | |
| 1927 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
4 [paras[0].firstChild, 8] | |
| 1928 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | |
| 1929 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
6 [paras[0].firstChild, 10] | |
| 1930 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
7 [paras[0].firstChild, 65535] | |
| 1931 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
8 [paras[1].firstChild, -1] | |
| 1932 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 1933 " but got Text node "Qrstuvwx" | |
| 1934 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 1935 " but got Text node "Qrstuvwx" | |
| 1936 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 1937 " but got Text node "Qrstuvwx" | |
| 1938 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 1939 " but got Text node "Qrstuvwx" | |
| 1940 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 1941 " but got Text node "Qrstuvwx" | |
| 1942 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
14 [paras[1].firstChild, 10] | |
| 1943 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
15 [paras[1].firstChild, 65535] | |
| 1944 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 1945 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 1946 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 1947 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
19 [detachedPara1.firstChild, 9] | |
| 1948 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1949 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1950 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1951 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
23 [foreignPara1.firstChild, 9] | |
| 1952 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
24 [document.documentElement, -1] | |
| 1953 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 1954 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1955 " | |
| 1956 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 1957 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1958 " | |
| 1959 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 1960 <me... but got Text node "Qrstuvwx" | |
| 1961 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
28 [document.documentElement, 7] | |
| 1962 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | |
| 1963 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1964 " | |
| 1965 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1966 </p><p id... but got Text node "Qrstuvwx" | |
| 1967 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | |
| 1968 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | |
| 1969 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 1970 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 1971 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1972 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1973 " | |
| 1974 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1975 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1976 " | |
| 1977 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
37 [paras[0], 2] | |
| 1978 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 1979 </p> but got Text node "Qrstuvwx" | |
| 1980 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 1981 </p> but got Text node "Qrstuvwx" | |
| 1982 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
40 [paras[1], 2] | |
| 1983 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 1984 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 1985 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1986 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1987 " | |
| 1988 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1989 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1990 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
45 [document, -1] | |
| 1991 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1992 " | |
| 1993 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1994 " | |
| 1995 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 1996 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
49 [document, 3] | |
| 1997 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
50 [comment, -1] | |
| 1998 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1999 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2000 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
53 [comment, 96] | |
| 2001 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2002 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2003 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2004 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 2005 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2006 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
59 [xmlDoc, -1] | |
| 2007 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2008 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2009 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
62 [xmlDoc, 5] | |
| 2010 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2011 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2012 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2013 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2014 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2015 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2016 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2017 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2018 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2019 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2020 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2021 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | |
| 2022 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 2023 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 2024 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2025 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2026 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 2027 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 2028 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2029 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2030 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
83 [doctype, 0] | |
| 2031 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | |
| 2032 selection.collapse(point[0], point[1]); | |
| 2033 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 2034 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
85 [doctype, 1] | |
| 2035 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
86 [foreignDoctype, 0] | |
| 2036 PASS Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1], point
87 [xmlDoctype, 0] | |
| 2037 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
0 [paras[0].firstChild, -1] | |
| 2038 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
1 [paras[0].firstChild, 0] | |
| 2039 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | |
| 2040 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
3 [paras[0].firstChild, 2] | |
| 2041 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
4 [paras[0].firstChild, 8] | |
| 2042 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | |
| 2043 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
6 [paras[0].firstChild, 10] | |
| 2044 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
7 [paras[0].firstChild, 65535] | |
| 2045 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
8 [paras[1].firstChild, -1] | |
| 2046 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 2047 " but got Text node "Qrstuvwx" | |
| 2048 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2049 " but got Text node "Qrstuvwx" | |
| 2050 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2051 " but got Text node "Qrstuvwx" | |
| 2052 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2053 " but got Text node "Qrstuvwx" | |
| 2054 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2055 " but got Text node "Qrstuvwx" | |
| 2056 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
14 [paras[1].firstChild, 10] | |
| 2057 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
15 [paras[1].firstChild, 65535] | |
| 2058 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2059 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2060 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2061 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
19 [detachedPara1.firstChild, 9] | |
| 2062 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2063 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2064 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2065 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
23 [foreignPara1.firstChild, 9] | |
| 2066 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
24 [document.documentElement, -1] | |
| 2067 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2068 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2069 " | |
| 2070 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2071 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2072 " | |
| 2073 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2074 <me... but got Text node "Qrstuvwx" | |
| 2075 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
28 [document.documentElement, 7] | |
| 2076 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | |
| 2077 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2078 " | |
| 2079 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2080 </p><p id... but got Text node "Qrstuvwx" | |
| 2081 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | |
| 2082 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | |
| 2083 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 2084 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 2085 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2086 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2087 " | |
| 2088 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2089 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2090 " | |
| 2091 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
37 [paras[0], 2] | |
| 2092 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2093 </p> but got Text node "Qrstuvwx" | |
| 2094 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2095 </p> but got Text node "Qrstuvwx" | |
| 2096 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
40 [paras[1], 2] | |
| 2097 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2098 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2099 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2100 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2101 " | |
| 2102 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2103 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2104 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
45 [document, -1] | |
| 2105 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2106 " | |
| 2107 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2108 " | |
| 2109 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2110 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
49 [document, 3] | |
| 2111 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
50 [comment, -1] | |
| 2112 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2113 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2114 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
53 [comment, 96] | |
| 2115 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2116 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2117 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2118 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 2119 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2120 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
59 [xmlDoc, -1] | |
| 2121 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2122 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2123 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
62 [xmlDoc, 5] | |
| 2124 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2125 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2126 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2127 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2128 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2129 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2130 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2131 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2132 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2133 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2134 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2135 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | |
| 2136 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 2137 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 2138 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2139 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2140 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 2141 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 2142 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2143 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2144 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
83 [doctype, 0] | |
| 2145 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | |
| 2146 selection.collapse(point[0], point[1]); | |
| 2147 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 2148 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
85 [doctype, 1] | |
| 2149 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
86 [foreignDoctype, 0] | |
| 2150 PASS Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], point
87 [xmlDoctype, 0] | |
| 2151 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 0
[paras[0].firstChild, -1] | |
| 2152 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 1
[paras[0].firstChild, 0] | |
| 2153 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | |
| 2154 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 3
[paras[0].firstChild, 2] | |
| 2155 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 4
[paras[0].firstChild, 8] | |
| 2156 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | |
| 2157 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 6
[paras[0].firstChild, 10] | |
| 2158 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 7
[paras[0].firstChild, 65535] | |
| 2159 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 8
[paras[1].firstChild, -1] | |
| 2160 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | |
| 2161 " but got Text node "Qrstuvwx" | |
| 2162 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2163 " but got Text node "Qrstuvwx" | |
| 2164 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2165 " but got Text node "Qrstuvwx" | |
| 2166 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2167 " but got Text node "Qrstuvwx" | |
| 2168 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2169 " but got Text node "Qrstuvwx" | |
| 2170 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 14
[paras[1].firstChild, 10] | |
| 2171 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 15
[paras[1].firstChild, 65535] | |
| 2172 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2173 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2174 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2175 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 19
[detachedPara1.firstChild, 9] | |
| 2176 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2177 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2178 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2179 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 23
[foreignPara1.firstChild, 9] | |
| 2180 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 24
[document.documentElement, -1] | |
| 2181 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 25
[document.documentElement, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2182 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2183 " | |
| 2184 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 26
[document.documentElement, 1] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2185 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2186 " | |
| 2187 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 27
[document.documentElement, 2] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2188 <me... but got Text node "Qrstuvwx" | |
| 2189 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 28
[document.documentElement, 7] | |
| 2190 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 29
[document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | |
| 2191 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2192 " | |
| 2193 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 30
[document.body, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2194 </p><p id... but got Text node "Qrstuvwx" | |
| 2195 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2196 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2197 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2198 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2199 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 35
[paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2200 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2201 " | |
| 2202 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 36
[paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2203 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2204 " | |
| 2205 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 37
[paras[0], 2] | |
| 2206 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 38
[paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2207 </p> but got Text node "Qrstuvwx" | |
| 2208 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 39
[paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2209 </p> but got Text node "Qrstuvwx" | |
| 2210 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 40
[paras[1], 2] | |
| 2211 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2212 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2213 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 43
[testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2214 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2215 " | |
| 2216 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 44
[testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2217 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2218 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 45
[document, -1] | |
| 2219 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 46
[document, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2220 " | |
| 2221 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 47
[document, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2222 " | |
| 2223 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 48
[document, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2224 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 49
[document, 3] | |
| 2225 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 50
[comment, -1] | |
| 2226 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 51
[comment, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2227 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 52
[comment, 4] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2228 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 53
[comment, 96] | |
| 2229 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2230 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2231 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2232 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2233 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2234 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 59
[xmlDoc, -1] | |
| 2235 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2236 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2237 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 62
[xmlDoc, 5] | |
| 2238 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2239 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2240 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2241 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2242 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2243 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2244 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2245 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2246 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2247 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2248 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2249 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | |
| 2250 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2251 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2252 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2253 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2254 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2255 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2256 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2257 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2258 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 83
[doctype, 0] | |
| 2259 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | |
| 2260 selection.collapse(point[0], point[1]); | |
| 2261 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 2262 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 85
[doctype, 1] | |
| 2263 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 86
[foreignDoctype, 0] | |
| 2264 PASS Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], point 87
[xmlDoctype, 0] | |
| 2265 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 0
[paras[0].firstChild, -1] | |
| 2266 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 1
[paras[0].firstChild, 0] | |
| 2267 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | |
| 2268 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 3
[paras[0].firstChild, 2] | |
| 2269 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 4
[paras[0].firstChild, 8] | |
| 2270 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | |
| 2271 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 6
[paras[0].firstChild, 10] | |
| 2272 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 7
[paras[0].firstChild, 65535] | |
| 2273 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 8
[paras[1].firstChild, -1] | |
| 2274 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | |
| 2275 " but got Text node "Qrstuvwx" | |
| 2276 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2277 " but got Text node "Qrstuvwx" | |
| 2278 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2279 " but got Text node "Qrstuvwx" | |
| 2280 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2281 " but got Text node "Qrstuvwx" | |
| 2282 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2283 " but got Text node "Qrstuvwx" | |
| 2284 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 14
[paras[1].firstChild, 10] | |
| 2285 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 15
[paras[1].firstChild, 65535] | |
| 2286 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2287 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2288 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2289 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 19
[detachedPara1.firstChild, 9] | |
| 2290 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2291 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2292 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2293 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 23
[foreignPara1.firstChild, 9] | |
| 2294 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 24
[document.documentElement, -1] | |
| 2295 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 25
[document.documentElement, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2296 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2297 " | |
| 2298 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 26
[document.documentElement, 1] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2299 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2300 " | |
| 2301 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 27
[document.documentElement, 2] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2302 <me... but got Text node "Qrstuvwx" | |
| 2303 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 28
[document.documentElement, 7] | |
| 2304 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 29
[document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | |
| 2305 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2306 " | |
| 2307 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 30
[document.body, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2308 </p><p id... but got Text node "Qrstuvwx" | |
| 2309 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2310 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2311 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2312 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2313 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 35
[paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2314 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2315 " | |
| 2316 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 36
[paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2317 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2318 " | |
| 2319 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 37
[paras[0], 2] | |
| 2320 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 38
[paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2321 </p> but got Text node "Qrstuvwx" | |
| 2322 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 39
[paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2323 </p> but got Text node "Qrstuvwx" | |
| 2324 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 40
[paras[1], 2] | |
| 2325 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2326 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2327 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 43
[testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2328 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2329 " | |
| 2330 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 44
[testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2331 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2332 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 45
[document, -1] | |
| 2333 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 46
[document, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2334 " | |
| 2335 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 47
[document, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2336 " | |
| 2337 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 48
[document, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2338 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 49
[document, 3] | |
| 2339 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 50
[comment, -1] | |
| 2340 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 51
[comment, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2341 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 52
[comment, 4] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2342 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 53
[comment, 96] | |
| 2343 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2344 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2345 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2346 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2347 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2348 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 59
[xmlDoc, -1] | |
| 2349 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2350 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2351 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 62
[xmlDoc, 5] | |
| 2352 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2353 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2354 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2355 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2356 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2357 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2358 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2359 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2360 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2361 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2362 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2363 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | |
| 2364 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2365 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2366 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2367 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2368 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2369 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2370 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2371 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2372 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 83
[doctype, 0] | |
| 2373 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | |
| 2374 selection.collapse(point[0], point[1]); | |
| 2375 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 2376 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 85
[doctype, 1] | |
| 2377 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 86
[foreignDoctype, 0] | |
| 2378 PASS Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1], point 87
[xmlDoctype, 0] | |
| 2379 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 0
[paras[0].firstChild, -1] | |
| 2380 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 1
[paras[0].firstChild, 0] | |
| 2381 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | |
| 2382 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 3
[paras[0].firstChild, 2] | |
| 2383 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 4
[paras[0].firstChild, 8] | |
| 2384 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | |
| 2385 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 6
[paras[0].firstChild, 10] | |
| 2386 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 7
[paras[0].firstChild, 65535] | |
| 2387 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 8
[paras[1].firstChild, -1] | |
| 2388 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | |
| 2389 " but got Text node "Qrstuvwx" | |
| 2390 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2391 " but got Text node "Qrstuvwx" | |
| 2392 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2393 " but got Text node "Qrstuvwx" | |
| 2394 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2395 " but got Text node "Qrstuvwx" | |
| 2396 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2397 " but got Text node "Qrstuvwx" | |
| 2398 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 14
[paras[1].firstChild, 10] | |
| 2399 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 15
[paras[1].firstChild, 65535] | |
| 2400 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2401 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2402 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2403 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 19
[detachedPara1.firstChild, 9] | |
| 2404 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2405 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2406 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2407 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 23
[foreignPara1.firstChild, 9] | |
| 2408 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 24
[document.documentElement, -1] | |
| 2409 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 25
[document.documentElement, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2410 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2411 " | |
| 2412 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 26
[document.documentElement, 1] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2413 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2414 " | |
| 2415 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 27
[document.documentElement, 2] assert_equals: focusNode must equal the node we c
ollapse()d to expected Element node <html><head><title>Selection.collapse() test
s</title> | |
| 2416 <me... but got Text node "Qrstuvwx" | |
| 2417 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 28
[document.documentElement, 7] | |
| 2418 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 29
[document.head, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <head><title>Selection.collapse() tests</title> | |
| 2419 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2420 " | |
| 2421 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 30
[document.body, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2422 </p><p id... but got Text node "Qrstuvwx" | |
| 2423 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2424 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2425 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2426 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2427 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 35
[paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2428 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2429 " | |
| 2430 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 36
[paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2431 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2432 " | |
| 2433 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 37
[paras[0], 2] | |
| 2434 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 38
[paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2435 </p> but got Text node "Qrstuvwx" | |
| 2436 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 39
[paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <p id="b" style="display:none">Ijklmnop | |
| 2437 </p> but got Text node "Qrstuvwx" | |
| 2438 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 40
[paras[1], 2] | |
| 2439 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2440 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2441 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 43
[testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2442 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2443 " | |
| 2444 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 44
[testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2445 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2446 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 45
[document, -1] | |
| 2447 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 46
[document, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2448 " | |
| 2449 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 47
[document, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2450 " | |
| 2451 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 48
[document, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2452 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 49
[document, 3] | |
| 2453 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 50
[comment, -1] | |
| 2454 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 51
[comment, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2455 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 52
[comment, 4] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2456 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 53
[comment, 96] | |
| 2457 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2458 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2459 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2460 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2461 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2462 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 59
[xmlDoc, -1] | |
| 2463 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2464 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2465 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 62
[xmlDoc, 5] | |
| 2466 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2467 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2468 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2469 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2470 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2471 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2472 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2473 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2474 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2475 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2476 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2477 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | |
| 2478 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2479 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2480 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2481 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2482 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2483 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2484 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2485 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2486 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 83
[doctype, 0] | |
| 2487 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | |
| 2488 selection.collapse(point[0], point[1]); | |
| 2489 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 2490 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 85
[doctype, 1] | |
| 2491 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 86
[foreignDoctype, 0] | |
| 2492 PASS Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], point 87
[xmlDoctype, 0] | |
| 2493 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
0 [paras[0].firstChild, -1] | |
| 2494 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
1 [paras[0].firstChild, 0] | |
| 2495 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | |
| 2496 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
3 [paras[0].firstChild, 2] | |
| 2497 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
4 [paras[0].firstChild, 8] | |
| 2498 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | |
| 2499 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
6 [paras[0].firstChild, 10] | |
| 2500 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
7 [paras[0].firstChild, 65535] | |
| 2501 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
8 [paras[1].firstChild, -1] | |
| 2502 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 2503 " but got Text node "Qrstuvwx" | |
| 2504 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2505 " but got Text node "Qrstuvwx" | |
| 2506 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2507 " but got Text node "Qrstuvwx" | |
| 2508 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2509 " but got Text node "Qrstuvwx" | |
| 2510 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2511 " but got Text node "Qrstuvwx" | |
| 2512 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
14 [paras[1].firstChild, 10] | |
| 2513 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
15 [paras[1].firstChild, 65535] | |
| 2514 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2515 <me... | |
| 2516 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2517 <me... | |
| 2518 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2519 <me... | |
| 2520 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
19 [detachedPara1.firstChild, 9] | |
| 2521 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2522 <me... | |
| 2523 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2524 <me... | |
| 2525 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2526 <me... | |
| 2527 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
23 [foreignPara1.firstChild, 9] | |
| 2528 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
24 [document.documentElement, -1] | |
| 2529 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2530 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2531 " | |
| 2532 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2533 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2534 " | |
| 2535 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2536 <me... but got Text node "Qrstuvwx" | |
| 2537 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
28 [document.documentElement, 7] | |
| 2538 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | |
| 2539 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2540 " | |
| 2541 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2542 </p><p id... but got Text node "Qrstuvwx" | |
| 2543 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 2544 <me... | |
| 2545 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 2546 <me... | |
| 2547 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <head><title></title></head> but got Element node <
html><head><title>Selection.collapse() tests</title> | |
| 2548 <me... | |
| 2549 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I
harbor... but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 2550 <me... | |
| 2551 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2552 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2553 " | |
| 2554 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2555 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2556 " | |
| 2557 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
37 [paras[0], 2] | |
| 2558 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2559 </p> but got Text node "Qrstuvwx" | |
| 2560 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2561 </p> but got Text node "Qrstuvwx" | |
| 2562 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
40 [paras[1], 2] | |
| 2563 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | |
| 2564 <me... | |
| 2565 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | |
| 2566 <me... | |
| 2567 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2568 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2569 " | |
| 2570 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2571 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2572 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
45 [document, -1] | |
| 2573 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2574 " | |
| 2575 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2576 " | |
| 2577 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2578 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
49 [document, 3] | |
| 2579 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
50 [comment, -1] | |
| 2580 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2581 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2582 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
53 [comment, 96] | |
| 2583 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2584 <me... | |
| 2585 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2586 <me... | |
| 2587 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Comment node <!--"Commenter" and "commentator" mean different thi
ngs. I'v...--> but got Element node <html><head><title>Selection.collapse() tes
ts</title> | |
| 2588 <me... | |
| 2589 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</tit
le> | |
| 2590 <me... | |
| 2591 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 2592 <me... | |
| 2593 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
59 [xmlDoc, -1] | |
| 2594 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Element node <html><head><title>Sel
ection.collapse() tests</title> | |
| 2595 <me... | |
| 2596 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Element node <html><head><title>Sel
ection.collapse() tests</title> | |
| 2597 <me... | |
| 2598 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
62 [xmlDoc, 5] | |
| 2599 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Element node <html><head><title>Selection.collapse() tests</
title> | |
| 2600 <me... | |
| 2601 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Element node <html><head><title>Selection.collapse() tests</
title> | |
| 2602 <me... | |
| 2603 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
65 [processingInstruction, 0] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2604 <me... | |
| 2605 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
66 [processingInstruction, 5] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2606 <me... | |
| 2607 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
67 [processingInstruction, 9] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2608 <me... | |
| 2609 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Se
lection.collapse() tests</title> | |
| 2610 <me... | |
| 2611 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Se
lection.collapse() tests</title> | |
| 2612 <me... | |
| 2613 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2614 <me... | |
| 2615 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2616 <me... | |
| 2617 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2618 <me... | |
| 2619 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2620 <me... | |
| 2621 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the n
ode we collapse()d to expected ProcessingInstruction node with target "whippoorw
ill" and data "chirp chirp chirp" but got Element node <html><head><title>Select
ion.collapse() tests</title> | |
| 2622 <me... | |
| 2623 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2624 <me... | |
| 2625 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2626 <me... | |
| 2627 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 2628 <me... | |
| 2629 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 2630 <me... | |
| 2631 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we colla
pse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Elemen
t node <html><head><title>Selection.collapse() tests</title> | |
| 2632 <me... | |
| 2633 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected DocumentFragment node with 0 children but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2634 <me... | |
| 2635 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected DocumentFragment node with 0 children but got Element node <html>
<head><title>Selection.collapse() tests</title> | |
| 2636 <me... | |
| 2637 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected DocumentFragment node with 0 children but got Element node <html><hea
d><title>Selection.collapse() tests</title> | |
| 2638 <me... | |
| 2639 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
83 [doctype, 0] | |
| 2640 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | |
| 2641 selection.collapse(point[0], point[1]); | |
| 2642 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 2643 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
85 [doctype, 1] | |
| 2644 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
86 [foreignDoctype, 0] | |
| 2645 PASS Range 15 [document.documentElement, 0, document.documentElement, 1], point
87 [xmlDoctype, 0] | |
| 2646 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
0 [paras[0].firstChild, -1] | |
| 2647 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
1 [paras[0].firstChild, 0] | |
| 2648 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | |
| 2649 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
3 [paras[0].firstChild, 2] | |
| 2650 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
4 [paras[0].firstChild, 8] | |
| 2651 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | |
| 2652 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
6 [paras[0].firstChild, 10] | |
| 2653 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] | |
| 2654 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
8 [paras[1].firstChild, -1] | |
| 2655 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 2656 " but got Text node "Qrstuvwx" | |
| 2657 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2658 " but got Text node "Qrstuvwx" | |
| 2659 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2660 " but got Text node "Qrstuvwx" | |
| 2661 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2662 " but got Text node "Qrstuvwx" | |
| 2663 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2664 " but got Text node "Qrstuvwx" | |
| 2665 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
14 [paras[1].firstChild, 10] | |
| 2666 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] | |
| 2667 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2668 <me... | |
| 2669 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2670 <me... | |
| 2671 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2672 <me... | |
| 2673 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] | |
| 2674 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2675 <me... | |
| 2676 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2677 <me... | |
| 2678 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2679 <me... | |
| 2680 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] | |
| 2681 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
24 [document.documentElement, -1] | |
| 2682 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2683 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2684 " | |
| 2685 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2686 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2687 " | |
| 2688 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2689 <me... but got Text node "Qrstuvwx" | |
| 2690 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
28 [document.documentElement, 7] | |
| 2691 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | |
| 2692 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2693 " | |
| 2694 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2695 </p><p id... but got Text node "Qrstuvwx" | |
| 2696 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 2697 <me... | |
| 2698 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 2699 <me... | |
| 2700 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <head><title></title></head> but got Element node <
html><head><title>Selection.collapse() tests</title> | |
| 2701 <me... | |
| 2702 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I
harbor... but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 2703 <me... | |
| 2704 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2705 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2706 " | |
| 2707 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2708 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2709 " | |
| 2710 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
37 [paras[0], 2] | |
| 2711 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2712 </p> but got Text node "Qrstuvwx" | |
| 2713 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2714 </p> but got Text node "Qrstuvwx" | |
| 2715 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
40 [paras[1], 2] | |
| 2716 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | |
| 2717 <me... | |
| 2718 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | |
| 2719 <me... | |
| 2720 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2721 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2722 " | |
| 2723 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2724 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2725 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
45 [document, -1] | |
| 2726 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2727 " | |
| 2728 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2729 " | |
| 2730 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2731 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
49 [document, 3] | |
| 2732 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
50 [comment, -1] | |
| 2733 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2734 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2735 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
53 [comment, 96] | |
| 2736 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2737 <me... | |
| 2738 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2739 <me... | |
| 2740 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Comment node <!--"Commenter" and "commentator" mean different thi
ngs. I'v...--> but got Element node <html><head><title>Selection.collapse() tes
ts</title> | |
| 2741 <me... | |
| 2742 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</tit
le> | |
| 2743 <me... | |
| 2744 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 2745 <me... | |
| 2746 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
59 [xmlDoc, -1] | |
| 2747 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Element node <html><head><title>Sel
ection.collapse() tests</title> | |
| 2748 <me... | |
| 2749 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Element node <html><head><title>Sel
ection.collapse() tests</title> | |
| 2750 <me... | |
| 2751 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
62 [xmlDoc, 5] | |
| 2752 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Element node <html><head><title>Selection.collapse() tests</
title> | |
| 2753 <me... | |
| 2754 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Element node <html><head><title>Selection.collapse() tests</
title> | |
| 2755 <me... | |
| 2756 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
65 [processingInstruction, 0] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2757 <me... | |
| 2758 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
66 [processingInstruction, 5] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2759 <me... | |
| 2760 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
67 [processingInstruction, 9] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2761 <me... | |
| 2762 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Se
lection.collapse() tests</title> | |
| 2763 <me... | |
| 2764 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Se
lection.collapse() tests</title> | |
| 2765 <me... | |
| 2766 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2767 <me... | |
| 2768 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2769 <me... | |
| 2770 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2771 <me... | |
| 2772 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2773 <me... | |
| 2774 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the n
ode we collapse()d to expected ProcessingInstruction node with target "whippoorw
ill" and data "chirp chirp chirp" but got Element node <html><head><title>Select
ion.collapse() tests</title> | |
| 2775 <me... | |
| 2776 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2777 <me... | |
| 2778 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2779 <me... | |
| 2780 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 2781 <me... | |
| 2782 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 2783 <me... | |
| 2784 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we colla
pse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Elemen
t node <html><head><title>Selection.collapse() tests</title> | |
| 2785 <me... | |
| 2786 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected DocumentFragment node with 0 children but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2787 <me... | |
| 2788 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected DocumentFragment node with 0 children but got Element node <html>
<head><title>Selection.collapse() tests</title> | |
| 2789 <me... | |
| 2790 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected DocumentFragment node with 0 children but got Element node <html><hea
d><title>Selection.collapse() tests</title> | |
| 2791 <me... | |
| 2792 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
83 [doctype, 0] | |
| 2793 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | |
| 2794 selection.collapse(point[0], point[1]); | |
| 2795 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 2796 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
85 [doctype, 1] | |
| 2797 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
86 [foreignDoctype, 0] | |
| 2798 PASS Range 16 [document.documentElement, 0, document.documentElement, 2], point
87 [xmlDoctype, 0] | |
| 2799 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
0 [paras[0].firstChild, -1] | |
| 2800 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
1 [paras[0].firstChild, 0] | |
| 2801 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 1 but got 2 | |
| 2802 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
3 [paras[0].firstChild, 2] | |
| 2803 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
4 [paras[0].firstChild, 8] | |
| 2804 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we c
ollapse()d to expected 9 but got 10 | |
| 2805 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
6 [paras[0].firstChild, 10] | |
| 2806 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
7 [paras[0].firstChild, 65535] | |
| 2807 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
8 [paras[1].firstChild, -1] | |
| 2808 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we colla
pse()d to expected Text node "Ijklmnop | |
| 2809 " but got Text node "Qrstuvwx" | |
| 2810 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2811 " but got Text node "Qrstuvwx" | |
| 2812 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2813 " but got Text node "Qrstuvwx" | |
| 2814 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2815 " but got Text node "Qrstuvwx" | |
| 2816 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Ijklmnop | |
| 2817 " but got Text node "Qrstuvwx" | |
| 2818 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
14 [paras[1].firstChild, 10] | |
| 2819 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
15 [paras[1].firstChild, 65535] | |
| 2820 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
16 [detachedPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2821 <me... | |
| 2822 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
17 [detachedPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2823 <me... | |
| 2824 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
18 [detachedPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Opqrstuv" but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2825 <me... | |
| 2826 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
19 [detachedPara1.firstChild, 9] | |
| 2827 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
20 [foreignPara1.firstChild, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2828 <me... | |
| 2829 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
21 [foreignPara1.firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2830 <me... | |
| 2831 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
22 [foreignPara1.firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Efghijkl" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2832 <me... | |
| 2833 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
23 [foreignPara1.firstChild, 9] | |
| 2834 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
24 [document.documentElement, -1] | |
| 2835 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
25 [document.documentElement, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2836 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2837 " | |
| 2838 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
26 [document.documentElement, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2839 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2840 " | |
| 2841 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
27 [document.documentElement, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Element node <html><head><title>Selection.collapse() te
sts</title> | |
| 2842 <me... but got Text node "Qrstuvwx" | |
| 2843 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
28 [document.documentElement, 7] | |
| 2844 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
29 [document.head, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <head><title>Selection.collapse() tests</title> | |
| 2845 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2846 " | |
| 2847 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
30 [document.body, 3] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2848 </p><p id... but got Text node "Qrstuvwx" | |
| 2849 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
31 [foreignDoc.documentElement, 0] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 2850 <me... | |
| 2851 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
32 [foreignDoc.documentElement, 1] assert_equals: focusNode must equal the node
we collapse()d to expected Element node <html><head><title></title></head><body>
<p>Efghijkl</p><p... but got Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 2852 <me... | |
| 2853 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
33 [foreignDoc.head, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <head><title></title></head> but got Element node <
html><head><title>Selection.collapse() tests</title> | |
| 2854 <me... | |
| 2855 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
34 [foreignDoc.body, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I
harbor... but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 2856 <me... | |
| 2857 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2858 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2859 " | |
| 2860 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2861 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2862 " | |
| 2863 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
37 [paras[0], 2] | |
| 2864 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2865 </p> but got Text node "Qrstuvwx" | |
| 2866 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <p id="b" style="display:none">Ijklmnop | |
| 2867 </p> but got Text node "Qrstuvwx" | |
| 2868 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
40 [paras[1], 2] | |
| 2869 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
41 [detachedPara1, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | |
| 2870 <me... | |
| 2871 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
42 [detachedPara1, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Element node <p>Opqrstuv</p> but got Element node <html><head><tit
le>Selection.collapse() tests</title> | |
| 2872 <me... | |
| 2873 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2874 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2875 " | |
| 2876 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2877 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2878 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
45 [document, -1] | |
| 2879 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
46 [document, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2880 " | |
| 2881 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
47 [document, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2882 " | |
| 2883 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
48 [document, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 2884 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
49 [document, 3] | |
| 2885 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
50 [comment, -1] | |
| 2886 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2887 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2888 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
53 [comment, 96] | |
| 2889 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
54 [foreignDoc, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2890 <me... | |
| 2891 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
55 [foreignDoc, 1] assert_equals: focusNode must equal the node we collapse()d t
o expected Document node with 3 children but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2892 <me... | |
| 2893 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
56 [foreignComment, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Comment node <!--"Commenter" and "commentator" mean different thi
ngs. I'v...--> but got Element node <html><head><title>Selection.collapse() tes
ts</title> | |
| 2894 <me... | |
| 2895 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
57 [foreignTextNode, 0] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</tit
le> | |
| 2896 <me... | |
| 2897 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
58 [foreignTextNode, 36] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "I admit that I harbor doubts about whether we really
need..." but got Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 2898 <me... | |
| 2899 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
59 [xmlDoc, -1] | |
| 2900 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
60 [xmlDoc, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Element node <html><head><title>Sel
ection.collapse() tests</title> | |
| 2901 <me... | |
| 2902 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
61 [xmlDoc, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Document node with 4 children but got Element node <html><head><title>Sel
ection.collapse() tests</title> | |
| 2903 <me... | |
| 2904 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
62 [xmlDoc, 5] | |
| 2905 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
63 [xmlComment, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Element node <html><head><title>Selection.collapse() tests</
title> | |
| 2906 <me... | |
| 2907 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
64 [xmlComment, 4] assert_equals: focusNode must equal the node we collapse()d t
o expected Comment node <!--I maliciously created a comment that will break inca
utiou...--> but got Element node <html><head><title>Selection.collapse() tests</
title> | |
| 2908 <me... | |
| 2909 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
65 [processingInstruction, 0] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2910 <me... | |
| 2911 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
66 [processingInstruction, 5] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2912 <me... | |
| 2913 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
67 [processingInstruction, 9] assert_equals: focusNode must equal the node we co
llapse()d to expected ProcessingInstruction node with target "somePI" and data "
Did you know that \":syn sync fromstart\" is very useful wh..." but got Element
node <html><head><title>Selection.collapse() tests</title> | |
| 2914 <me... | |
| 2915 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
68 [detachedTextNode, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Se
lection.collapse() tests</title> | |
| 2916 <me... | |
| 2917 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
69 [detachedTextNode, 8] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Uvwxyzab" but got Element node <html><head><title>Se
lection.collapse() tests</title> | |
| 2918 <me... | |
| 2919 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
70 [detachedForeignTextNode, 0] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2920 <me... | |
| 2921 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
71 [detachedForeignTextNode, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Cdefghij" but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2922 <me... | |
| 2923 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
72 [detachedXmlTextNode, 0] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2924 <me... | |
| 2925 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
73 [detachedXmlTextNode, 8] assert_equals: focusNode must equal the node we coll
apse()d to expected Text node "Klmnopqr" but got Element node <html><head><title
>Selection.collapse() tests</title> | |
| 2926 <me... | |
| 2927 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
74 [detachedProcessingInstruction, 12] assert_equals: focusNode must equal the n
ode we collapse()d to expected ProcessingInstruction node with target "whippoorw
ill" and data "chirp chirp chirp" but got Element node <html><head><title>Select
ion.collapse() tests</title> | |
| 2928 <me... | |
| 2929 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
75 [detachedComment, 3] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2930 <me... | |
| 2931 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
76 [detachedComment, 5] assert_equals: focusNode must equal the node we collapse
()d to expected Comment node <!--Stuvwxyz--> but got Element node <html><head><t
itle>Selection.collapse() tests</title> | |
| 2932 <me... | |
| 2933 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
77 [detachedForeignComment, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 2934 <me... | |
| 2935 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
78 [detachedForeignComment, 4] assert_equals: focusNode must equal the node we c
ollapse()d to expected Comment node <!--×ריה יהודה--> but got Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 2936 <me... | |
| 2937 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
79 [detachedXmlComment, 2] assert_equals: focusNode must equal the node we colla
pse()d to expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Elemen
t node <html><head><title>Selection.collapse() tests</title> | |
| 2938 <me... | |
| 2939 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
80 [docfrag, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected DocumentFragment node with 0 children but got Element node <html><head><
title>Selection.collapse() tests</title> | |
| 2940 <me... | |
| 2941 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
81 [foreignDocfrag, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected DocumentFragment node with 0 children but got Element node <html>
<head><title>Selection.collapse() tests</title> | |
| 2942 <me... | |
| 2943 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
82 [xmlDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d t
o expected DocumentFragment node with 0 children but got Element node <html><hea
d><title>Selection.collapse() tests</title> | |
| 2944 <me... | |
| 2945 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
83 [doctype, 0] | |
| 2946 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2], point
84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse(
)ing if the node is a DocumentType function "function () { | |
| 2947 selection.collapse(point[0], point[1]); | |
| 2948 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 2949 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
85 [doctype, 1] | |
| 2950 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
86 [foreignDoctype, 0] | |
| 2951 PASS Range 17 [document.documentElement, 1, document.documentElement, 2], point
87 [xmlDoctype, 0] | |
| 2952 PASS Range 18 [document.head, 1, document.head, 1], point 0 [paras[0].firstChild
, -1] | |
| 2953 PASS Range 18 [document.head, 1, document.head, 1], point 1 [paras[0].firstChild
, 0] | |
| 2954 FAIL Range 18 [document.head, 1, document.head, 1], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | |
| 2955 PASS Range 18 [document.head, 1, document.head, 1], point 3 [paras[0].firstChild
, 2] | |
| 2956 PASS Range 18 [document.head, 1, document.head, 1], point 4 [paras[0].firstChild
, 8] | |
| 2957 FAIL Range 18 [document.head, 1, document.head, 1], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | |
| 2958 PASS Range 18 [document.head, 1, document.head, 1], point 6 [paras[0].firstChild
, 10] | |
| 2959 PASS Range 18 [document.head, 1, document.head, 1], point 7 [paras[0].firstChild
, 65535] | |
| 2960 PASS Range 18 [document.head, 1, document.head, 1], point 8 [paras[1].firstChild
, -1] | |
| 2961 FAIL Range 18 [document.head, 1, document.head, 1], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | |
| 2962 " but got Text node "Qrstuvwx" | |
| 2963 FAIL Range 18 [document.head, 1, document.head, 1], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 2964 " but got Text node "Qrstuvwx" | |
| 2965 FAIL Range 18 [document.head, 1, document.head, 1], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 2966 " but got Text node "Qrstuvwx" | |
| 2967 FAIL Range 18 [document.head, 1, document.head, 1], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 2968 " but got Text node "Qrstuvwx" | |
| 2969 FAIL Range 18 [document.head, 1, document.head, 1], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 2970 " but got Text node "Qrstuvwx" | |
| 2971 PASS Range 18 [document.head, 1, document.head, 1], point 14 [paras[1].firstChil
d, 10] | |
| 2972 PASS Range 18 [document.head, 1, document.head, 1], point 15 [paras[1].firstChil
d, 65535] | |
| 2973 FAIL Range 18 [document.head, 1, document.head, 1], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() t
ests</title> | |
| 2974 <meta nam... | |
| 2975 FAIL Range 18 [document.head, 1, document.head, 1], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() t
ests</title> | |
| 2976 <meta nam... | |
| 2977 FAIL Range 18 [document.head, 1, document.head, 1], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <head><title>Selection.collapse() t
ests</title> | |
| 2978 <meta nam... | |
| 2979 PASS Range 18 [document.head, 1, document.head, 1], point 19 [detachedPara1.firs
tChild, 9] | |
| 2980 FAIL Range 18 [document.head, 1, document.head, 1], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te
sts</title> | |
| 2981 <meta nam... | |
| 2982 FAIL Range 18 [document.head, 1, document.head, 1], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te
sts</title> | |
| 2983 <meta nam... | |
| 2984 FAIL Range 18 [document.head, 1, document.head, 1], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <head><title>Selection.collapse() te
sts</title> | |
| 2985 <meta nam... | |
| 2986 PASS Range 18 [document.head, 1, document.head, 1], point 23 [foreignPara1.first
Child, 9] | |
| 2987 PASS Range 18 [document.head, 1, document.head, 1], point 24 [document.documentE
lement, -1] | |
| 2988 FAIL Range 18 [document.head, 1, document.head, 1], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 2989 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2990 " | |
| 2991 FAIL Range 18 [document.head, 1, document.head, 1], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 2992 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2993 " | |
| 2994 FAIL Range 18 [document.head, 1, document.head, 1], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 2995 <me... but got Text node "Qrstuvwx" | |
| 2996 PASS Range 18 [document.head, 1, document.head, 1], point 28 [document.documentE
lement, 7] | |
| 2997 PASS Range 18 [document.head, 1, document.head, 1], point 29 [document.head, 1] | |
| 2998 FAIL Range 18 [document.head, 1, document.head, 1], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2999 </p><p id... but got Text node "Qrstuvwx" | |
| 3000 FAIL Range 18 [document.head, 1, document.head, 1], point 31 [foreignDoc.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <head><title>Selection.collapse() tests</title> | |
| 3001 <meta nam... | |
| 3002 FAIL Range 18 [document.head, 1, document.head, 1], point 32 [foreignDoc.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <head><title>Selection.collapse() tests</title> | |
| 3003 <meta nam... | |
| 3004 FAIL Range 18 [document.head, 1, document.head, 1], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Element node <head><title>Selection.
collapse() tests</title> | |
| 3005 <meta nam... | |
| 3006 FAIL Range 18 [document.head, 1, document.head, 1], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Elem
ent node <head><title>Selection.collapse() tests</title> | |
| 3007 <meta nam... | |
| 3008 FAIL Range 18 [document.head, 1, document.head, 1], point 35 [paras[0], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3009 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3010 " | |
| 3011 FAIL Range 18 [document.head, 1, document.head, 1], point 36 [paras[0], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3012 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3013 " | |
| 3014 PASS Range 18 [document.head, 1, document.head, 1], point 37 [paras[0], 2] | |
| 3015 FAIL Range 18 [document.head, 1, document.head, 1], point 38 [paras[1], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 3016 </p> but got Text node "Qrstuvwx" | |
| 3017 FAIL Range 18 [document.head, 1, document.head, 1], point 39 [paras[1], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 3018 </p> but got Text node "Qrstuvwx" | |
| 3019 PASS Range 18 [document.head, 1, document.head, 1], point 40 [paras[1], 2] | |
| 3020 FAIL Range 18 [document.head, 1, document.head, 1], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <head><title>Selection.collapse() test
s</title> | |
| 3021 <meta nam... | |
| 3022 FAIL Range 18 [document.head, 1, document.head, 1], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <head><title>Selection.collapse() test
s</title> | |
| 3023 <meta nam... | |
| 3024 FAIL Range 18 [document.head, 1, document.head, 1], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3025 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3026 " | |
| 3027 FAIL Range 18 [document.head, 1, document.head, 1], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3028 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3029 PASS Range 18 [document.head, 1, document.head, 1], point 45 [document, -1] | |
| 3030 FAIL Range 18 [document.head, 1, document.head, 1], point 46 [document, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3031 " | |
| 3032 FAIL Range 18 [document.head, 1, document.head, 1], point 47 [document, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3033 " | |
| 3034 FAIL Range 18 [document.head, 1, document.head, 1], point 48 [document, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Qrstuvwx" | |
| 3035 PASS Range 18 [document.head, 1, document.head, 1], point 49 [document, 3] | |
| 3036 PASS Range 18 [document.head, 1, document.head, 1], point 50 [comment, -1] | |
| 3037 FAIL Range 18 [document.head, 1, document.head, 1], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3038 FAIL Range 18 [document.head, 1, document.head, 1], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3039 PASS Range 18 [document.head, 1, document.head, 1], point 53 [comment, 96] | |
| 3040 FAIL Range 18 [document.head, 1, document.head, 1], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <head><title>Selection.collapse() tests<
/title> | |
| 3041 <meta nam... | |
| 3042 FAIL Range 18 [document.head, 1, document.head, 1], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <head><title>Selection.collapse() tests<
/title> | |
| 3043 <meta nam... | |
| 3044 FAIL Range 18 [document.head, 1, document.head, 1], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Element node <head><title>Selection.collapse() tests</title> | |
| 3045 <meta nam... | |
| 3046 FAIL Range 18 [document.head, 1, document.head, 1], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Eleme
nt node <head><title>Selection.collapse() tests</title> | |
| 3047 <meta nam... | |
| 3048 FAIL Range 18 [document.head, 1, document.head, 1], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Elem
ent node <head><title>Selection.collapse() tests</title> | |
| 3049 <meta nam... | |
| 3050 PASS Range 18 [document.head, 1, document.head, 1], point 59 [xmlDoc, -1] | |
| 3051 FAIL Range 18 [document.head, 1, document.head, 1], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Element node <head><title>Selection.collapse() tests</tit
le> | |
| 3052 <meta nam... | |
| 3053 FAIL Range 18 [document.head, 1, document.head, 1], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Element node <head><title>Selection.collapse() tests</tit
le> | |
| 3054 <meta nam... | |
| 3055 PASS Range 18 [document.head, 1, document.head, 1], point 62 [xmlDoc, 5] | |
| 3056 FAIL Range 18 [document.head, 1, document.head, 1], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got El
ement node <head><title>Selection.collapse() tests</title> | |
| 3057 <meta nam... | |
| 3058 FAIL Range 18 [document.head, 1, document.head, 1], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got El
ement node <head><title>Selection.collapse() tests</title> | |
| 3059 <meta nam... | |
| 3060 FAIL Range 18 [document.head, 1, document.head, 1], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Element node <head><title>Sele
ction.collapse() tests</title> | |
| 3061 <meta nam... | |
| 3062 FAIL Range 18 [document.head, 1, document.head, 1], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Element node <head><title>Sele
ction.collapse() tests</title> | |
| 3063 <meta nam... | |
| 3064 FAIL Range 18 [document.head, 1, document.head, 1], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Element node <head><title>Sele
ction.collapse() tests</title> | |
| 3065 <meta nam... | |
| 3066 FAIL Range 18 [document.head, 1, document.head, 1], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Element node <head><title>Selection.collapse() tests</ti
tle> | |
| 3067 <meta nam... | |
| 3068 FAIL Range 18 [document.head, 1, document.head, 1], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Element node <head><title>Selection.collapse() tests</ti
tle> | |
| 3069 <meta nam... | |
| 3070 FAIL Range 18 [document.head, 1, document.head, 1], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Element node <head><title>Selection.collapse() te
sts</title> | |
| 3071 <meta nam... | |
| 3072 FAIL Range 18 [document.head, 1, document.head, 1], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Element node <head><title>Selection.collapse() te
sts</title> | |
| 3073 <meta nam... | |
| 3074 FAIL Range 18 [document.head, 1, document.head, 1], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Element node <head><title>Selection.collapse() tests<
/title> | |
| 3075 <meta nam... | |
| 3076 FAIL Range 18 [document.head, 1, document.head, 1], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Element node <head><title>Selection.collapse() tests<
/title> | |
| 3077 <meta nam... | |
| 3078 FAIL Range 18 [document.head, 1, document.head, 1], point 74 [detachedProcessing
Instruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp c
hirp chirp" but got Element node <head><title>Selection.collapse() tests</title> | |
| 3079 <meta nam... | |
| 3080 FAIL Range 18 [document.head, 1, document.head, 1], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Element node <head><title>Selection.collapse() te
sts</title> | |
| 3081 <meta nam... | |
| 3082 FAIL Range 18 [document.head, 1, document.head, 1], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Element node <head><title>Selection.collapse() te
sts</title> | |
| 3083 <meta nam... | |
| 3084 FAIL Range 18 [document.head, 1, document.head, 1], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Element node <head><title>Selec
tion.collapse() tests</title> | |
| 3085 <meta nam... | |
| 3086 FAIL Range 18 [document.head, 1, document.head, 1], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Element node <head><title>Selec
tion.collapse() tests</title> | |
| 3087 <meta nam... | |
| 3088 FAIL Range 18 [document.head, 1, document.head, 1], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <head><title>Se
lection.collapse() tests</title> | |
| 3089 <meta nam... | |
| 3090 FAIL Range 18 [document.head, 1, document.head, 1], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Element node <head><title>Selection.collapse() t
ests</title> | |
| 3091 <meta nam... | |
| 3092 FAIL Range 18 [document.head, 1, document.head, 1], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Element node <head><title>Selection.colla
pse() tests</title> | |
| 3093 <meta nam... | |
| 3094 FAIL Range 18 [document.head, 1, document.head, 1], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Element node <head><title>Selection.collapse(
) tests</title> | |
| 3095 <meta nam... | |
| 3096 PASS Range 18 [document.head, 1, document.head, 1], point 83 [doctype, 0] | |
| 3097 FAIL Range 18 [document.head, 1, document.head, 1], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
| 3098 selection.collapse(point[0], point[1]); | |
| 3099 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 3100 PASS Range 18 [document.head, 1, document.head, 1], point 85 [doctype, 1] | |
| 3101 PASS Range 18 [document.head, 1, document.head, 1], point 86 [foreignDoctype, 0]
| |
| 3102 PASS Range 18 [document.head, 1, document.head, 1], point 87 [xmlDoctype, 0] | |
| 3103 PASS Range 19 [document.body, 0, document.body, 1], point 0 [paras[0].firstChild
, -1] | |
| 3104 PASS Range 19 [document.body, 0, document.body, 1], point 1 [paras[0].firstChild
, 0] | |
| 3105 FAIL Range 19 [document.body, 0, document.body, 1], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | |
| 3106 PASS Range 19 [document.body, 0, document.body, 1], point 3 [paras[0].firstChild
, 2] | |
| 3107 PASS Range 19 [document.body, 0, document.body, 1], point 4 [paras[0].firstChild
, 8] | |
| 3108 FAIL Range 19 [document.body, 0, document.body, 1], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | |
| 3109 PASS Range 19 [document.body, 0, document.body, 1], point 6 [paras[0].firstChild
, 10] | |
| 3110 PASS Range 19 [document.body, 0, document.body, 1], point 7 [paras[0].firstChild
, 65535] | |
| 3111 PASS Range 19 [document.body, 0, document.body, 1], point 8 [paras[1].firstChild
, -1] | |
| 3112 FAIL Range 19 [document.body, 0, document.body, 1], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | |
| 3113 " but got Text node "Qrstuvwx" | |
| 3114 FAIL Range 19 [document.body, 0, document.body, 1], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3115 " but got Text node "Qrstuvwx" | |
| 3116 FAIL Range 19 [document.body, 0, document.body, 1], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3117 " but got Text node "Qrstuvwx" | |
| 3118 FAIL Range 19 [document.body, 0, document.body, 1], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3119 " but got Text node "Qrstuvwx" | |
| 3120 FAIL Range 19 [document.body, 0, document.body, 1], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3121 " but got Text node "Qrstuvwx" | |
| 3122 PASS Range 19 [document.body, 0, document.body, 1], point 14 [paras[1].firstChil
d, 10] | |
| 3123 PASS Range 19 [document.body, 0, document.body, 1], point 15 [paras[1].firstChil
d, 65535] | |
| 3124 FAIL Range 19 [document.body, 0, document.body, 1], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | |
| 3125 </p><p id... | |
| 3126 FAIL Range 19 [document.body, 0, document.body, 1], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | |
| 3127 </p><p id... | |
| 3128 FAIL Range 19 [document.body, 0, document.body, 1], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | |
| 3129 </p><p id... | |
| 3130 PASS Range 19 [document.body, 0, document.body, 1], point 19 [detachedPara1.firs
tChild, 9] | |
| 3131 FAIL Range 19 [document.body, 0, document.body, 1], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | |
| 3132 </p><p id... | |
| 3133 FAIL Range 19 [document.body, 0, document.body, 1], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | |
| 3134 </p><p id... | |
| 3135 FAIL Range 19 [document.body, 0, document.body, 1], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | |
| 3136 </p><p id... | |
| 3137 PASS Range 19 [document.body, 0, document.body, 1], point 23 [foreignPara1.first
Child, 9] | |
| 3138 PASS Range 19 [document.body, 0, document.body, 1], point 24 [document.documentE
lement, -1] | |
| 3139 FAIL Range 19 [document.body, 0, document.body, 1], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 3140 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3141 " | |
| 3142 FAIL Range 19 [document.body, 0, document.body, 1], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 3143 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3144 " | |
| 3145 FAIL Range 19 [document.body, 0, document.body, 1], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 3146 <me... but got Text node "Qrstuvwx" | |
| 3147 PASS Range 19 [document.body, 0, document.body, 1], point 28 [document.documentE
lement, 7] | |
| 3148 FAIL Range 19 [document.body, 0, document.body, 1], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | |
| 3149 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3150 " | |
| 3151 FAIL Range 19 [document.body, 0, document.body, 1], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3152 </p><p id... but got Text node "Qrstuvwx" | |
| 3153 FAIL Range 19 [document.body, 0, document.body, 1], point 31 [foreignDoc.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3154 </p><p id... | |
| 3155 FAIL Range 19 [document.body, 0, document.body, 1], point 32 [foreignDoc.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title></title></head><body><p>Efghijkl</p><p... b
ut got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3156 </p><p id... | |
| 3157 FAIL Range 19 [document.body, 0, document.body, 1], point 33 [foreignDoc.head, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title></title></head> but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3158 </p><p id... | |
| 3159 FAIL Range 19 [document.body, 0, document.body, 1], point 34 [foreignDoc.body, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3160 </p><p id... | |
| 3161 FAIL Range 19 [document.body, 0, document.body, 1], point 35 [paras[0], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3162 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3163 " | |
| 3164 FAIL Range 19 [document.body, 0, document.body, 1], point 36 [paras[0], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3165 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3166 " | |
| 3167 PASS Range 19 [document.body, 0, document.body, 1], point 37 [paras[0], 2] | |
| 3168 FAIL Range 19 [document.body, 0, document.body, 1], point 38 [paras[1], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 3169 </p> but got Text node "Qrstuvwx" | |
| 3170 FAIL Range 19 [document.body, 0, document.body, 1], point 39 [paras[1], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 3171 </p> but got Text node "Qrstuvwx" | |
| 3172 PASS Range 19 [document.body, 0, document.body, 1], point 40 [paras[1], 2] | |
| 3173 FAIL Range 19 [document.body, 0, document.body, 1], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d
̈ëf̈g̈ḧ | |
| 3174 </p><p id... | |
| 3175 FAIL Range 19 [document.body, 0, document.body, 1], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <body><div id="test"><p id="a">Äb̈c̈d
̈ëf̈g̈ḧ | |
| 3176 </p><p id... | |
| 3177 FAIL Range 19 [document.body, 0, document.body, 1], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3178 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3179 " | |
| 3180 FAIL Range 19 [document.body, 0, document.body, 1], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3181 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3182 PASS Range 19 [document.body, 0, document.body, 1], point 45 [document, -1] | |
| 3183 FAIL Range 19 [document.body, 0, document.body, 1], point 46 [document, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3184 " | |
| 3185 FAIL Range 19 [document.body, 0, document.body, 1], point 47 [document, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3186 " | |
| 3187 FAIL Range 19 [document.body, 0, document.body, 1], point 48 [document, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Qrstuvwx" | |
| 3188 PASS Range 19 [document.body, 0, document.body, 1], point 49 [document, 3] | |
| 3189 PASS Range 19 [document.body, 0, document.body, 1], point 50 [comment, -1] | |
| 3190 FAIL Range 19 [document.body, 0, document.body, 1], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3191 FAIL Range 19 [document.body, 0, document.body, 1], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3192 PASS Range 19 [document.body, 0, document.body, 1], point 53 [comment, 96] | |
| 3193 FAIL Range 19 [document.body, 0, document.body, 1], point 54 [foreignDoc, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 3194 </p><p id... | |
| 3195 FAIL Range 19 [document.body, 0, document.body, 1], point 55 [foreignDoc, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 3 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 3196 </p><p id... | |
| 3197 FAIL Range 19 [document.body, 0, document.body, 1], point 56 [foreignComment, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Comment
node <!--"Commenter" and "commentator" mean different things. I'v...--> but go
t Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3198 </p><p id... | |
| 3199 FAIL Range 19 [document.body, 0, document.body, 1], point 57 [foreignTextNode, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Text n
ode "I admit that I harbor doubts about whether we really need..." but got Eleme
nt node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3200 </p><p id... | |
| 3201 FAIL Range 19 [document.body, 0, document.body, 1], point 58 [foreignTextNode, 3
6] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3202 </p><p id... | |
| 3203 PASS Range 19 [document.body, 0, document.body, 1], point 59 [xmlDoc, -1] | |
| 3204 FAIL Range 19 [document.body, 0, document.body, 1], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g
̈ḧ | |
| 3205 </p><p id... | |
| 3206 FAIL Range 19 [document.body, 0, document.body, 1], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g
̈ḧ | |
| 3207 </p><p id... | |
| 3208 PASS Range 19 [document.body, 0, document.body, 1], point 62 [xmlDoc, 5] | |
| 3209 FAIL Range 19 [document.body, 0, document.body, 1], point 63 [xmlComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got El
ement node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3210 </p><p id... | |
| 3211 FAIL Range 19 [document.body, 0, document.body, 1], point 64 [xmlComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--I maliciously created a comment that will break incautiou...--> but got El
ement node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3212 </p><p id... | |
| 3213 FAIL Range 19 [document.body, 0, document.body, 1], point 65 [processingInstruct
ion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Element node <body><div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3214 </p><p id... | |
| 3215 FAIL Range 19 [document.body, 0, document.body, 1], point 66 [processingInstruct
ion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Element node <body><div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3216 </p><p id... | |
| 3217 FAIL Range 19 [document.body, 0, document.body, 1], point 67 [processingInstruct
ion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":s
yn sync fromstart\" is very useful wh..." but got Element node <body><div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3218 </p><p id... | |
| 3219 FAIL Range 19 [document.body, 0, document.body, 1], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈
g̈ḧ | |
| 3220 </p><p id... | |
| 3221 FAIL Range 19 [document.body, 0, document.body, 1], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈
g̈ḧ | |
| 3222 </p><p id... | |
| 3223 FAIL Range 19 [document.body, 0, document.body, 1], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | |
| 3224 </p><p id... | |
| 3225 FAIL Range 19 [document.body, 0, document.body, 1], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | |
| 3226 </p><p id... | |
| 3227 FAIL Range 19 [document.body, 0, document.body, 1], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 3228 </p><p id... | |
| 3229 FAIL Range 19 [document.body, 0, document.body, 1], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈e
̈f̈g̈ḧ | |
| 3230 </p><p id... | |
| 3231 FAIL Range 19 [document.body, 0, document.body, 1], point 74 [detachedProcessing
Instruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp c
hirp chirp" but got Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3232 </p><p id... | |
| 3233 FAIL Range 19 [document.body, 0, document.body, 1], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | |
| 3234 </p><p id... | |
| 3235 FAIL Range 19 [document.body, 0, document.body, 1], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | |
| 3236 </p><p id... | |
| 3237 FAIL Range 19 [document.body, 0, document.body, 1], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Element node <body><div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3238 </p><p id... | |
| 3239 FAIL Range 19 [document.body, 0, document.body, 1], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Element node <body><div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3240 </p><p id... | |
| 3241 FAIL Range 19 [document.body, 0, document.body, 1], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <body><div id="
test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3242 </p><p id... | |
| 3243 FAIL Range 19 [document.body, 0, document.body, 1], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Element node <body><div id="test"><p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | |
| 3244 </p><p id... | |
| 3245 FAIL Range 19 [document.body, 0, document.body, 1], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Element node <body><div id="test"><p id="
a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3246 </p><p id... | |
| 3247 FAIL Range 19 [document.body, 0, document.body, 1], point 82 [xmlDocfrag, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected DocumentFra
gment node with 0 children but got Element node <body><div id="test"><p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | |
| 3248 </p><p id... | |
| 3249 PASS Range 19 [document.body, 0, document.body, 1], point 83 [doctype, 0] | |
| 3250 FAIL Range 19 [document.body, 0, document.body, 1], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
| 3251 selection.collapse(point[0], point[1]); | |
| 3252 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 3253 PASS Range 19 [document.body, 0, document.body, 1], point 85 [doctype, 1] | |
| 3254 PASS Range 19 [document.body, 0, document.body, 1], point 86 [foreignDoctype, 0]
| |
| 3255 PASS Range 19 [document.body, 0, document.body, 1], point 87 [xmlDoctype, 0] | |
| 3256 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 0 [paras[0].firstChild, -1] | |
| 3257 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 1 [paras[0].firstChild, 0] | |
| 3258 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 2 [paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset
we collapse()d to expected 1 but got 2 | |
| 3259 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 3 [paras[0].firstChild, 2] | |
| 3260 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 4 [paras[0].firstChild, 8] | |
| 3261 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 5 [paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset
we collapse()d to expected 9 but got 10 | |
| 3262 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 6 [paras[0].firstChild, 10] | |
| 3263 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 7 [paras[0].firstChild, 65535] | |
| 3264 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 8 [paras[1].firstChild, -1] | |
| 3265 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 9 [paras[1].firstChild, 0] assert_equals: focusNode must equal the node we c
ollapse()d to expected Text node "Ijklmnop | |
| 3266 " but got Text node "Qrstuvwx" | |
| 3267 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 10 [paras[1].firstChild, 1] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Ijklmnop | |
| 3268 " but got Text node "Qrstuvwx" | |
| 3269 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 11 [paras[1].firstChild, 2] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Ijklmnop | |
| 3270 " but got Text node "Qrstuvwx" | |
| 3271 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 12 [paras[1].firstChild, 8] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Ijklmnop | |
| 3272 " but got Text node "Qrstuvwx" | |
| 3273 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 13 [paras[1].firstChild, 9] assert_equals: focusNode must equal the node we
collapse()d to expected Text node "Ijklmnop | |
| 3274 " but got Text node "Qrstuvwx" | |
| 3275 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 14 [paras[1].firstChild, 10] | |
| 3276 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 15 [paras[1].firstChild, 65535] | |
| 3277 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 16 [detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | |
| 3278 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 17 [detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | |
| 3279 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 18 [detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | |
| 3280 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 19 [detachedPara1.firstChild, 9] | |
| 3281 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 20 [foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | |
| 3282 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 21 [foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | |
| 3283 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 22 [foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | |
| 3284 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 23 [foreignPara1.firstChild, 9] | |
| 3285 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 24 [document.documentElement, -1] | |
| 3286 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 25 [document.documentElement, 0] assert_equals: focusNode must equal the nod
e we collapse()d to expected Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 3287 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3288 " | |
| 3289 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 26 [document.documentElement, 1] assert_equals: focusNode must equal the nod
e we collapse()d to expected Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 3290 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3291 " | |
| 3292 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 27 [document.documentElement, 2] assert_equals: focusNode must equal the nod
e we collapse()d to expected Element node <html><head><title>Selection.collapse(
) tests</title> | |
| 3293 <me... but got Text node "Qrstuvwx" | |
| 3294 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 28 [document.documentElement, 7] | |
| 3295 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 29 [document.head, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <head><title>Selection.collapse() tests</title> | |
| 3296 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3297 " | |
| 3298 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 30 [document.body, 3] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3299 </p><p id... but got Text node "Qrstuvwx" | |
| 3300 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 31 [foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | |
| 3301 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 32 [foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must
equal 1 after collapse() expected 1 but got 0 | |
| 3302 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 33 [foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3303 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 34 [foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3304 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 35 [paras[0], 0] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3305 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3306 " | |
| 3307 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 36 [paras[0], 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3308 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3309 " | |
| 3310 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 37 [paras[0], 2] | |
| 3311 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 38 [paras[1], 0] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <p id="b" style="display:none">Ijklmnop | |
| 3312 </p> but got Text node "Qrstuvwx" | |
| 3313 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 39 [paras[1], 1] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <p id="b" style="display:none">Ijklmnop | |
| 3314 </p> but got Text node "Qrstuvwx" | |
| 3315 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 40 [paras[1], 2] | |
| 3316 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 41 [detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 3317 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 42 [detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 3318 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 43 [testDiv, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3319 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3320 " | |
| 3321 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 44 [testDiv, 3] assert_equals: focusNode must equal the node we collapse()d
to expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3322 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3323 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 45 [document, -1] | |
| 3324 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 46 [document, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3325 " | |
| 3326 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 47 [document, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3327 " | |
| 3328 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 48 [document, 2] assert_equals: focusNode must equal the node we collapse()d
to expected Document node with 2 children but got Text node "Qrstuvwx" | |
| 3329 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 49 [document, 3] | |
| 3330 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 50 [comment, -1] | |
| 3331 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 51 [comment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3332 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 52 [comment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3333 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 53 [comment, 96] | |
| 3334 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 54 [foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 3335 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 55 [foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 3336 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 56 [foreignComment, 2] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 3337 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 57 [foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3338 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 58 [foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 3339 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 59 [xmlDoc, -1] | |
| 3340 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 60 [xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 3341 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 61 [xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 3342 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 62 [xmlDoc, 5] | |
| 3343 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 63 [xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 3344 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 64 [xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 3345 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 65 [processingInstruction, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 3346 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 66 [processingInstruction, 5] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 3347 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 67 [processingInstruction, 9] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 3348 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 68 [detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 3349 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 69 [detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 3350 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 70 [detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | |
| 3351 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 71 [detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equ
al 1 after collapse() expected 1 but got 0 | |
| 3352 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 72 [detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 3353 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 73 [detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 3354 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 74 [detachedProcessingInstruction, 12] assert_equals: selection.rangeCount m
ust equal 1 after collapse() expected 1 but got 0 | |
| 3355 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 75 [detachedComment, 3] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3356 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 76 [detachedComment, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3357 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 77 [detachedForeignComment, 0] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | |
| 3358 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 78 [detachedForeignComment, 4] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | |
| 3359 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 79 [detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 3360 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 80 [docfrag, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3361 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 81 [foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 3362 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 82 [xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 3363 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 83 [doctype, 0] | |
| 3364 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 84 [doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when colla
pse()ing if the node is a DocumentType function "function () { | |
| 3365 selection.collapse(point[0], point[1]); | |
| 3366 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 3367 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 85 [doctype, 1] | |
| 3368 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 86 [foreignDoctype, 0] | |
| 3369 PASS Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], po
int 87 [xmlDoctype, 0] | |
| 3370 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 0 [paras[0].firstC
hild, -1] | |
| 3371 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 1 [paras[0].firstC
hild, 0] | |
| 3372 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | |
| 3373 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 3 [paras[0].firstC
hild, 2] | |
| 3374 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 4 [paras[0].firstC
hild, 8] | |
| 3375 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | |
| 3376 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 6 [paras[0].firstC
hild, 10] | |
| 3377 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 7 [paras[0].firstC
hild, 65535] | |
| 3378 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 8 [paras[1].firstC
hild, -1] | |
| 3379 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 3380 " but got Text node "Qrstuvwx" | |
| 3381 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3382 " but got Text node "Qrstuvwx" | |
| 3383 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3384 " but got Text node "Qrstuvwx" | |
| 3385 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3386 " but got Text node "Qrstuvwx" | |
| 3387 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3388 " but got Text node "Qrstuvwx" | |
| 3389 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 14 [paras[1].first
Child, 10] | |
| 3390 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 15 [paras[1].first
Child, 65535] | |
| 3391 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3392 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3393 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3394 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 19 [detachedPara1.
firstChild, 9] | |
| 3395 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3396 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3397 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3398 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 23 [foreignPara1.f
irstChild, 9] | |
| 3399 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 24 [document.docum
entElement, -1] | |
| 3400 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 25 [document.docum
entElement, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3401 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3402 " | |
| 3403 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 26 [document.docum
entElement, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3404 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3405 " | |
| 3406 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 27 [document.docum
entElement, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3407 <me... but got Text node "Qrstuvwx" | |
| 3408 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 28 [document.docum
entElement, 7] | |
| 3409 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 29 [document.head,
1] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <head><title>Selection.collapse() tests</title> | |
| 3410 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3411 " | |
| 3412 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 30 [document.body,
3] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3413 </p><p id... but got Text node "Qrstuvwx" | |
| 3414 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 3415 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 3416 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3417 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3418 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 35 [paras[0], 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3419 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3420 " | |
| 3421 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 36 [paras[0], 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3422 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3423 " | |
| 3424 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 37 [paras[0], 2] | |
| 3425 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 38 [paras[1], 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="b" style="display:none">Ijklmnop | |
| 3426 </p> but got Text node "Qrstuvwx" | |
| 3427 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 39 [paras[1], 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="b" style="display:none">Ijklmnop | |
| 3428 </p> but got Text node "Qrstuvwx" | |
| 3429 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 40 [paras[1], 2] | |
| 3430 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3431 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3432 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 43 [testDiv, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3433 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3434 " | |
| 3435 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 44 [testDiv, 3] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3436 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3437 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 45 [document, -1] | |
| 3438 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 46 [document, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3439 " | |
| 3440 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 47 [document, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3441 " | |
| 3442 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 48 [document, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Qrstuvwx" | |
| 3443 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 49 [document, 3] | |
| 3444 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 50 [comment, -1] | |
| 3445 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 51 [comment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3446 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 52 [comment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3447 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 53 [comment, 96] | |
| 3448 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3449 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3450 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3451 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3452 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3453 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 59 [xmlDoc, -1] | |
| 3454 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3455 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3456 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 62 [xmlDoc, 5] | |
| 3457 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3458 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3459 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3460 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3461 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3462 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3463 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3464 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3465 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3466 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3467 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3468 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3469 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3470 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3471 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3472 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3473 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 3474 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 3475 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3476 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3477 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 83 [doctype, 0] | |
| 3478 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | |
| 3479 selection.collapse(point[0], point[1]); | |
| 3480 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 3481 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 85 [doctype, 1] | |
| 3482 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 86 [foreignDoctype
, 0] | |
| 3483 PASS Range 21 [foreignDoc.head, 1, foreignDoc.head, 1], point 87 [xmlDoctype, 0]
| |
| 3484 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 0 [paras[0].firstC
hild, -1] | |
| 3485 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 1 [paras[0].firstC
hild, 0] | |
| 3486 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | |
| 3487 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 3 [paras[0].firstC
hild, 2] | |
| 3488 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 4 [paras[0].firstC
hild, 8] | |
| 3489 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | |
| 3490 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 6 [paras[0].firstC
hild, 10] | |
| 3491 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 7 [paras[0].firstC
hild, 65535] | |
| 3492 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 8 [paras[1].firstC
hild, -1] | |
| 3493 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 3494 " but got Text node "Qrstuvwx" | |
| 3495 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3496 " but got Text node "Qrstuvwx" | |
| 3497 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3498 " but got Text node "Qrstuvwx" | |
| 3499 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3500 " but got Text node "Qrstuvwx" | |
| 3501 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 3502 " but got Text node "Qrstuvwx" | |
| 3503 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 14 [paras[1].first
Child, 10] | |
| 3504 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 15 [paras[1].first
Child, 65535] | |
| 3505 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3506 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3507 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3508 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 19 [detachedPara1.
firstChild, 9] | |
| 3509 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3510 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3511 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3512 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 23 [foreignPara1.f
irstChild, 9] | |
| 3513 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 24 [document.docum
entElement, -1] | |
| 3514 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 25 [document.docum
entElement, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3515 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3516 " | |
| 3517 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 26 [document.docum
entElement, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3518 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3519 " | |
| 3520 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 27 [document.docum
entElement, 2] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <html><head><title>Selection.collapse() tests</title> | |
| 3521 <me... but got Text node "Qrstuvwx" | |
| 3522 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 28 [document.docum
entElement, 7] | |
| 3523 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 29 [document.head,
1] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <head><title>Selection.collapse() tests</title> | |
| 3524 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3525 " | |
| 3526 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 30 [document.body,
3] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3527 </p><p id... but got Text node "Qrstuvwx" | |
| 3528 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 3529 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 3530 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3531 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3532 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 35 [paras[0], 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3533 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3534 " | |
| 3535 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 36 [paras[0], 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3536 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3537 " | |
| 3538 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 37 [paras[0], 2] | |
| 3539 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 38 [paras[1], 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="b" style="display:none">Ijklmnop | |
| 3540 </p> but got Text node "Qrstuvwx" | |
| 3541 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 39 [paras[1], 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <p id="b" style="display:none">Ijklmnop | |
| 3542 </p> but got Text node "Qrstuvwx" | |
| 3543 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 40 [paras[1], 2] | |
| 3544 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3545 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3546 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 43 [testDiv, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3547 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3548 " | |
| 3549 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 44 [testDiv, 3] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3550 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3551 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 45 [document, -1] | |
| 3552 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 46 [document, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3553 " | |
| 3554 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 47 [document, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3555 " | |
| 3556 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 48 [document, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Document
node with 2 children but got Text node "Qrstuvwx" | |
| 3557 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 49 [document, 3] | |
| 3558 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 50 [comment, -1] | |
| 3559 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 51 [comment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3560 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 52 [comment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3561 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 53 [comment, 96] | |
| 3562 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3563 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3564 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3565 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3566 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3567 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 59 [xmlDoc, -1] | |
| 3568 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3569 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3570 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 62 [xmlDoc, 5] | |
| 3571 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3572 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3573 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3574 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3575 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3576 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3577 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3578 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3579 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3580 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3581 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3582 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3583 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3584 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3585 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3586 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3587 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 3588 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 3589 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3590 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3591 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 83 [doctype, 0] | |
| 3592 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | |
| 3593 selection.collapse(point[0], point[1]); | |
| 3594 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 3595 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 85 [doctype, 1] | |
| 3596 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 86 [foreignDoctype
, 0] | |
| 3597 PASS Range 22 [foreignDoc.body, 0, foreignDoc.body, 0], point 87 [xmlDoctype, 0]
| |
| 3598 PASS Range 23 [paras[0], 0, paras[0], 0], point 0 [paras[0].firstChild, -1] | |
| 3599 PASS Range 23 [paras[0], 0, paras[0], 0], point 1 [paras[0].firstChild, 0] | |
| 3600 FAIL Range 23 [paras[0], 0, paras[0], 0], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | |
| 3601 PASS Range 23 [paras[0], 0, paras[0], 0], point 3 [paras[0].firstChild, 2] | |
| 3602 PASS Range 23 [paras[0], 0, paras[0], 0], point 4 [paras[0].firstChild, 8] | |
| 3603 FAIL Range 23 [paras[0], 0, paras[0], 0], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | |
| 3604 PASS Range 23 [paras[0], 0, paras[0], 0], point 6 [paras[0].firstChild, 10] | |
| 3605 PASS Range 23 [paras[0], 0, paras[0], 0], point 7 [paras[0].firstChild, 65535] | |
| 3606 PASS Range 23 [paras[0], 0, paras[0], 0], point 8 [paras[1].firstChild, -1] | |
| 3607 FAIL Range 23 [paras[0], 0, paras[0], 0], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 3608 " but got Text node "Qrstuvwx" | |
| 3609 FAIL Range 23 [paras[0], 0, paras[0], 0], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3610 " but got Text node "Qrstuvwx" | |
| 3611 FAIL Range 23 [paras[0], 0, paras[0], 0], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3612 " but got Text node "Qrstuvwx" | |
| 3613 FAIL Range 23 [paras[0], 0, paras[0], 0], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3614 " but got Text node "Qrstuvwx" | |
| 3615 FAIL Range 23 [paras[0], 0, paras[0], 0], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3616 " but got Text node "Qrstuvwx" | |
| 3617 PASS Range 23 [paras[0], 0, paras[0], 0], point 14 [paras[1].firstChild, 10] | |
| 3618 PASS Range 23 [paras[0], 0, paras[0], 0], point 15 [paras[1].firstChild, 65535] | |
| 3619 FAIL Range 23 [paras[0], 0, paras[0], 0], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3620 </p> | |
| 3621 FAIL Range 23 [paras[0], 0, paras[0], 0], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3622 </p> | |
| 3623 FAIL Range 23 [paras[0], 0, paras[0], 0], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3624 </p> | |
| 3625 PASS Range 23 [paras[0], 0, paras[0], 0], point 19 [detachedPara1.firstChild, 9]
| |
| 3626 FAIL Range 23 [paras[0], 0, paras[0], 0], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3627 </p> | |
| 3628 FAIL Range 23 [paras[0], 0, paras[0], 0], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3629 </p> | |
| 3630 FAIL Range 23 [paras[0], 0, paras[0], 0], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3631 </p> | |
| 3632 PASS Range 23 [paras[0], 0, paras[0], 0], point 23 [foreignPara1.firstChild, 9] | |
| 3633 PASS Range 23 [paras[0], 0, paras[0], 0], point 24 [document.documentElement, -1
] | |
| 3634 FAIL Range 23 [paras[0], 0, paras[0], 0], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3635 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3636 " | |
| 3637 FAIL Range 23 [paras[0], 0, paras[0], 0], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3638 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3639 " | |
| 3640 FAIL Range 23 [paras[0], 0, paras[0], 0], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3641 <me... but got Text node "Qrstuvwx" | |
| 3642 PASS Range 23 [paras[0], 0, paras[0], 0], point 28 [document.documentElement, 7]
| |
| 3643 FAIL Range 23 [paras[0], 0, paras[0], 0], point 29 [document.head, 1] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <head
><title>Selection.collapse() tests</title> | |
| 3644 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3645 " | |
| 3646 FAIL Range 23 [paras[0], 0, paras[0], 0], point 30 [document.body, 3] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <body
><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3647 </p><p id... but got Text node "Qrstuvwx" | |
| 3648 FAIL Range 23 [paras[0], 0, paras[0], 0], point 31 [foreignDoc.documentElement,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3649 </p> | |
| 3650 FAIL Range 23 [paras[0], 0, paras[0], 0], point 32 [foreignDoc.documentElement,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3651 </p> | |
| 3652 FAIL Range 23 [paras[0], 0, paras[0], 0], point 33 [foreignDoc.head, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <he
ad><title></title></head> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3653 </p> | |
| 3654 FAIL Range 23 [paras[0], 0, paras[0], 0], point 34 [foreignDoc.body, 1] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <bo
dy><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3655 </p> | |
| 3656 PASS Range 23 [paras[0], 0, paras[0], 0], point 35 [paras[0], 0] | |
| 3657 FAIL Range 23 [paras[0], 0, paras[0], 0], point 36 [paras[0], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | |
| 3658 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3659 " | |
| 3660 PASS Range 23 [paras[0], 0, paras[0], 0], point 37 [paras[0], 2] | |
| 3661 FAIL Range 23 [paras[0], 0, paras[0], 0], point 38 [paras[1], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 3662 </p> but got Text node "Qrstuvwx" | |
| 3663 FAIL Range 23 [paras[0], 0, paras[0], 0], point 39 [paras[1], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 3664 </p> but got Text node "Qrstuvwx" | |
| 3665 PASS Range 23 [paras[0], 0, paras[0], 0], point 40 [paras[1], 2] | |
| 3666 FAIL Range 23 [paras[0], 0, paras[0], 0], point 41 [detachedPara1, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <p>Op
qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3667 </p> | |
| 3668 FAIL Range 23 [paras[0], 0, paras[0], 0], point 42 [detachedPara1, 1] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <p>Op
qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3669 </p> | |
| 3670 FAIL Range 23 [paras[0], 0, paras[0], 0], point 43 [testDiv, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3671 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3672 " | |
| 3673 FAIL Range 23 [paras[0], 0, paras[0], 0], point 44 [testDiv, 3] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3674 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3675 PASS Range 23 [paras[0], 0, paras[0], 0], point 45 [document, -1] | |
| 3676 FAIL Range 23 [paras[0], 0, paras[0], 0], point 46 [document, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3677 " | |
| 3678 FAIL Range 23 [paras[0], 0, paras[0], 0], point 47 [document, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3679 " | |
| 3680 FAIL Range 23 [paras[0], 0, paras[0], 0], point 48 [document, 2] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Qrstuvwx" | |
| 3681 PASS Range 23 [paras[0], 0, paras[0], 0], point 49 [document, 3] | |
| 3682 PASS Range 23 [paras[0], 0, paras[0], 0], point 50 [comment, -1] | |
| 3683 FAIL Range 23 [paras[0], 0, paras[0], 0], point 51 [comment, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" | |
| 3684 FAIL Range 23 [paras[0], 0, paras[0], 0], point 52 [comment, 4] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" | |
| 3685 PASS Range 23 [paras[0], 0, paras[0], 0], point 53 [comment, 96] | |
| 3686 FAIL Range 23 [paras[0], 0, paras[0], 0], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3687 </p> | |
| 3688 FAIL Range 23 [paras[0], 0, paras[0], 0], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3689 </p> | |
| 3690 FAIL Range 23 [paras[0], 0, paras[0], 0], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3691 </p> | |
| 3692 FAIL Range 23 [paras[0], 0, paras[0], 0], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Element node <p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3693 </p> | |
| 3694 FAIL Range 23 [paras[0], 0, paras[0], 0], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3695 </p> | |
| 3696 PASS Range 23 [paras[0], 0, paras[0], 0], point 59 [xmlDoc, -1] | |
| 3697 FAIL Range 23 [paras[0], 0, paras[0], 0], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3698 </p> | |
| 3699 FAIL Range 23 [paras[0], 0, paras[0], 0], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3700 </p> | |
| 3701 PASS Range 23 [paras[0], 0, paras[0], 0], point 62 [xmlDoc, 5] | |
| 3702 FAIL Range 23 [paras[0], 0, paras[0], 0], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3703 </p> | |
| 3704 FAIL Range 23 [paras[0], 0, paras[0], 0], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3705 </p> | |
| 3706 FAIL Range 23 [paras[0], 0, paras[0], 0], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3707 </p> | |
| 3708 FAIL Range 23 [paras[0], 0, paras[0], 0], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3709 </p> | |
| 3710 FAIL Range 23 [paras[0], 0, paras[0], 0], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3711 </p> | |
| 3712 FAIL Range 23 [paras[0], 0, paras[0], 0], point 68 [detachedTextNode, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3713 </p> | |
| 3714 FAIL Range 23 [paras[0], 0, paras[0], 0], point 69 [detachedTextNode, 8] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3715 </p> | |
| 3716 FAIL Range 23 [paras[0], 0, paras[0], 0], point 70 [detachedForeignTextNode, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3717 </p> | |
| 3718 FAIL Range 23 [paras[0], 0, paras[0], 0], point 71 [detachedForeignTextNode, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3719 </p> | |
| 3720 FAIL Range 23 [paras[0], 0, paras[0], 0], point 72 [detachedXmlTextNode, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3721 </p> | |
| 3722 FAIL Range 23 [paras[0], 0, paras[0], 0], point 73 [detachedXmlTextNode, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3723 </p> | |
| 3724 FAIL Range 23 [paras[0], 0, paras[0], 0], point 74 [detachedProcessingInstructio
n, 12] assert_equals: focusNode must equal the node we collapse()d to expected P
rocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp
" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3725 </p> | |
| 3726 FAIL Range 23 [paras[0], 0, paras[0], 0], point 75 [detachedComment, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3727 </p> | |
| 3728 FAIL Range 23 [paras[0], 0, paras[0], 0], point 76 [detachedComment, 5] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3729 </p> | |
| 3730 FAIL Range 23 [paras[0], 0, paras[0], 0], point 77 [detachedForeignComment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3731 </p> | |
| 3732 FAIL Range 23 [paras[0], 0, paras[0], 0], point 78 [detachedForeignComment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3733 </p> | |
| 3734 FAIL Range 23 [paras[0], 0, paras[0], 0], point 79 [detachedXmlComment, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--בן ×—×™×™× ×ליעזר--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈h
̈ | |
| 3735 </p> | |
| 3736 FAIL Range 23 [paras[0], 0, paras[0], 0], point 80 [docfrag, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected DocumentFragment node wi
th 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3737 </p> | |
| 3738 FAIL Range 23 [paras[0], 0, paras[0], 0], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3739 </p> | |
| 3740 FAIL Range 23 [paras[0], 0, paras[0], 0], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3741 </p> | |
| 3742 PASS Range 23 [paras[0], 0, paras[0], 0], point 83 [doctype, 0] | |
| 3743 FAIL Range 23 [paras[0], 0, paras[0], 0], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | |
| 3744 selection.collapse(point[0], point[1]); | |
| 3745 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 3746 PASS Range 23 [paras[0], 0, paras[0], 0], point 85 [doctype, 1] | |
| 3747 PASS Range 23 [paras[0], 0, paras[0], 0], point 86 [foreignDoctype, 0] | |
| 3748 PASS Range 23 [paras[0], 0, paras[0], 0], point 87 [xmlDoctype, 0] | |
| 3749 PASS Range 24 [paras[0], 0, paras[0], 1], point 0 [paras[0].firstChild, -1] | |
| 3750 PASS Range 24 [paras[0], 0, paras[0], 1], point 1 [paras[0].firstChild, 0] | |
| 3751 FAIL Range 24 [paras[0], 0, paras[0], 1], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | |
| 3752 PASS Range 24 [paras[0], 0, paras[0], 1], point 3 [paras[0].firstChild, 2] | |
| 3753 PASS Range 24 [paras[0], 0, paras[0], 1], point 4 [paras[0].firstChild, 8] | |
| 3754 FAIL Range 24 [paras[0], 0, paras[0], 1], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | |
| 3755 PASS Range 24 [paras[0], 0, paras[0], 1], point 6 [paras[0].firstChild, 10] | |
| 3756 PASS Range 24 [paras[0], 0, paras[0], 1], point 7 [paras[0].firstChild, 65535] | |
| 3757 PASS Range 24 [paras[0], 0, paras[0], 1], point 8 [paras[1].firstChild, -1] | |
| 3758 FAIL Range 24 [paras[0], 0, paras[0], 1], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 3759 " but got Text node "Qrstuvwx" | |
| 3760 FAIL Range 24 [paras[0], 0, paras[0], 1], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3761 " but got Text node "Qrstuvwx" | |
| 3762 FAIL Range 24 [paras[0], 0, paras[0], 1], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3763 " but got Text node "Qrstuvwx" | |
| 3764 FAIL Range 24 [paras[0], 0, paras[0], 1], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3765 " but got Text node "Qrstuvwx" | |
| 3766 FAIL Range 24 [paras[0], 0, paras[0], 1], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 3767 " but got Text node "Qrstuvwx" | |
| 3768 PASS Range 24 [paras[0], 0, paras[0], 1], point 14 [paras[1].firstChild, 10] | |
| 3769 PASS Range 24 [paras[0], 0, paras[0], 1], point 15 [paras[1].firstChild, 65535] | |
| 3770 FAIL Range 24 [paras[0], 0, paras[0], 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3771 </p> | |
| 3772 FAIL Range 24 [paras[0], 0, paras[0], 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3773 </p> | |
| 3774 FAIL Range 24 [paras[0], 0, paras[0], 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3775 </p> | |
| 3776 PASS Range 24 [paras[0], 0, paras[0], 1], point 19 [detachedPara1.firstChild, 9]
| |
| 3777 FAIL Range 24 [paras[0], 0, paras[0], 1], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3778 </p> | |
| 3779 FAIL Range 24 [paras[0], 0, paras[0], 1], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3780 </p> | |
| 3781 FAIL Range 24 [paras[0], 0, paras[0], 1], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3782 </p> | |
| 3783 PASS Range 24 [paras[0], 0, paras[0], 1], point 23 [foreignPara1.firstChild, 9] | |
| 3784 PASS Range 24 [paras[0], 0, paras[0], 1], point 24 [document.documentElement, -1
] | |
| 3785 FAIL Range 24 [paras[0], 0, paras[0], 1], point 25 [document.documentElement, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3786 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3787 " | |
| 3788 FAIL Range 24 [paras[0], 0, paras[0], 1], point 26 [document.documentElement, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3789 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3790 " | |
| 3791 FAIL Range 24 [paras[0], 0, paras[0], 1], point 27 [document.documentElement, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <html><head><title>Selection.collapse() tests</title> | |
| 3792 <me... but got Text node "Qrstuvwx" | |
| 3793 PASS Range 24 [paras[0], 0, paras[0], 1], point 28 [document.documentElement, 7]
| |
| 3794 FAIL Range 24 [paras[0], 0, paras[0], 1], point 29 [document.head, 1] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <head
><title>Selection.collapse() tests</title> | |
| 3795 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3796 " | |
| 3797 FAIL Range 24 [paras[0], 0, paras[0], 1], point 30 [document.body, 3] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <body
><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3798 </p><p id... but got Text node "Qrstuvwx" | |
| 3799 FAIL Range 24 [paras[0], 0, paras[0], 1], point 31 [foreignDoc.documentElement,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3800 </p> | |
| 3801 FAIL Range 24 [paras[0], 0, paras[0], 1], point 32 [foreignDoc.documentElement,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3802 </p> | |
| 3803 FAIL Range 24 [paras[0], 0, paras[0], 1], point 33 [foreignDoc.head, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <he
ad><title></title></head> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3804 </p> | |
| 3805 FAIL Range 24 [paras[0], 0, paras[0], 1], point 34 [foreignDoc.body, 1] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <bo
dy><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3806 </p> | |
| 3807 FAIL Range 24 [paras[0], 0, paras[0], 1], point 35 [paras[0], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | |
| 3808 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3809 " | |
| 3810 FAIL Range 24 [paras[0], 0, paras[0], 1], point 36 [paras[0], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="a">
Äb̈c̈d̈ëf̈g̈ḧ | |
| 3811 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3812 " | |
| 3813 PASS Range 24 [paras[0], 0, paras[0], 1], point 37 [paras[0], 2] | |
| 3814 FAIL Range 24 [paras[0], 0, paras[0], 1], point 38 [paras[1], 0] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 3815 </p> but got Text node "Qrstuvwx" | |
| 3816 FAIL Range 24 [paras[0], 0, paras[0], 1], point 39 [paras[1], 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <p id="b"
style="display:none">Ijklmnop | |
| 3817 </p> but got Text node "Qrstuvwx" | |
| 3818 PASS Range 24 [paras[0], 0, paras[0], 1], point 40 [paras[1], 2] | |
| 3819 FAIL Range 24 [paras[0], 0, paras[0], 1], point 41 [detachedPara1, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <p>Op
qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3820 </p> | |
| 3821 FAIL Range 24 [paras[0], 0, paras[0], 1], point 42 [detachedPara1, 1] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <p>Op
qrstuv</p> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3822 </p> | |
| 3823 FAIL Range 24 [paras[0], 0, paras[0], 1], point 43 [testDiv, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3824 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3825 " | |
| 3826 FAIL Range 24 [paras[0], 0, paras[0], 1], point 44 [testDiv, 3] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3827 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3828 PASS Range 24 [paras[0], 0, paras[0], 1], point 45 [document, -1] | |
| 3829 FAIL Range 24 [paras[0], 0, paras[0], 1], point 46 [document, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3830 " | |
| 3831 FAIL Range 24 [paras[0], 0, paras[0], 1], point 47 [document, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3832 " | |
| 3833 FAIL Range 24 [paras[0], 0, paras[0], 1], point 48 [document, 2] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 2 ch
ildren but got Text node "Qrstuvwx" | |
| 3834 PASS Range 24 [paras[0], 0, paras[0], 1], point 49 [document, 3] | |
| 3835 PASS Range 24 [paras[0], 0, paras[0], 1], point 50 [comment, -1] | |
| 3836 FAIL Range 24 [paras[0], 0, paras[0], 1], point 51 [comment, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" | |
| 3837 FAIL Range 24 [paras[0], 0, paras[0], 1], point 52 [comment, 4] assert_equals: f
ocusNode must equal the node we collapse()d to expected Comment node <!--Alphabe
t soup?--> but got Text node "Qrstuvwx" | |
| 3838 PASS Range 24 [paras[0], 0, paras[0], 1], point 53 [comment, 96] | |
| 3839 FAIL Range 24 [paras[0], 0, paras[0], 1], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3840 </p> | |
| 3841 FAIL Range 24 [paras[0], 0, paras[0], 1], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3842 </p> | |
| 3843 FAIL Range 24 [paras[0], 0, paras[0], 1], point 56 [foreignComment, 2] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
"Commenter" and "commentator" mean different things. I'v...--> but got Element
node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3844 </p> | |
| 3845 FAIL Range 24 [paras[0], 0, paras[0], 1], point 57 [foreignTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "I adm
it that I harbor doubts about whether we really need..." but got Element node <p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3846 </p> | |
| 3847 FAIL Range 24 [paras[0], 0, paras[0], 1], point 58 [foreignTextNode, 36] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "I ad
mit that I harbor doubts about whether we really need..." but got Element node <
p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3848 </p> | |
| 3849 PASS Range 24 [paras[0], 0, paras[0], 1], point 59 [xmlDoc, -1] | |
| 3850 FAIL Range 24 [paras[0], 0, paras[0], 1], point 60 [xmlDoc, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3851 </p> | |
| 3852 FAIL Range 24 [paras[0], 0, paras[0], 1], point 61 [xmlDoc, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 4 chil
dren but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3853 </p> | |
| 3854 PASS Range 24 [paras[0], 0, paras[0], 1], point 62 [xmlDoc, 5] | |
| 3855 FAIL Range 24 [paras[0], 0, paras[0], 1], point 63 [xmlComment, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3856 </p> | |
| 3857 FAIL Range 24 [paras[0], 0, paras[0], 1], point 64 [xmlComment, 4] assert_equals
: focusNode must equal the node we collapse()d to expected Comment node <!--I ma
liciously created a comment that will break incautiou...--> but got Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3858 </p> | |
| 3859 FAIL Range 24 [paras[0], 0, paras[0], 1], point 65 [processingInstruction, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3860 </p> | |
| 3861 FAIL Range 24 [paras[0], 0, paras[0], 1], point 66 [processingInstruction, 5] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3862 </p> | |
| 3863 FAIL Range 24 [paras[0], 0, paras[0], 1], point 67 [processingInstruction, 9] as
sert_equals: focusNode must equal the node we collapse()d to expected Processing
Instruction node with target "somePI" and data "Did you know that \":syn sync fr
omstart\" is very useful wh..." but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3864 </p> | |
| 3865 FAIL Range 24 [paras[0], 0, paras[0], 1], point 68 [detachedTextNode, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3866 </p> | |
| 3867 FAIL Range 24 [paras[0], 0, paras[0], 1], point 69 [detachedTextNode, 8] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3868 </p> | |
| 3869 FAIL Range 24 [paras[0], 0, paras[0], 1], point 70 [detachedForeignTextNode, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3870 </p> | |
| 3871 FAIL Range 24 [paras[0], 0, paras[0], 1], point 71 [detachedForeignTextNode, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3872 </p> | |
| 3873 FAIL Range 24 [paras[0], 0, paras[0], 1], point 72 [detachedXmlTextNode, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3874 </p> | |
| 3875 FAIL Range 24 [paras[0], 0, paras[0], 1], point 73 [detachedXmlTextNode, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3876 </p> | |
| 3877 FAIL Range 24 [paras[0], 0, paras[0], 1], point 74 [detachedProcessingInstructio
n, 12] assert_equals: focusNode must equal the node we collapse()d to expected P
rocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp
" but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3878 </p> | |
| 3879 FAIL Range 24 [paras[0], 0, paras[0], 1], point 75 [detachedComment, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3880 </p> | |
| 3881 FAIL Range 24 [paras[0], 0, paras[0], 1], point 76 [detachedComment, 5] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3882 </p> | |
| 3883 FAIL Range 24 [paras[0], 0, paras[0], 1], point 77 [detachedForeignComment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3884 </p> | |
| 3885 FAIL Range 24 [paras[0], 0, paras[0], 1], point 78 [detachedForeignComment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3886 </p> | |
| 3887 FAIL Range 24 [paras[0], 0, paras[0], 1], point 79 [detachedXmlComment, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--בן ×—×™×™× ×ליעזר--> but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈h
̈ | |
| 3888 </p> | |
| 3889 FAIL Range 24 [paras[0], 0, paras[0], 1], point 80 [docfrag, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected DocumentFragment node wi
th 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3890 </p> | |
| 3891 FAIL Range 24 [paras[0], 0, paras[0], 1], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3892 </p> | |
| 3893 FAIL Range 24 [paras[0], 0, paras[0], 1], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3894 </p> | |
| 3895 PASS Range 24 [paras[0], 0, paras[0], 1], point 83 [doctype, 0] | |
| 3896 FAIL Range 24 [paras[0], 0, paras[0], 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | |
| 3897 selection.collapse(point[0], point[1]); | |
| 3898 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 3899 PASS Range 24 [paras[0], 0, paras[0], 1], point 85 [doctype, 1] | |
| 3900 PASS Range 24 [paras[0], 0, paras[0], 1], point 86 [foreignDoctype, 0] | |
| 3901 PASS Range 24 [paras[0], 0, paras[0], 1], point 87 [xmlDoctype, 0] | |
| 3902 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 0 [paras[0].firstChild
, -1] | |
| 3903 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 1 [paras[0].firstChild
, 0] | |
| 3904 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | |
| 3905 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 3 [paras[0].firstChild
, 2] | |
| 3906 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 4 [paras[0].firstChild
, 8] | |
| 3907 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | |
| 3908 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 6 [paras[0].firstChild
, 10] | |
| 3909 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 7 [paras[0].firstChild
, 65535] | |
| 3910 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 8 [paras[1].firstChild
, -1] | |
| 3911 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | |
| 3912 " but got Text node "Qrstuvwx" | |
| 3913 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3914 " but got Text node "Qrstuvwx" | |
| 3915 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3916 " but got Text node "Qrstuvwx" | |
| 3917 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3918 " but got Text node "Qrstuvwx" | |
| 3919 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 3920 " but got Text node "Qrstuvwx" | |
| 3921 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 14 [paras[1].firstChil
d, 10] | |
| 3922 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 15 [paras[1].firstChil
d, 65535] | |
| 3923 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 16 [detachedPara1.firs
tChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3924 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 17 [detachedPara1.firs
tChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3925 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 18 [detachedPara1.firs
tChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3926 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 19 [detachedPara1.firs
tChild, 9] | |
| 3927 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 20 [foreignPara1.first
Child, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3928 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 21 [foreignPara1.first
Child, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3929 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 22 [foreignPara1.first
Child, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3930 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 23 [foreignPara1.first
Child, 9] | |
| 3931 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 24 [document.documentE
lement, -1] | |
| 3932 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 3933 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3934 " | |
| 3935 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 3936 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3937 " | |
| 3938 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 3939 <me... but got Text node "Qrstuvwx" | |
| 3940 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 28 [document.documentE
lement, 7] | |
| 3941 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | |
| 3942 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3943 " | |
| 3944 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3945 </p><p id... but got Text node "Qrstuvwx" | |
| 3946 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 31 [foreignDoc.documen
tElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3947 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 32 [foreignDoc.documen
tElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3948 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 33 [foreignDoc.head, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 3949 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 34 [foreignDoc.body, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 3950 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 35 [paras[0], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3951 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3952 " | |
| 3953 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 36 [paras[0], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3954 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3955 " | |
| 3956 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 37 [paras[0], 2] | |
| 3957 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 38 [paras[1], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 3958 </p> but got Text node "Qrstuvwx" | |
| 3959 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 39 [paras[1], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 3960 </p> but got Text node "Qrstuvwx" | |
| 3961 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 40 [paras[1], 2] | |
| 3962 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 41 [detachedPara1, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3963 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 42 [detachedPara1, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3964 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3965 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3966 " | |
| 3967 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3968 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3969 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 45 [document, -1] | |
| 3970 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 46 [document, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3971 " | |
| 3972 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 47 [document, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3973 " | |
| 3974 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 48 [document, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Qrstuvwx" | |
| 3975 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 49 [document, 3] | |
| 3976 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 50 [comment, -1] | |
| 3977 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3978 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3979 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 53 [comment, 96] | |
| 3980 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 54 [foreignDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3981 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 55 [foreignDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3982 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 56 [foreignComment, 2]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3983 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 57 [foreignTextNode, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 3984 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 58 [foreignTextNode, 3
6] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3985 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 59 [xmlDoc, -1] | |
| 3986 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 60 [xmlDoc, 0] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3987 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 61 [xmlDoc, 1] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3988 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 62 [xmlDoc, 5] | |
| 3989 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 63 [xmlComment, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3990 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 64 [xmlComment, 4] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3991 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 65 [processingInstruct
ion, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 3992 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 66 [processingInstruct
ion, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 3993 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 67 [processingInstruct
ion, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 3994 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 68 [detachedTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3995 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 69 [detachedTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3996 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 70 [detachedForeignTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3997 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 71 [detachedForeignTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3998 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 72 [detachedXmlTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3999 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 73 [detachedXmlTextNod
e, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 4000 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 74 [detachedProcessing
Instruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 4001 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 75 [detachedComment, 3
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 4002 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 76 [detachedComment, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 4003 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 77 [detachedForeignCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 4004 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 78 [detachedForeignCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 4005 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 79 [detachedXmlComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 4006 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 80 [docfrag, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 4007 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 81 [foreignDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 4008 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 82 [xmlDocfrag, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 4009 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 83 [doctype, 0] | |
| 4010 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
| 4011 selection.collapse(point[0], point[1]); | |
| 4012 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 4013 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 85 [doctype, 1] | |
| 4014 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 86 [foreignDoctype, 0]
| |
| 4015 PASS Range 25 [detachedPara1, 0, detachedPara1, 0], point 87 [xmlDoctype, 0] | |
| 4016 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 0 [paras[0].firstChild
, -1] | |
| 4017 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 1 [paras[0].firstChild
, 0] | |
| 4018 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | |
| 4019 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 3 [paras[0].firstChild
, 2] | |
| 4020 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 4 [paras[0].firstChild
, 8] | |
| 4021 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | |
| 4022 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 6 [paras[0].firstChild
, 10] | |
| 4023 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 7 [paras[0].firstChild
, 65535] | |
| 4024 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 8 [paras[1].firstChild
, -1] | |
| 4025 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | |
| 4026 " but got Text node "Qrstuvwx" | |
| 4027 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 4028 " but got Text node "Qrstuvwx" | |
| 4029 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 4030 " but got Text node "Qrstuvwx" | |
| 4031 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 4032 " but got Text node "Qrstuvwx" | |
| 4033 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 4034 " but got Text node "Qrstuvwx" | |
| 4035 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 14 [paras[1].firstChil
d, 10] | |
| 4036 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 15 [paras[1].firstChil
d, 65535] | |
| 4037 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 16 [detachedPara1.firs
tChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 4038 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 17 [detachedPara1.firs
tChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 4039 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 18 [detachedPara1.firs
tChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 4040 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 19 [detachedPara1.firs
tChild, 9] | |
| 4041 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 20 [foreignPara1.first
Child, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 4042 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 21 [foreignPara1.first
Child, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 4043 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 22 [foreignPara1.first
Child, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 4044 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 23 [foreignPara1.first
Child, 9] | |
| 4045 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 24 [document.documentE
lement, -1] | |
| 4046 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 25 [document.documentE
lement, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 4047 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4048 " | |
| 4049 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 26 [document.documentE
lement, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 4050 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4051 " | |
| 4052 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 27 [document.documentE
lement, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Element node <html><head><title>Selection.collapse() tests</title> | |
| 4053 <me... but got Text node "Qrstuvwx" | |
| 4054 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 28 [document.documentE
lement, 7] | |
| 4055 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | |
| 4056 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4057 " | |
| 4058 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4059 </p><p id... but got Text node "Qrstuvwx" | |
| 4060 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 31 [foreignDoc.documen
tElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 4061 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 32 [foreignDoc.documen
tElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 4062 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 33 [foreignDoc.head, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 4063 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 34 [foreignDoc.body, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 4064 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 35 [paras[0], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4065 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4066 " | |
| 4067 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 36 [paras[0], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4068 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4069 " | |
| 4070 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 37 [paras[0], 2] | |
| 4071 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 38 [paras[1], 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 4072 </p> but got Text node "Qrstuvwx" | |
| 4073 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 39 [paras[1], 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 4074 </p> but got Text node "Qrstuvwx" | |
| 4075 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 40 [paras[1], 2] | |
| 4076 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 41 [detachedPara1, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 4077 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 42 [detachedPara1, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 4078 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 43 [testDiv, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4079 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4080 " | |
| 4081 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 44 [testDiv, 3] assert
_equals: focusNode must equal the node we collapse()d to expected Element node <
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4082 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 4083 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 45 [document, -1] | |
| 4084 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 46 [document, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4085 " | |
| 4086 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 47 [document, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4087 " | |
| 4088 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 48 [document, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Document node
with 2 children but got Text node "Qrstuvwx" | |
| 4089 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 49 [document, 3] | |
| 4090 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 50 [comment, -1] | |
| 4091 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 51 [comment, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 4092 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 52 [comment, 4] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 4093 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 53 [comment, 96] | |
| 4094 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 54 [foreignDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 4095 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 55 [foreignDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 4096 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 56 [foreignComment, 2]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 4097 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 57 [foreignTextNode, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 4098 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 58 [foreignTextNode, 3
6] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 4099 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 59 [xmlDoc, -1] | |
| 4100 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 60 [xmlDoc, 0] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 4101 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 61 [xmlDoc, 1] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 4102 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 62 [xmlDoc, 5] | |
| 4103 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 63 [xmlComment, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 4104 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 64 [xmlComment, 4] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 4105 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 65 [processingInstruct
ion, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 4106 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 66 [processingInstruct
ion, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 4107 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 67 [processingInstruct
ion, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 4108 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 68 [detachedTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 4109 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 69 [detachedTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 4110 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 70 [detachedForeignTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 4111 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 71 [detachedForeignTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 4112 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 72 [detachedXmlTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 4113 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 73 [detachedXmlTextNod
e, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 4114 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 74 [detachedProcessing
Instruction, 12] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 4115 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 75 [detachedComment, 3
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 4116 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 76 [detachedComment, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 4117 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 77 [detachedForeignCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 4118 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 78 [detachedForeignCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 4119 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 79 [detachedXmlComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 4120 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 80 [docfrag, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 4121 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 81 [foreignDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 4122 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 82 [xmlDocfrag, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 4123 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 83 [doctype, 0] | |
| 4124 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
| 4125 selection.collapse(point[0], point[1]); | |
| 4126 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 4127 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 85 [doctype, 1] | |
| 4128 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 86 [foreignDoctype, 0]
| |
| 4129 PASS Range 26 [detachedPara1, 0, detachedPara1, 1], point 87 [xmlDoctype, 0] | |
| 4130 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 0 [paras[0
].firstChild, -1] | |
| 4131 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 1 [paras[0
].firstChild, 0] | |
| 4132 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 4133 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 3 [paras[0
].firstChild, 2] | |
| 4134 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 4 [paras[0
].firstChild, 8] | |
| 4135 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 4136 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 6 [paras[0
].firstChild, 10] | |
| 4137 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 7 [paras[0
].firstChild, 65535] | |
| 4138 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 8 [paras[1
].firstChild, -1] | |
| 4139 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4140 " but got Text node "Qrstuvwx" | |
| 4141 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4142 " but got Text node "Qrstuvwx" | |
| 4143 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4144 " but got Text node "Qrstuvwx" | |
| 4145 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4146 " but got Text node "Qrstuvwx" | |
| 4147 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4148 " but got Text node "Qrstuvwx" | |
| 4149 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 14 [paras[
1].firstChild, 10] | |
| 4150 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 15 [paras[
1].firstChild, 65535] | |
| 4151 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 16 [detach
edPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 4152 " | |
| 4153 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 17 [detach
edPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 4154 " | |
| 4155 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 18 [detach
edPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 4156 " | |
| 4157 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 19 [detach
edPara1.firstChild, 9] | |
| 4158 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 20 [foreig
nPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 4159 " | |
| 4160 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 21 [foreig
nPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 4161 " | |
| 4162 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 22 [foreig
nPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 4163 " | |
| 4164 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 23 [foreig
nPara1.firstChild, 9] | |
| 4165 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 24 [docume
nt.documentElement, -1] | |
| 4166 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 25 [docume
nt.documentElement, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 4167 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4168 " | |
| 4169 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 26 [docume
nt.documentElement, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 4170 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4171 " | |
| 4172 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 27 [docume
nt.documentElement, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 4173 <me... but got Text node "Qrstuvwx" | |
| 4174 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 28 [docume
nt.documentElement, 7] | |
| 4175 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 29 [docume
nt.head, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <head><title>Selection.collapse() tests</title> | |
| 4176 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4177 " | |
| 4178 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 30 [docume
nt.body, 3] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4179 </p><p id... but got Text node "Qrstuvwx" | |
| 4180 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 31 [foreig
nDoc.documentElement, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop | |
| 4181 " | |
| 4182 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 32 [foreig
nDoc.documentElement, 1] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop | |
| 4183 " | |
| 4184 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 33 [foreig
nDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <head><title></title></head> but got Text node "Ijklmnop | |
| 4185 " | |
| 4186 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 34 [foreig
nDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor...
but got Text node "Ijklmnop | |
| 4187 " | |
| 4188 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 35 [paras[
0], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4189 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4190 " | |
| 4191 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 36 [paras[
0], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4192 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4193 " | |
| 4194 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 37 [paras[
0], 2] | |
| 4195 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 38 [paras[
1], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | |
| 4196 </p> but got Text node "Qrstuvwx" | |
| 4197 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 39 [paras[
1], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | |
| 4198 </p> but got Text node "Qrstuvwx" | |
| 4199 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 40 [paras[
1], 2] | |
| 4200 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 41 [detach
edPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 4201 " | |
| 4202 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 42 [detach
edPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 4203 " | |
| 4204 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 43 [testDi
v, 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4205 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4206 " | |
| 4207 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 44 [testDi
v, 3] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4208 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 4209 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 45 [docume
nt, -1] | |
| 4210 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 46 [docume
nt, 0] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4211 " | |
| 4212 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 47 [docume
nt, 1] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4213 " | |
| 4214 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 48 [docume
nt, 2] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Qrstuvwx" | |
| 4215 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 49 [docume
nt, 3] | |
| 4216 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 50 [commen
t, -1] | |
| 4217 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 51 [commen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 4218 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 52 [commen
t, 4] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 4219 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 53 [commen
t, 96] | |
| 4220 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 54 [foreig
nDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 4221 " | |
| 4222 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 55 [foreig
nDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 4223 " | |
| 4224 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 56 [foreig
nComment, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--"Commenter" and "commentator" mean different things. I'v.
..--> but got Text node "Ijklmnop | |
| 4225 " | |
| 4226 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 57 [foreig
nTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Ijklmnop | |
| 4227 " | |
| 4228 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 58 [foreig
nTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "I admit that I harbor doubts about whether we really need..."
but got Text node "Ijklmnop | |
| 4229 " | |
| 4230 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 59 [xmlDoc
, -1] | |
| 4231 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 60 [xmlDoc
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Text node "Ijklmnop | |
| 4232 " | |
| 4233 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 61 [xmlDoc
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Text node "Ijklmnop | |
| 4234 " | |
| 4235 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 62 [xmlDoc
, 5] | |
| 4236 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 63 [xmlCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Text node "Ijklmnop | |
| 4237 " | |
| 4238 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 64 [xmlCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Text node "Ijklmnop | |
| 4239 " | |
| 4240 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 65 [proces
singInstruction, 0] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmno
p | |
| 4241 " | |
| 4242 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 66 [proces
singInstruction, 5] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmno
p | |
| 4243 " | |
| 4244 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 67 [proces
singInstruction, 9] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmno
p | |
| 4245 " | |
| 4246 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 68 [detach
edTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 4247 " | |
| 4248 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 69 [detach
edTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 4249 " | |
| 4250 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 70 [detach
edForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 4251 " | |
| 4252 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 71 [detach
edForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 4253 " | |
| 4254 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 72 [detach
edXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 4255 " | |
| 4256 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 73 [detach
edXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 4257 " | |
| 4258 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 74 [detach
edProcessingInstruction, 12] assert_equals: focusNode must equal the node we col
lapse()d to expected ProcessingInstruction node with target "whippoorwill" and d
ata "chirp chirp chirp" but got Text node "Ijklmnop | |
| 4259 " | |
| 4260 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 75 [detach
edComment, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 4261 " | |
| 4262 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 76 [detach
edComment, 5] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 4263 " | |
| 4264 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 77 [detach
edForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 4265 " | |
| 4266 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 78 [detach
edForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 4267 " | |
| 4268 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 79 [detach
edXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklm
nop | |
| 4269 " | |
| 4270 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 80 [docfra
g, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cumentFragment node with 0 children but got Text node "Ijklmnop | |
| 4271 " | |
| 4272 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 81 [foreig
nDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 4273 " | |
| 4274 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 82 [xmlDoc
frag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 4275 " | |
| 4276 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 83 [doctyp
e, 0] | |
| 4277 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
| 4278 selection.collapse(point[0], point[1]); | |
| 4279 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 4280 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 85 [doctyp
e, 1] | |
| 4281 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 86 [foreig
nDoctype, 0] | |
| 4282 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0], point 87 [xmlDoc
type, 0] | |
| 4283 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 0 [paras[0
].firstChild, -1] | |
| 4284 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 1 [paras[0
].firstChild, 0] | |
| 4285 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 4286 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 3 [paras[0
].firstChild, 2] | |
| 4287 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 4 [paras[0
].firstChild, 8] | |
| 4288 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 4289 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 6 [paras[0
].firstChild, 10] | |
| 4290 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 7 [paras[0
].firstChild, 65535] | |
| 4291 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 8 [paras[1
].firstChild, -1] | |
| 4292 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4293 " but got Text node "Qrstuvwx" | |
| 4294 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4295 " but got Text node "Qrstuvwx" | |
| 4296 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4297 " but got Text node "Qrstuvwx" | |
| 4298 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4299 " but got Text node "Qrstuvwx" | |
| 4300 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 4301 " but got Text node "Qrstuvwx" | |
| 4302 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 14 [paras[
1].firstChild, 10] | |
| 4303 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 15 [paras[
1].firstChild, 65535] | |
| 4304 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 16 [detach
edPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 4305 " | |
| 4306 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 17 [detach
edPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 4307 " | |
| 4308 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 18 [detach
edPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Opqrstuv" but got Text node "Ijklmnop | |
| 4309 " | |
| 4310 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 19 [detach
edPara1.firstChild, 9] | |
| 4311 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 20 [foreig
nPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 4312 " | |
| 4313 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 21 [foreig
nPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 4314 " | |
| 4315 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 22 [foreig
nPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Efghijkl" but got Text node "Ijklmnop | |
| 4316 " | |
| 4317 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 23 [foreig
nPara1.firstChild, 9] | |
| 4318 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 24 [docume
nt.documentElement, -1] | |
| 4319 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 25 [docume
nt.documentElement, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 4320 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4321 " | |
| 4322 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 26 [docume
nt.documentElement, 1] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 4323 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4324 " | |
| 4325 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 27 [docume
nt.documentElement, 2] assert_equals: focusNode must equal the node we collapse(
)d to expected Element node <html><head><title>Selection.collapse() tests</title
> | |
| 4326 <me... but got Text node "Qrstuvwx" | |
| 4327 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 28 [docume
nt.documentElement, 7] | |
| 4328 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 29 [docume
nt.head, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <head><title>Selection.collapse() tests</title> | |
| 4329 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4330 " | |
| 4331 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 30 [docume
nt.body, 3] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4332 </p><p id... but got Text node "Qrstuvwx" | |
| 4333 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 31 [foreig
nDoc.documentElement, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop | |
| 4334 " | |
| 4335 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 32 [foreig
nDoc.documentElement, 1] assert_equals: focusNode must equal the node we collaps
e()d to expected Element node <html><head><title></title></head><body><p>Efghijk
l</p><p... but got Text node "Ijklmnop | |
| 4336 " | |
| 4337 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 33 [foreig
nDoc.head, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <head><title></title></head> but got Text node "Ijklmnop | |
| 4338 " | |
| 4339 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 34 [foreig
nDoc.body, 1] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor...
but got Text node "Ijklmnop | |
| 4340 " | |
| 4341 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 35 [paras[
0], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4342 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4343 " | |
| 4344 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 36 [paras[
0], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4345 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4346 " | |
| 4347 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 37 [paras[
0], 2] | |
| 4348 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 38 [paras[
1], 0] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | |
| 4349 </p> but got Text node "Qrstuvwx" | |
| 4350 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 39 [paras[
1], 1] assert_equals: focusNode must equal the node we collapse()d to expected E
lement node <p id="b" style="display:none">Ijklmnop | |
| 4351 </p> but got Text node "Qrstuvwx" | |
| 4352 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 40 [paras[
1], 2] | |
| 4353 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 41 [detach
edPara1, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 4354 " | |
| 4355 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 42 [detach
edPara1, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <p>Opqrstuv</p> but got Text node "Ijklmnop | |
| 4356 " | |
| 4357 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 43 [testDi
v, 0] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4358 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4359 " | |
| 4360 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 44 [testDi
v, 3] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4361 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 4362 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 45 [docume
nt, -1] | |
| 4363 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 46 [docume
nt, 0] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4364 " | |
| 4365 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 47 [docume
nt, 1] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4366 " | |
| 4367 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 48 [docume
nt, 2] assert_equals: focusNode must equal the node we collapse()d to expected D
ocument node with 2 children but got Text node "Qrstuvwx" | |
| 4368 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 49 [docume
nt, 3] | |
| 4369 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 50 [commen
t, -1] | |
| 4370 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 51 [commen
t, 0] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 4371 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 52 [commen
t, 4] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 4372 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 53 [commen
t, 96] | |
| 4373 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 54 [foreig
nDoc, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 4374 " | |
| 4375 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 55 [foreig
nDoc, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Document node with 3 children but got Text node "Ijklmnop | |
| 4376 " | |
| 4377 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 56 [foreig
nComment, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--"Commenter" and "commentator" mean different things. I'v.
..--> but got Text node "Ijklmnop | |
| 4378 " | |
| 4379 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 57 [foreig
nTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "I admit that I harbor doubts about whether we really need..." b
ut got Text node "Ijklmnop | |
| 4380 " | |
| 4381 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 58 [foreig
nTextNode, 36] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "I admit that I harbor doubts about whether we really need..."
but got Text node "Ijklmnop | |
| 4382 " | |
| 4383 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 59 [xmlDoc
, -1] | |
| 4384 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 60 [xmlDoc
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Text node "Ijklmnop | |
| 4385 " | |
| 4386 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 61 [xmlDoc
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 4 children but got Text node "Ijklmnop | |
| 4387 " | |
| 4388 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 62 [xmlDoc
, 5] | |
| 4389 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 63 [xmlCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Text node "Ijklmnop | |
| 4390 " | |
| 4391 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 64 [xmlCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--I maliciously created a comment that will break incautiou...--
> but got Text node "Ijklmnop | |
| 4392 " | |
| 4393 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 65 [proces
singInstruction, 0] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmno
p | |
| 4394 " | |
| 4395 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 66 [proces
singInstruction, 5] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmno
p | |
| 4396 " | |
| 4397 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 67 [proces
singInstruction, 9] assert_equals: focusNode must equal the node we collapse()d
to expected ProcessingInstruction node with target "somePI" and data "Did you kn
ow that \":syn sync fromstart\" is very useful wh..." but got Text node "Ijklmno
p | |
| 4398 " | |
| 4399 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 68 [detach
edTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 4400 " | |
| 4401 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 69 [detach
edTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Uvwxyzab" but got Text node "Ijklmnop | |
| 4402 " | |
| 4403 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 70 [detach
edForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 4404 " | |
| 4405 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 71 [detach
edForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Cdefghij" but got Text node "Ijklmnop | |
| 4406 " | |
| 4407 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 72 [detach
edXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 4408 " | |
| 4409 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 73 [detach
edXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Text node "Ijklmnop | |
| 4410 " | |
| 4411 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 74 [detach
edProcessingInstruction, 12] assert_equals: focusNode must equal the node we col
lapse()d to expected ProcessingInstruction node with target "whippoorwill" and d
ata "chirp chirp chirp" but got Text node "Ijklmnop | |
| 4412 " | |
| 4413 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 75 [detach
edComment, 3] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 4414 " | |
| 4415 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 76 [detach
edComment, 5] assert_equals: focusNode must equal the node we collapse()d to exp
ected Comment node <!--Stuvwxyz--> but got Text node "Ijklmnop | |
| 4416 " | |
| 4417 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 77 [detach
edForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 4418 " | |
| 4419 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 78 [detach
edForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Text node "Ijklmnop | |
| 4420 " | |
| 4421 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 79 [detach
edXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Ijklm
nop | |
| 4422 " | |
| 4423 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 80 [docfra
g, 0] assert_equals: focusNode must equal the node we collapse()d to expected Do
cumentFragment node with 0 children but got Text node "Ijklmnop | |
| 4424 " | |
| 4425 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 81 [foreig
nDocfrag, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 4426 " | |
| 4427 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 82 [xmlDoc
frag, 0] assert_equals: focusNode must equal the node we collapse()d to expected
DocumentFragment node with 0 children but got Text node "Ijklmnop | |
| 4428 " | |
| 4429 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 83 [doctyp
e, 0] | |
| 4430 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 84 [doctyp
e, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if th
e node is a DocumentType function "function () { | |
| 4431 selection.collapse(point[0], point[1]); | |
| 4432 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 4433 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 85 [doctyp
e, 1] | |
| 4434 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 86 [foreig
nDoctype, 0] | |
| 4435 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8], point 87 [xmlDoc
type, 0] | |
| 4436 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 0 [paras[0].firstChil
d, -1] | |
| 4437 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 1 [paras[0].firstChil
d, 0] | |
| 4438 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 2 [paras[0].firstChil
d, 1] assert_equals: focusOffset must equal the offset we collapse()d to expecte
d 1 but got 2 | |
| 4439 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 3 [paras[0].firstChil
d, 2] | |
| 4440 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 4 [paras[0].firstChil
d, 8] | |
| 4441 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 5 [paras[0].firstChil
d, 9] assert_equals: focusOffset must equal the offset we collapse()d to expecte
d 9 but got 10 | |
| 4442 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 6 [paras[0].firstChil
d, 10] | |
| 4443 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 7 [paras[0].firstChil
d, 65535] | |
| 4444 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 8 [paras[1].firstChil
d, -1] | |
| 4445 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 9 [paras[1].firstChil
d, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 4446 " but got Text node "Qrstuvwx" | |
| 4447 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 10 [paras[1].firstChi
ld, 1] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 4448 " but got Text node "Qrstuvwx" | |
| 4449 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 11 [paras[1].firstChi
ld, 2] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 4450 " but got Text node "Qrstuvwx" | |
| 4451 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 12 [paras[1].firstChi
ld, 8] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 4452 " but got Text node "Qrstuvwx" | |
| 4453 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 13 [paras[1].firstChi
ld, 9] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 4454 " but got Text node "Qrstuvwx" | |
| 4455 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 14 [paras[1].firstChi
ld, 10] | |
| 4456 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 15 [paras[1].firstChi
ld, 65535] | |
| 4457 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 16 [detachedPara1.fir
stChild, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yza
bcdef</p> | |
| 4458 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 17 [detachedPara1.fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yza
bcdef</p> | |
| 4459 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 18 [detachedPara1.fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Element node <p id="d" style="display:none">Yza
bcdef</p> | |
| 4460 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 19 [detachedPara1.fir
stChild, 9] | |
| 4461 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 20 [foreignPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzab
cdef</p> | |
| 4462 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 21 [foreignPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzab
cdef</p> | |
| 4463 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 22 [foreignPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Element node <p id="d" style="display:none">Yzab
cdef</p> | |
| 4464 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 23 [foreignPara1.firs
tChild, 9] | |
| 4465 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 24 [document.document
Element, -1] | |
| 4466 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 25 [document.document
Element, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> | |
| 4467 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4468 " | |
| 4469 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 26 [document.document
Element, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> | |
| 4470 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4471 " | |
| 4472 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 27 [document.document
Element, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <html><head><title>Selection.collapse() tests</title> | |
| 4473 <me... but got Text node "Qrstuvwx" | |
| 4474 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 28 [document.document
Element, 7] | |
| 4475 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 29 [document.head, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <head><title>Selection.collapse() tests</title> | |
| 4476 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4477 " | |
| 4478 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 30 [document.body, 3]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4479 </p><p id... but got Text node "Qrstuvwx" | |
| 4480 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 31 [foreignDoc.docume
ntElement, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <html><head><title></title></head><body><p>Efghijkl</p><p...
but got Element node <p id="d" style="display:none">Yzabcdef</p> | |
| 4481 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 32 [foreignDoc.docume
ntElement, 1] assert_equals: focusNode must equal the node we collapse()d to exp
ected Element node <html><head><title></title></head><body><p>Efghijkl</p><p...
but got Element node <p id="d" style="display:none">Yzabcdef</p> | |
| 4482 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 33 [foreignDoc.head,
0] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <head><title></title></head> but got Element node <p id="d" style="displ
ay:none">Yzabcdef</p> | |
| 4483 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 34 [foreignDoc.body,
1] assert_equals: focusNode must equal the node we collapse()d to expected Eleme
nt node <body><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Ele
ment node <p id="d" style="display:none">Yzabcdef</p> | |
| 4484 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 35 [paras[0], 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4485 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4486 " | |
| 4487 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 36 [paras[0], 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4488 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4489 " | |
| 4490 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 37 [paras[0], 2] | |
| 4491 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 38 [paras[1], 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 4492 </p> but got Text node "Qrstuvwx" | |
| 4493 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 39 [paras[1], 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<p id="b" style="display:none">Ijklmnop | |
| 4494 </p> but got Text node "Qrstuvwx" | |
| 4495 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 40 [paras[1], 2] | |
| 4496 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <p id="d" style="display:none">Yzabcd
ef</p> | |
| 4497 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Element node <p id="d" style="display:none">Yzabcd
ef</p> | |
| 4498 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 43 [testDiv, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4499 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4500 " | |
| 4501 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 44 [testDiv, 3] asser
t_equals: focusNode must equal the node we collapse()d to expected Element node
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 4502 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 4503 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 45 [document, -1] | |
| 4504 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 46 [document, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Document nod
e with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4505 " | |
| 4506 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 47 [document, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Document nod
e with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 4507 " | |
| 4508 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 48 [document, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Document nod
e with 2 children but got Text node "Qrstuvwx" | |
| 4509 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 49 [document, 3] | |
| 4510 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 50 [comment, -1] | |
| 4511 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 51 [comment, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 4512 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 52 [comment, 4] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 4513 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 53 [comment, 96] | |
| 4514 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 54 [foreignDoc, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Document n
ode with 3 children but got Element node <p id="d" style="display:none">Yzabcdef
</p> | |
| 4515 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 55 [foreignDoc, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Document n
ode with 3 children but got Element node <p id="d" style="display:none">Yzabcdef
</p> | |
| 4516 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 56 [foreignComment, 2
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--"Commenter" and "commentator" mean different things. I'v...--> but g
ot Element node <p id="d" style="display:none">Yzabcdef</p> | |
| 4517 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 57 [foreignTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Elem
ent node <p id="d" style="display:none">Yzabcdef</p> | |
| 4518 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 58 [foreignTextNode,
36] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "I admit that I harbor doubts about whether we really need..." but got Ele
ment node <p id="d" style="display:none">Yzabcdef</p> | |
| 4519 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 59 [xmlDoc, -1] | |
| 4520 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 60 [xmlDoc, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p> | |
| 4521 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 61 [xmlDoc, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Element node <p id="d" style="display:none">Yzabcdef</p> | |
| 4522 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 62 [xmlDoc, 5] | |
| 4523 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 63 [xmlComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got E
lement node <p id="d" style="display:none">Yzabcdef</p> | |
| 4524 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 64 [xmlComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--I maliciously created a comment that will break incautiou...--> but got E
lement node <p id="d" style="display:none">Yzabcdef</p> | |
| 4525 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 65 [processingInstruc
tion, 0] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Element node <p id="d" style=
"display:none">Yzabcdef</p> | |
| 4526 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 66 [processingInstruc
tion, 5] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Element node <p id="d" style=
"display:none">Yzabcdef</p> | |
| 4527 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 67 [processingInstruc
tion, 9] assert_equals: focusNode must equal the node we collapse()d to expected
ProcessingInstruction node with target "somePI" and data "Did you know that \":
syn sync fromstart\" is very useful wh..." but got Element node <p id="d" style=
"display:none">Yzabcdef</p> | |
| 4528 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Element node <p id="d" style="display:none">Yzabcdef</p
> | |
| 4529 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Element node <p id="d" style="display:none">Yzabcdef</p
> | |
| 4530 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 70 [detachedForeignTe
xtNode, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Cdefghij" but got Element node <p id="d" style="display:none">Yzab
cdef</p> | |
| 4531 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 71 [detachedForeignTe
xtNode, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Cdefghij" but got Element node <p id="d" style="display:none">Yzab
cdef</p> | |
| 4532 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 72 [detachedXmlTextNo
de, 0] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Klmnopqr" but got Element node <p id="d" style="display:none">Yzabcdef
</p> | |
| 4533 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 73 [detachedXmlTextNo
de, 8] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Klmnopqr" but got Element node <p id="d" style="display:none">Yzabcdef
</p> | |
| 4534 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 74 [detachedProcessin
gInstruction, 12] assert_equals: focusNode must equal the node we collapse()d to
expected ProcessingInstruction node with target "whippoorwill" and data "chirp
chirp chirp" but got Element node <p id="d" style="display:none">Yzabcdef</p> | |
| 4535 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 75 [detachedComment,
3] assert_equals: focusNode must equal the node we collapse()d to expected Comme
nt node <!--Stuvwxyz--> but got Element node <p id="d" style="display:none">Yzab
cdef</p> | |
| 4536 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 76 [detachedComment,
5] assert_equals: focusNode must equal the node we collapse()d to expected Comme
nt node <!--Stuvwxyz--> but got Element node <p id="d" style="display:none">Yzab
cdef</p> | |
| 4537 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 77 [detachedForeignCo
mment, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Comment node <!--×ריה יהודה--> but got Element node <p id="d" style="
display:none">Yzabcdef</p> | |
| 4538 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 78 [detachedForeignCo
mment, 4] assert_equals: focusNode must equal the node we collapse()d to expecte
d Comment node <!--×ריה יהודה--> but got Element node <p id="d" style="
display:none">Yzabcdef</p> | |
| 4539 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 79 [detachedXmlCommen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <p id="d" styl
e="display:none">Yzabcdef</p> | |
| 4540 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 80 [docfrag, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected DocumentFragm
ent node with 0 children but got Element node <p id="d" style="display:none">Yza
bcdef</p> | |
| 4541 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 81 [foreignDocfrag, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Docume
ntFragment node with 0 children but got Element node <p id="d" style="display:no
ne">Yzabcdef</p> | |
| 4542 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 82 [xmlDocfrag, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected DocumentFr
agment node with 0 children but got Element node <p id="d" style="display:none">
Yzabcdef</p> | |
| 4543 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 83 [doctype, 0] | |
| 4544 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1], point 84 [doctype, -17] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
| 4545 selection.collapse(point[0], point[1]); | |
| 4546 }" threw object "IndexSizeError: Failed to execute 'collapse' on 'Select
ion': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_E
RR: property "code" is equal to 1, expected 24 | |
| 4547 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 85 [doctype, 1] | |
| 4548 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 86 [foreignDoctype, 0
] | |
| 4549 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1], point 87 [xmlDoctype, 0] | |
| 4550 Harness: the test ran to completion. | |
| 4551 | |
| OLD | NEW |