| 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 This is a testharness.js-based test. | |
| 354 PASS Set up range 30 [paras[0], 0, paras[0].firstChild, 7] | |
| 355 PASS Set up range 31 [testDiv, 2, paras[4], 1] | |
| 356 PASS Set up range 32 [testDiv, 1, paras[2].firstChild, 5] | |
| 357 PASS Set up range 33 [document.documentElement, 1, document.body, 0] | |
| 358 PASS Set up range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] | |
| 359 PASS Set up range 35 [document, 0, document, 1] | |
| 360 PASS Set up range 36 [document, 0, document, 2] | |
| 361 PASS Set up range 37 [document, 1, document, 2] | |
| 362 PASS Set up range 38 [testDiv, 0, comment, 5] | |
| 363 PASS Set up range 39 [paras[2].firstChild, 4, comment, 2] | |
| 364 PASS Set up range 40 [paras[3], 1, comment, 8] | |
| 365 PASS Set up range 41 [foreignDoc, 0, foreignDoc, 0] | |
| 366 PASS Set up range 42 [foreignDoc, 1, foreignComment, 2] | |
| 367 PASS Set up range 43 [foreignDoc.body, 0, foreignTextNode, 36] | |
| 368 PASS Set up range 44 [xmlDoc, 0, xmlDoc, 0] | |
| 369 PASS Set up range 45 [xmlDoc, 1, xmlComment, 0] | |
| 370 PASS Set up range 46 [detachedTextNode, 0, detachedTextNode, 8] | |
| 371 PASS Set up range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7] | |
| 372 PASS Set up range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8] | |
| 373 PASS Set up range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7] | |
| 374 PASS Set up range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8] | |
| 375 PASS Set up range 51 [detachedComment, 3, detachedComment, 4] | |
| 376 PASS Set up range 52 [detachedComment, 5, detachedComment, 5] | |
| 377 PASS Set up range 53 [detachedForeignComment, 0, detachedForeignComment, 1] | |
| 378 PASS Set up range 54 [detachedForeignComment, 4, detachedForeignComment, 4] | |
| 379 PASS Set up range 55 [detachedXmlComment, 2, detachedXmlComment, 6] | |
| 380 PASS Set up range 56 [docfrag, 0, docfrag, 0] | |
| 381 PASS Set up range 57 [foreignDocfrag, 0, foreignDocfrag, 0] | |
| 382 PASS Set up range 58 [xmlDocfrag, 0, xmlDocfrag, 0] | |
| 383 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 0 [paras[0].firstChil
d, -1] | |
| 384 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 1 [paras[0].firstChil
d, 0] | |
| 385 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 2 [paras[0].firstChil
d, 1] assert_equals: focusOffset must equal the offset we collapse()d to expecte
d 1 but got 2 | |
| 386 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 3 [paras[0].firstChil
d, 2] | |
| 387 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 4 [paras[0].firstChil
d, 8] | |
| 388 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 5 [paras[0].firstChil
d, 9] assert_equals: focusOffset must equal the offset we collapse()d to expecte
d 9 but got 10 | |
| 389 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 6 [paras[0].firstChil
d, 10] | |
| 390 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 7 [paras[0].firstChil
d, 65535] | |
| 391 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 8 [paras[1].firstChil
d, -1] | |
| 392 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 9 [paras[1].firstChil
d, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 393 " but got Text node "Qrstuvwx" | |
| 394 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 10 [paras[1].firstChi
ld, 1] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 395 " but got Text node "Qrstuvwx" | |
| 396 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 11 [paras[1].firstChi
ld, 2] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 397 " but got Text node "Qrstuvwx" | |
| 398 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 12 [paras[1].firstChi
ld, 8] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 399 " but got Text node "Qrstuvwx" | |
| 400 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 13 [paras[1].firstChi
ld, 9] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 401 " but got Text node "Qrstuvwx" | |
| 402 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 14 [paras[1].firstChi
ld, 10] | |
| 403 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 15 [paras[1].firstChi
ld, 65535] | |
| 404 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 16 [detachedPara1.fir
stChild, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 405 " | |
| 406 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 17 [detachedPara1.fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 407 " | |
| 408 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 18 [detachedPara1.fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Opqrstuv" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 409 " | |
| 410 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 19 [detachedPara1.fir
stChild, 9] | |
| 411 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 20 [foreignPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 412 " | |
| 413 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 21 [foreignPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 414 " | |
| 415 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 22 [foreignPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Efghijkl" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 416 " | |
| 417 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 23 [foreignPara1.firs
tChild, 9] | |
| 418 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 24 [document.document
Element, -1] | |
| 419 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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> | |
| 420 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 421 " | |
| 422 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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> | |
| 423 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 424 " | |
| 425 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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> | |
| 426 <me... but got Text node "Qrstuvwx" | |
| 427 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 28 [document.document
Element, 7] | |
| 428 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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> | |
| 429 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 430 " | |
| 431 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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̈ḧ | |
| 432 </p><p id... but got Text node "Qrstuvwx" | |
| 433 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 434 " | |
| 435 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 436 " | |
| 437 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 438 " | |
| 439 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Tex
t node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 440 " | |
| 441 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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̈ḧ | |
| 442 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 443 " | |
| 444 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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̈ḧ | |
| 445 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 446 " | |
| 447 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 37 [paras[0], 2] | |
| 448 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 | |
| 449 </p> but got Text node "Qrstuvwx" | |
| 450 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 | |
| 451 </p> but got Text node "Qrstuvwx" | |
| 452 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 40 [paras[1], 2] | |
| 453 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 454 " | |
| 455 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 456 " | |
| 457 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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̈ḧ | |
| 458 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 459 " | |
| 460 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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̈ḧ | |
| 461 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 462 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 45 [document, -1] | |
| 463 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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̈ḧ | |
| 464 " | |
| 465 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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̈ḧ | |
| 466 " | |
| 467 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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" | |
| 468 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 49 [document, 3] | |
| 469 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 50 [comment, -1] | |
| 470 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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" | |
| 471 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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" | |
| 472 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 53 [comment, 96] | |
| 473 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 474 " | |
| 475 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 476 " | |
| 477 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 478 " | |
| 479 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text
node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 480 " | |
| 481 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Tex
t node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 482 " | |
| 483 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 59 [xmlDoc, -1] | |
| 484 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 60 [xmlDoc, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 485 " | |
| 486 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 61 [xmlDoc, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Document node
with 4 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 487 " | |
| 488 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 62 [xmlDoc, 5] | |
| 489 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 T
ext node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 490 " | |
| 491 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 T
ext node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 492 " | |
| 493 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 494 " | |
| 495 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 496 " | |
| 497 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 498 " | |
| 499 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 500 " | |
| 501 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 502 " | |
| 503 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 70 [detachedForeignTe
xtNode, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 504 " | |
| 505 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 71 [detachedForeignTe
xtNode, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Cdefghij" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 506 " | |
| 507 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 72 [detachedXmlTextNo
de, 0] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 508 " | |
| 509 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 73 [detachedXmlTextNo
de, 8] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Klmnopqr" but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 510 " | |
| 511 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 512 " | |
| 513 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 75 [detachedComment,
3] assert_equals: focusNode must equal the node we collapse()d to expected Comme
nt node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 514 " | |
| 515 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 76 [detachedComment,
5] assert_equals: focusNode must equal the node we collapse()d to expected Comme
nt node <!--Stuvwxyz--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 516 " | |
| 517 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 77 [detachedForeignCo
mment, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 518 " | |
| 519 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 78 [detachedForeignCo
mment, 4] assert_equals: focusNode must equal the node we collapse()d to expecte
d Comment node <!--×ריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 520 " | |
| 521 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 79 [detachedXmlCommen
t, 2] assert_equals: focusNode must equal the node we collapse()d to expected Co
mment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 522 " | |
| 523 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 524 " | |
| 525 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 81 [foreignDocfrag, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Docume
ntFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 526 " | |
| 527 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], 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 Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 528 " | |
| 529 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 83 [doctype, 0] | |
| 530 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7], point 84 [doctype, -17] ass
ert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
| 531 selection.collapse(point[0], point[1]); | |
| 532 }" 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 | |
| 533 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 85 [doctype, 1] | |
| 534 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 86 [foreignDoctype, 0
] | |
| 535 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7], point 87 [xmlDoctype, 0] | |
| 536 PASS Range 31 [testDiv, 2, paras[4], 1], point 0 [paras[0].firstChild, -1] | |
| 537 PASS Range 31 [testDiv, 2, paras[4], 1], point 1 [paras[0].firstChild, 0] | |
| 538 FAIL Range 31 [testDiv, 2, paras[4], 1], point 2 [paras[0].firstChild, 1] assert
_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | |
| 539 PASS Range 31 [testDiv, 2, paras[4], 1], point 3 [paras[0].firstChild, 2] | |
| 540 PASS Range 31 [testDiv, 2, paras[4], 1], point 4 [paras[0].firstChild, 8] | |
| 541 FAIL Range 31 [testDiv, 2, paras[4], 1], point 5 [paras[0].firstChild, 9] assert
_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | |
| 542 PASS Range 31 [testDiv, 2, paras[4], 1], point 6 [paras[0].firstChild, 10] | |
| 543 PASS Range 31 [testDiv, 2, paras[4], 1], point 7 [paras[0].firstChild, 65535] | |
| 544 PASS Range 31 [testDiv, 2, paras[4], 1], point 8 [paras[1].firstChild, -1] | |
| 545 FAIL Range 31 [testDiv, 2, paras[4], 1], point 9 [paras[1].firstChild, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 546 " but got Text node "Qrstuvwx" | |
| 547 FAIL Range 31 [testDiv, 2, paras[4], 1], point 10 [paras[1].firstChild, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 548 " but got Text node "Qrstuvwx" | |
| 549 FAIL Range 31 [testDiv, 2, paras[4], 1], point 11 [paras[1].firstChild, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 550 " but got Text node "Qrstuvwx" | |
| 551 FAIL Range 31 [testDiv, 2, paras[4], 1], point 12 [paras[1].firstChild, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 552 " but got Text node "Qrstuvwx" | |
| 553 FAIL Range 31 [testDiv, 2, paras[4], 1], point 13 [paras[1].firstChild, 9] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 554 " but got Text node "Qrstuvwx" | |
| 555 PASS Range 31 [testDiv, 2, paras[4], 1], point 14 [paras[1].firstChild, 10] | |
| 556 PASS Range 31 [testDiv, 2, paras[4], 1], point 15 [paras[1].firstChild, 65535] | |
| 557 FAIL Range 31 [testDiv, 2, paras[4], 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 558 FAIL Range 31 [testDiv, 2, paras[4], 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 559 FAIL Range 31 [testDiv, 2, paras[4], 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 560 PASS Range 31 [testDiv, 2, paras[4], 1], point 19 [detachedPara1.firstChild, 9] | |
| 561 FAIL Range 31 [testDiv, 2, paras[4], 1], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 562 FAIL Range 31 [testDiv, 2, paras[4], 1], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 563 FAIL Range 31 [testDiv, 2, paras[4], 1], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 564 PASS Range 31 [testDiv, 2, paras[4], 1], point 23 [foreignPara1.firstChild, 9] | |
| 565 PASS Range 31 [testDiv, 2, paras[4], 1], point 24 [document.documentElement, -1]
| |
| 566 FAIL Range 31 [testDiv, 2, paras[4], 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> | |
| 567 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 568 " | |
| 569 FAIL Range 31 [testDiv, 2, paras[4], 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> | |
| 570 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 571 " | |
| 572 FAIL Range 31 [testDiv, 2, paras[4], 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> | |
| 573 <me... but got Text node "Qrstuvwx" | |
| 574 PASS Range 31 [testDiv, 2, paras[4], 1], point 28 [document.documentElement, 7] | |
| 575 FAIL Range 31 [testDiv, 2, paras[4], 1], point 29 [document.head, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <head>
<title>Selection.collapse() tests</title> | |
| 576 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 577 " | |
| 578 FAIL Range 31 [testDiv, 2, paras[4], 1], point 30 [document.body, 3] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <body>
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 579 </p><p id... but got Text node "Qrstuvwx" | |
| 580 FAIL Range 31 [testDiv, 2, paras[4], 1], point 31 [foreignDoc.documentElement, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Elem
ent node <p id="e" style="display:none">Ghijklmn</p> | |
| 581 FAIL Range 31 [testDiv, 2, paras[4], 1], point 32 [foreignDoc.documentElement, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Elem
ent node <p id="e" style="display:none">Ghijklmn</p> | |
| 582 FAIL Range 31 [testDiv, 2, paras[4], 1], point 33 [foreignDoc.head, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <hea
d><title></title></head> but got Element node <p id="e" style="display:none">Ghi
jklmn</p> | |
| 583 FAIL Range 31 [testDiv, 2, paras[4], 1], point 34 [foreignDoc.body, 1] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <bod
y><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Element node <p
id="e" style="display:none">Ghijklmn</p> | |
| 584 FAIL Range 31 [testDiv, 2, paras[4], 1], point 35 [paras[0], 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | |
| 585 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 586 " | |
| 587 FAIL Range 31 [testDiv, 2, paras[4], 1], point 36 [paras[0], 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | |
| 588 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 589 " | |
| 590 PASS Range 31 [testDiv, 2, paras[4], 1], point 37 [paras[0], 2] | |
| 591 FAIL Range 31 [testDiv, 2, paras[4], 1], point 38 [paras[1], 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="b" s
tyle="display:none">Ijklmnop | |
| 592 </p> but got Text node "Qrstuvwx" | |
| 593 FAIL Range 31 [testDiv, 2, paras[4], 1], point 39 [paras[1], 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="b" s
tyle="display:none">Ijklmnop | |
| 594 </p> but got Text node "Qrstuvwx" | |
| 595 PASS Range 31 [testDiv, 2, paras[4], 1], point 40 [paras[1], 2] | |
| 596 FAIL Range 31 [testDiv, 2, paras[4], 1], point 41 [detachedPara1, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 597 FAIL Range 31 [testDiv, 2, paras[4], 1], point 42 [detachedPara1, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 598 FAIL Range 31 [testDiv, 2, paras[4], 1], point 43 [testDiv, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 599 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 600 " | |
| 601 FAIL Range 31 [testDiv, 2, paras[4], 1], point 44 [testDiv, 3] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 602 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 603 PASS Range 31 [testDiv, 2, paras[4], 1], point 45 [document, -1] | |
| 604 FAIL Range 31 [testDiv, 2, paras[4], 1], point 46 [document, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 605 " | |
| 606 FAIL Range 31 [testDiv, 2, paras[4], 1], point 47 [document, 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 607 " | |
| 608 FAIL Range 31 [testDiv, 2, paras[4], 1], point 48 [document, 2] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Qrstuvwx" | |
| 609 PASS Range 31 [testDiv, 2, paras[4], 1], point 49 [document, 3] | |
| 610 PASS Range 31 [testDiv, 2, paras[4], 1], point 50 [comment, -1] | |
| 611 FAIL Range 31 [testDiv, 2, paras[4], 1], point 51 [comment, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | |
| 612 FAIL Range 31 [testDiv, 2, paras[4], 1], point 52 [comment, 4] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | |
| 613 PASS Range 31 [testDiv, 2, paras[4], 1], point 53 [comment, 96] | |
| 614 FAIL Range 31 [testDiv, 2, paras[4], 1], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 615 FAIL Range 31 [testDiv, 2, paras[4], 1], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 616 FAIL Range 31 [testDiv, 2, paras[4], 1], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Element n
ode <p id="e" style="display:none">Ghijklmn</p> | |
| 617 FAIL Range 31 [testDiv, 2, paras[4], 1], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Element node <p
id="e" style="display:none">Ghijklmn</p> | |
| 618 FAIL Range 31 [testDiv, 2, paras[4], 1], point 58 [foreignTextNode, 36] 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="e" style="display:none">Ghijklmn</p> | |
| 619 PASS Range 31 [testDiv, 2, paras[4], 1], point 59 [xmlDoc, -1] | |
| 620 FAIL Range 31 [testDiv, 2, paras[4], 1], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 621 FAIL Range 31 [testDiv, 2, paras[4], 1], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 622 PASS Range 31 [testDiv, 2, paras[4], 1], point 62 [xmlDoc, 5] | |
| 623 FAIL Range 31 [testDiv, 2, paras[4], 1], point 63 [xmlComment, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Element node
<p id="e" style="display:none">Ghijklmn</p> | |
| 624 FAIL Range 31 [testDiv, 2, paras[4], 1], point 64 [xmlComment, 4] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Element node
<p id="e" style="display:none">Ghijklmn</p> | |
| 625 FAIL Range 31 [testDiv, 2, paras[4], 1], point 65 [processingInstruction, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Element node <p id="e" style="display:non
e">Ghijklmn</p> | |
| 626 FAIL Range 31 [testDiv, 2, paras[4], 1], point 66 [processingInstruction, 5] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Element node <p id="e" style="display:non
e">Ghijklmn</p> | |
| 627 FAIL Range 31 [testDiv, 2, paras[4], 1], point 67 [processingInstruction, 9] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Element node <p id="e" style="display:non
e">Ghijklmn</p> | |
| 628 FAIL Range 31 [testDiv, 2, paras[4], 1], point 68 [detachedTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 629 FAIL Range 31 [testDiv, 2, paras[4], 1], point 69 [detachedTextNode, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 630 FAIL Range 31 [testDiv, 2, paras[4], 1], point 70 [detachedForeignTextNode, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 631 FAIL Range 31 [testDiv, 2, paras[4], 1], point 71 [detachedForeignTextNode, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 632 FAIL Range 31 [testDiv, 2, paras[4], 1], point 72 [detachedXmlTextNode, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 633 FAIL Range 31 [testDiv, 2, paras[4], 1], point 73 [detachedXmlTextNode, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 634 FAIL Range 31 [testDiv, 2, paras[4], 1], point 74 [detachedProcessingInstruction
, 12] assert_equals: focusNode must equal the node we collapse()d to expected Pr
ocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp"
but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 635 FAIL Range 31 [testDiv, 2, paras[4], 1], point 75 [detachedComment, 3] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 636 FAIL Range 31 [testDiv, 2, paras[4], 1], point 76 [detachedComment, 5] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 637 FAIL Range 31 [testDiv, 2, paras[4], 1], point 77 [detachedForeignComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Element node <p id="e" style="display:none
">Ghijklmn</p> | |
| 638 FAIL Range 31 [testDiv, 2, paras[4], 1], point 78 [detachedForeignComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Element node <p id="e" style="display:none
">Ghijklmn</p> | |
| 639 FAIL Range 31 [testDiv, 2, paras[4], 1], point 79 [detachedXmlComment, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--בן ×—×™×™× ×ליעזר--> but got Element node <p id="e" style="display:n
one">Ghijklmn</p> | |
| 640 FAIL Range 31 [testDiv, 2, paras[4], 1], point 80 [docfrag, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected DocumentFragment node wit
h 0 children but got Element node <p id="e" style="display:none">Ghijklmn</p> | |
| 641 FAIL Range 31 [testDiv, 2, paras[4], 1], point 81 [foreignDocfrag, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected DocumentFragment n
ode with 0 children but got Element node <p id="e" style="display:none">Ghijklmn
</p> | |
| 642 FAIL Range 31 [testDiv, 2, paras[4], 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="e" style="display:none">Ghijklmn</p> | |
| 643 PASS Range 31 [testDiv, 2, paras[4], 1], point 83 [doctype, 0] | |
| 644 FAIL Range 31 [testDiv, 2, paras[4], 1], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { | |
| 645 selection.collapse(point[0], point[1]); | |
| 646 }" 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 | |
| 647 PASS Range 31 [testDiv, 2, paras[4], 1], point 85 [doctype, 1] | |
| 648 PASS Range 31 [testDiv, 2, paras[4], 1], point 86 [foreignDoctype, 0] | |
| 649 PASS Range 31 [testDiv, 2, paras[4], 1], point 87 [xmlDoctype, 0] | |
| 650 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 0 [paras[0].firstChild
, -1] | |
| 651 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 1 [paras[0].firstChild
, 0] | |
| 652 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | |
| 653 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 3 [paras[0].firstChild
, 2] | |
| 654 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 4 [paras[0].firstChild
, 8] | |
| 655 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | |
| 656 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 6 [paras[0].firstChild
, 10] | |
| 657 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 7 [paras[0].firstChild
, 65535] | |
| 658 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 8 [paras[1].firstChild
, -1] | |
| 659 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | |
| 660 " but got Text node "Qrstuvwx" | |
| 661 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 662 " but got Text node "Qrstuvwx" | |
| 663 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 664 " but got Text node "Qrstuvwx" | |
| 665 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 666 " but got Text node "Qrstuvwx" | |
| 667 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 668 " but got Text node "Qrstuvwx" | |
| 669 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 14 [paras[1].firstChil
d, 10] | |
| 670 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 15 [paras[1].firstChil
d, 65535] | |
| 671 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | |
| 672 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | |
| 673 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Text node "Qrstuvwx" | |
| 674 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 19 [detachedPara1.firs
tChild, 9] | |
| 675 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | |
| 676 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | |
| 677 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Text node "Qrstuvwx" | |
| 678 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 23 [foreignPara1.first
Child, 9] | |
| 679 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 24 [document.documentE
lement, -1] | |
| 680 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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> | |
| 681 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 682 " | |
| 683 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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> | |
| 684 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 685 " | |
| 686 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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> | |
| 687 <me... but got Text node "Qrstuvwx" | |
| 688 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 28 [document.documentE
lement, 7] | |
| 689 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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> | |
| 690 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 691 " | |
| 692 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | |
| 693 </p><p id... but got Text node "Qrstuvwx" | |
| 694 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 695 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 696 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 697 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text
node "Qrstuvwx" | |
| 698 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | |
| 699 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 700 " | |
| 701 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | |
| 702 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 703 " | |
| 704 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 37 [paras[0], 2] | |
| 705 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 | |
| 706 </p> but got Text node "Qrstuvwx" | |
| 707 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 | |
| 708 </p> but got Text node "Qrstuvwx" | |
| 709 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 40 [paras[1], 2] | |
| 710 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Qrstuvwx" | |
| 711 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Text node "Qrstuvwx" | |
| 712 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | |
| 713 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 714 " | |
| 715 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | |
| 716 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 717 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 45 [document, -1] | |
| 718 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | |
| 719 " | |
| 720 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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̈ḧ | |
| 721 " | |
| 722 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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" | |
| 723 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 49 [document, 3] | |
| 724 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 50 [comment, -1] | |
| 725 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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" | |
| 726 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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" | |
| 727 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 53 [comment, 96] | |
| 728 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 729 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 730 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 731 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text
node "Qrstuvwx" | |
| 732 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text
node "Qrstuvwx" | |
| 733 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 59 [xmlDoc, -1] | |
| 734 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | |
| 735 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Text node "Qrstuvwx" | |
| 736 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 62 [xmlDoc, 5] | |
| 737 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Te
xt node "Qrstuvwx" | |
| 738 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Te
xt node "Qrstuvwx" | |
| 739 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 740 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 741 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 742 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | |
| 743 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Text node "Qrstuvwx" | |
| 744 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" | |
| 745 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Text node "Qrstuvwx" | |
| 746 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" | |
| 747 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Text node "Qrstuvwx" | |
| 748 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 749 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | |
| 750 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Text node "Qrstuvwx" | |
| 751 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | |
| 752 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Text node "Qrstuvwx" | |
| 753 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Text node "Qrstuvwx" | |
| 754 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Text node "Qrstuvwx" | |
| 755 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Text node "Qrstuvwx" | |
| 756 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], 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 Text node "Qrstuvwx" | |
| 757 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 83 [doctype, 0] | |
| 758 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
| 759 selection.collapse(point[0], point[1]); | |
| 760 }" 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 | |
| 761 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 85 [doctype, 1] | |
| 762 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 86 [foreignDoctype, 0]
| |
| 763 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5], point 87 [xmlDoctype, 0] | |
| 764 PASS Range 33 [document.documentElement, 1, document.body, 0], point 0 [paras[0]
.firstChild, -1] | |
| 765 PASS Range 33 [document.documentElement, 1, document.body, 0], point 1 [paras[0]
.firstChild, 0] | |
| 766 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 2 [paras[0]
.firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 767 PASS Range 33 [document.documentElement, 1, document.body, 0], point 3 [paras[0]
.firstChild, 2] | |
| 768 PASS Range 33 [document.documentElement, 1, document.body, 0], point 4 [paras[0]
.firstChild, 8] | |
| 769 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 5 [paras[0]
.firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 770 PASS Range 33 [document.documentElement, 1, document.body, 0], point 6 [paras[0]
.firstChild, 10] | |
| 771 PASS Range 33 [document.documentElement, 1, document.body, 0], point 7 [paras[0]
.firstChild, 65535] | |
| 772 PASS Range 33 [document.documentElement, 1, document.body, 0], point 8 [paras[1]
.firstChild, -1] | |
| 773 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 9 [paras[1]
.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 774 " but got Text node "Qrstuvwx" | |
| 775 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 10 [paras[1
].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 776 " but got Text node "Qrstuvwx" | |
| 777 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 11 [paras[1
].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 778 " but got Text node "Qrstuvwx" | |
| 779 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 12 [paras[1
].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 780 " but got Text node "Qrstuvwx" | |
| 781 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 13 [paras[1
].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 782 " but got Text node "Qrstuvwx" | |
| 783 PASS Range 33 [document.documentElement, 1, document.body, 0], point 14 [paras[1
].firstChild, 10] | |
| 784 PASS Range 33 [document.documentElement, 1, document.body, 0], point 15 [paras[1
].firstChild, 65535] | |
| 785 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 16 [detache
dPara1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 786 </p><p id... | |
| 787 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 17 [detache
dPara1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 788 </p><p id... | |
| 789 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 18 [detache
dPara1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()
d to expected Text node "Opqrstuv" but got Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 790 </p><p id... | |
| 791 PASS Range 33 [document.documentElement, 1, document.body, 0], point 19 [detache
dPara1.firstChild, 9] | |
| 792 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 20 [foreign
Para1.firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 793 </p><p id... | |
| 794 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 21 [foreign
Para1.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 795 </p><p id... | |
| 796 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 22 [foreign
Para1.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Efghijkl" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 797 </p><p id... | |
| 798 PASS Range 33 [document.documentElement, 1, document.body, 0], point 23 [foreign
Para1.firstChild, 9] | |
| 799 PASS Range 33 [document.documentElement, 1, document.body, 0], point 24 [documen
t.documentElement, -1] | |
| 800 FAIL Range 33 [document.documentElement, 1, document.body, 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> | |
| 801 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 802 " | |
| 803 FAIL Range 33 [document.documentElement, 1, document.body, 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> | |
| 804 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 805 " | |
| 806 FAIL Range 33 [document.documentElement, 1, document.body, 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> | |
| 807 <me... but got Text node "Qrstuvwx" | |
| 808 PASS Range 33 [document.documentElement, 1, document.body, 0], point 28 [documen
t.documentElement, 7] | |
| 809 FAIL Range 33 [document.documentElement, 1, document.body, 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> | |
| 810 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 811 " | |
| 812 FAIL Range 33 [document.documentElement, 1, document.body, 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̈ḧ | |
| 813 </p><p id... but got Text node "Qrstuvwx" | |
| 814 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 815 </p><p id... | |
| 816 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 817 </p><p id... | |
| 818 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div i
d="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 819 </p><p id... | |
| 820 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 821 </p><p id... | |
| 822 FAIL Range 33 [document.documentElement, 1, document.body, 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̈ḧ | |
| 823 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 824 " | |
| 825 FAIL Range 33 [document.documentElement, 1, document.body, 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̈ḧ | |
| 826 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 827 " | |
| 828 PASS Range 33 [document.documentElement, 1, document.body, 0], point 37 [paras[0
], 2] | |
| 829 FAIL Range 33 [document.documentElement, 1, document.body, 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 | |
| 830 </p> but got Text node "Qrstuvwx" | |
| 831 FAIL Range 33 [document.documentElement, 1, document.body, 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 | |
| 832 </p> but got Text node "Qrstuvwx" | |
| 833 PASS Range 33 [document.documentElement, 1, document.body, 0], point 40 [paras[1
], 2] | |
| 834 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 835 </p><p id... | |
| 836 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 837 </p><p id... | |
| 838 FAIL Range 33 [document.documentElement, 1, document.body, 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̈ḧ | |
| 839 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 840 " | |
| 841 FAIL Range 33 [document.documentElement, 1, document.body, 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̈ḧ | |
| 842 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 843 PASS Range 33 [document.documentElement, 1, document.body, 0], point 45 [documen
t, -1] | |
| 844 FAIL Range 33 [document.documentElement, 1, document.body, 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̈ḧ | |
| 845 " | |
| 846 FAIL Range 33 [document.documentElement, 1, document.body, 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̈ḧ | |
| 847 " | |
| 848 FAIL Range 33 [document.documentElement, 1, document.body, 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" | |
| 849 PASS Range 33 [document.documentElement, 1, document.body, 0], point 49 [documen
t, 3] | |
| 850 PASS Range 33 [document.documentElement, 1, document.body, 0], point 50 [comment
, -1] | |
| 851 FAIL Range 33 [document.documentElement, 1, document.body, 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" | |
| 852 FAIL Range 33 [document.documentElement, 1, document.body, 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" | |
| 853 PASS Range 33 [document.documentElement, 1, document.body, 0], point 53 [comment
, 96] | |
| 854 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a
">Äb̈c̈d̈ëf̈g̈ḧ | |
| 855 </p><p id... | |
| 856 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a
">Äb̈c̈d̈ëf̈g̈ḧ | |
| 857 </p><p id... | |
| 858 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 859 </p><p id... | |
| 860 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 861 </p><p id... | |
| 862 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 863 </p><p id... | |
| 864 PASS Range 33 [document.documentElement, 1, document.body, 0], point 59 [xmlDoc,
-1] | |
| 865 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | |
| 866 </p><p id... | |
| 867 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | |
| 868 </p><p id... | |
| 869 PASS Range 33 [document.documentElement, 1, document.body, 0], point 62 [xmlDoc,
5] | |
| 870 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 871 </p><p id... | |
| 872 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 873 </p><p id... | |
| 874 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body>
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 875 </p><p id... | |
| 876 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body>
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 877 </p><p id... | |
| 878 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body>
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 879 </p><p id... | |
| 880 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 68 [detache
dTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | |
| 881 </p><p id... | |
| 882 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 69 [detache
dTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to exp
ected Text node "Uvwxyzab" but got Element node <body><div id="test"><p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | |
| 883 </p><p id... | |
| 884 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 70 [detache
dForeignTextNode, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 885 </p><p id... | |
| 886 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 71 [detache
dForeignTextNode, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Cdefghij" but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 887 </p><p id... | |
| 888 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 72 [detache
dXmlTextNode, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <body><div id="test"><p id="a
">Äb̈c̈d̈ëf̈g̈ḧ | |
| 889 </p><p id... | |
| 890 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 73 [detache
dXmlTextNode, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Klmnopqr" but got Element node <body><div id="test"><p id="a
">Äb̈c̈d̈ëf̈g̈ḧ | |
| 891 </p><p id... | |
| 892 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p id="a">Äb̈c
̈d̈ëf̈g̈ḧ | |
| 893 </p><p id... | |
| 894 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 75 [detache
dComment, 3] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 895 </p><p id... | |
| 896 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 76 [detache
dComment, 5] assert_equals: focusNode must equal the node we collapse()d to expe
cted Comment node <!--Stuvwxyz--> but got Element node <body><div id="test"><p i
d="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 897 </p><p id... | |
| 898 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 77 [detache
dForeignComment, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <body><
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 899 </p><p id... | |
| 900 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 78 [detache
dForeignComment, 4] assert_equals: focusNode must equal the node we collapse()d
to expected Comment node <!--×ריה יהודה--> but got Element node <body><
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 901 </p><p id... | |
| 902 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 79 [detache
dXmlComment, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Comment node <!--בן ×—×™×™× ×ליעזר--> but got Element node <bod
y><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 903 </p><p id... | |
| 904 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test"><p
id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 905 </p><p id... | |
| 906 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="te
st"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 907 </p><p id... | |
| 908 FAIL Range 33 [document.documentElement, 1, document.body, 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 Element node <body><div id="test">
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 909 </p><p id... | |
| 910 PASS Range 33 [document.documentElement, 1, document.body, 0], point 83 [doctype
, 0] | |
| 911 FAIL Range 33 [document.documentElement, 1, document.body, 0], point 84 [doctype
, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 912 selection.collapse(point[0], point[1]); | |
| 913 }" 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 | |
| 914 PASS Range 33 [document.documentElement, 1, document.body, 0], point 85 [doctype
, 1] | |
| 915 PASS Range 33 [document.documentElement, 1, document.body, 0], point 86 [foreign
Doctype, 0] | |
| 916 PASS Range 33 [document.documentElement, 1, document.body, 0], point 87 [xmlDoct
ype, 0] | |
| 917 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 0 [para
s[0].firstChild, -1] | |
| 918 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 1 [para
s[0].firstChild, 0] | |
| 919 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 2 [para
s[0].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse
()d to expected 1 but got 2 | |
| 920 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 3 [para
s[0].firstChild, 2] | |
| 921 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 4 [para
s[0].firstChild, 8] | |
| 922 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 5 [para
s[0].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse
()d to expected 9 but got 10 | |
| 923 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 6 [para
s[0].firstChild, 10] | |
| 924 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 7 [para
s[0].firstChild, 65535] | |
| 925 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 8 [para
s[1].firstChild, -1] | |
| 926 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 9 [para
s[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | |
| 927 " but got Text node "Qrstuvwx" | |
| 928 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 10 [par
as[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | |
| 929 " but got Text node "Qrstuvwx" | |
| 930 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 11 [par
as[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | |
| 931 " but got Text node "Qrstuvwx" | |
| 932 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 12 [par
as[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | |
| 933 " but got Text node "Qrstuvwx" | |
| 934 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 13 [par
as[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d
to expected Text node "Ijklmnop | |
| 935 " but got Text node "Qrstuvwx" | |
| 936 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 14 [par
as[1].firstChild, 10] | |
| 937 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 15 [par
as[1].firstChild, 65535] | |
| 938 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 16 [det
achedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 939 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 17 [det
achedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 940 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 18 [det
achedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 941 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 19 [det
achedPara1.firstChild, 9] | |
| 942 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 20 [for
eignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 943 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 21 [for
eignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 944 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 22 [for
eignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 945 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 23 [for
eignPara1.firstChild, 9] | |
| 946 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 24 [doc
ument.documentElement, -1] | |
| 947 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 25 [doc
ument.documentElement, 0] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 948 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 949 " | |
| 950 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 26 [doc
ument.documentElement, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 951 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 952 " | |
| 953 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 27 [doc
ument.documentElement, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Element node <html><head><title>Selection.collapse() tests</ti
tle> | |
| 954 <me... but got Text node "Qrstuvwx" | |
| 955 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 28 [doc
ument.documentElement, 7] | |
| 956 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 29 [doc
ument.head, 1] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <head><title>Selection.collapse() tests</title> | |
| 957 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 958 " | |
| 959 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 30 [doc
ument.body, 3] assert_equals: focusNode must equal the node we collapse()d to ex
pected Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 960 </p><p id... but got Text node "Qrstuvwx" | |
| 961 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 31 [for
eignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 962 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 32 [for
eignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 963 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 33 [for
eignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 964 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 34 [for
eignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 965 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 35 [par
as[0], 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 966 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 967 " | |
| 968 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 36 [par
as[0], 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 969 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 970 " | |
| 971 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 37 [par
as[0], 2] | |
| 972 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 38 [par
as[1], 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <p id="b" style="display:none">Ijklmnop | |
| 973 </p> but got Text node "Qrstuvwx" | |
| 974 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 39 [par
as[1], 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <p id="b" style="display:none">Ijklmnop | |
| 975 </p> but got Text node "Qrstuvwx" | |
| 976 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 40 [par
as[1], 2] | |
| 977 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 41 [det
achedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 978 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 42 [det
achedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 979 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 43 [tes
tDiv, 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̈ḧ | |
| 980 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 981 " | |
| 982 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 44 [tes
tDiv, 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̈ḧ | |
| 983 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 984 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 45 [doc
ument, -1] | |
| 985 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 46 [doc
ument, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 986 " | |
| 987 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 47 [doc
ument, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 988 " | |
| 989 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 48 [doc
ument, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Document node with 2 children but got Text node "Qrstuvwx" | |
| 990 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 49 [doc
ument, 3] | |
| 991 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 50 [com
ment, -1] | |
| 992 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 51 [com
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 993 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 52 [com
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 994 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 53 [com
ment, 96] | |
| 995 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 54 [for
eignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 996 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 55 [for
eignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 997 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 56 [for
eignComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 998 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 57 [for
eignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 999 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 58 [for
eignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1000 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 59 [xml
Doc, -1] | |
| 1001 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 60 [xml
Doc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 1002 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 61 [xml
Doc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 1003 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 62 [xml
Doc, 5] | |
| 1004 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 63 [xml
Comment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 1005 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 64 [xml
Comment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 1006 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 65 [pro
cessingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 1007 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 66 [pro
cessingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 1008 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 67 [pro
cessingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 1009 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 68 [det
achedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1010 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 69 [det
achedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1011 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 70 [det
achedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 1012 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 71 [det
achedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 1013 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 72 [det
achedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 1014 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 73 [det
achedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 1015 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 74 [det
achedProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 1016 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 75 [det
achedComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 1017 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 76 [det
achedComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 1018 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 77 [det
achedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 1019 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 78 [det
achedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 1020 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 79 [det
achedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 1021 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 80 [doc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 1022 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 81 [for
eignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 1023 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 82 [xml
Docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 1024 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 83 [doc
type, 0] | |
| 1025 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 84 [doc
type, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if
the node is a DocumentType function "function () { | |
| 1026 selection.collapse(point[0], point[1]); | |
| 1027 }" 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 | |
| 1028 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 85 [doc
type, 1] | |
| 1029 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 86 [for
eignDoctype, 0] | |
| 1030 PASS Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0], point 87 [xml
Doctype, 0] | |
| 1031 PASS Range 35 [document, 0, document, 1], point 0 [paras[0].firstChild, -1] | |
| 1032 PASS Range 35 [document, 0, document, 1], point 1 [paras[0].firstChild, 0] | |
| 1033 FAIL Range 35 [document, 0, document, 1], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | |
| 1034 PASS Range 35 [document, 0, document, 1], point 3 [paras[0].firstChild, 2] | |
| 1035 PASS Range 35 [document, 0, document, 1], point 4 [paras[0].firstChild, 8] | |
| 1036 FAIL Range 35 [document, 0, document, 1], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | |
| 1037 PASS Range 35 [document, 0, document, 1], point 6 [paras[0].firstChild, 10] | |
| 1038 PASS Range 35 [document, 0, document, 1], point 7 [paras[0].firstChild, 65535] | |
| 1039 PASS Range 35 [document, 0, document, 1], point 8 [paras[1].firstChild, -1] | |
| 1040 FAIL Range 35 [document, 0, document, 1], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 1041 " but got Text node "Qrstuvwx" | |
| 1042 FAIL Range 35 [document, 0, document, 1], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1043 " but got Text node "Qrstuvwx" | |
| 1044 FAIL Range 35 [document, 0, document, 1], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1045 " but got Text node "Qrstuvwx" | |
| 1046 FAIL Range 35 [document, 0, document, 1], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1047 " but got Text node "Qrstuvwx" | |
| 1048 FAIL Range 35 [document, 0, document, 1], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1049 " but got Text node "Qrstuvwx" | |
| 1050 PASS Range 35 [document, 0, document, 1], point 14 [paras[1].firstChild, 10] | |
| 1051 PASS Range 35 [document, 0, document, 1], point 15 [paras[1].firstChild, 65535] | |
| 1052 FAIL Range 35 [document, 0, document, 1], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | |
| 1053 FAIL Range 35 [document, 0, document, 1], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | |
| 1054 FAIL Range 35 [document, 0, document, 1], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | |
| 1055 PASS Range 35 [document, 0, document, 1], point 19 [detachedPara1.firstChild, 9]
| |
| 1056 FAIL Range 35 [document, 0, document, 1], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | |
| 1057 FAIL Range 35 [document, 0, document, 1], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | |
| 1058 FAIL Range 35 [document, 0, document, 1], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | |
| 1059 PASS Range 35 [document, 0, document, 1], point 23 [foreignPara1.firstChild, 9] | |
| 1060 PASS Range 35 [document, 0, document, 1], point 24 [document.documentElement, -1
] | |
| 1061 FAIL Range 35 [document, 0, document, 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> | |
| 1062 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1063 " | |
| 1064 FAIL Range 35 [document, 0, document, 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> | |
| 1065 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1066 " | |
| 1067 FAIL Range 35 [document, 0, document, 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> | |
| 1068 <me... but got Text node "Qrstuvwx" | |
| 1069 PASS Range 35 [document, 0, document, 1], point 28 [document.documentElement, 7]
| |
| 1070 FAIL Range 35 [document, 0, document, 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> | |
| 1071 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1072 " | |
| 1073 FAIL Range 35 [document, 0, document, 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̈ḧ | |
| 1074 </p><p id... but got Text node "Qrstuvwx" | |
| 1075 FAIL Range 35 [document, 0, document, 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 Doc
ument node with 2 children | |
| 1076 FAIL Range 35 [document, 0, document, 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 Doc
ument node with 2 children | |
| 1077 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1078 FAIL Range 35 [document, 0, document, 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 Document node
with 2 children | |
| 1079 FAIL Range 35 [document, 0, document, 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̈ḧ | |
| 1080 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1081 " | |
| 1082 FAIL Range 35 [document, 0, document, 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̈ḧ | |
| 1083 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1084 " | |
| 1085 PASS Range 35 [document, 0, document, 1], point 37 [paras[0], 2] | |
| 1086 FAIL Range 35 [document, 0, document, 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 | |
| 1087 </p> but got Text node "Qrstuvwx" | |
| 1088 FAIL Range 35 [document, 0, document, 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 | |
| 1089 </p> but got Text node "Qrstuvwx" | |
| 1090 PASS Range 35 [document, 0, document, 1], point 40 [paras[1], 2] | |
| 1091 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1092 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1093 FAIL Range 35 [document, 0, document, 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̈ḧ | |
| 1094 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1095 " | |
| 1096 FAIL Range 35 [document, 0, document, 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̈ḧ | |
| 1097 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1098 PASS Range 35 [document, 0, document, 1], point 45 [document, -1] | |
| 1099 FAIL Range 35 [document, 0, document, 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̈ḧ | |
| 1100 " | |
| 1101 FAIL Range 35 [document, 0, document, 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̈ḧ | |
| 1102 " | |
| 1103 FAIL Range 35 [document, 0, document, 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" | |
| 1104 PASS Range 35 [document, 0, document, 1], point 49 [document, 3] | |
| 1105 PASS Range 35 [document, 0, document, 1], point 50 [comment, -1] | |
| 1106 FAIL Range 35 [document, 0, document, 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" | |
| 1107 FAIL Range 35 [document, 0, document, 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" | |
| 1108 PASS Range 35 [document, 0, document, 1], point 53 [comment, 96] | |
| 1109 FAIL Range 35 [document, 0, document, 1], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | |
| 1110 FAIL Range 35 [document, 0, document, 1], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | |
| 1111 FAIL Range 35 [document, 0, document, 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 Document
node with 2 children | |
| 1112 FAIL Range 35 [document, 0, document, 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 Document node w
ith 2 children | |
| 1113 FAIL Range 35 [document, 0, document, 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 Document node
with 2 children | |
| 1114 PASS Range 35 [document, 0, document, 1], point 59 [xmlDoc, -1] | |
| 1115 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1116 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1117 PASS Range 35 [document, 0, document, 1], point 62 [xmlDoc, 5] | |
| 1118 FAIL Range 35 [document, 0, document, 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 Document nod
e with 2 children | |
| 1119 FAIL Range 35 [document, 0, document, 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 Document nod
e with 2 children | |
| 1120 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1121 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1122 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1123 FAIL Range 35 [document, 0, document, 1], point 68 [detachedTextNode, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Document node with 2 children | |
| 1124 FAIL Range 35 [document, 0, document, 1], point 69 [detachedTextNode, 8] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Document node with 2 children | |
| 1125 FAIL Range 35 [document, 0, document, 1], point 70 [detachedForeignTextNode, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Document node with 2 children | |
| 1126 FAIL Range 35 [document, 0, document, 1], point 71 [detachedForeignTextNode, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Document node with 2 children | |
| 1127 FAIL Range 35 [document, 0, document, 1], point 72 [detachedXmlTextNode, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Document node with 2 children | |
| 1128 FAIL Range 35 [document, 0, document, 1], point 73 [detachedXmlTextNode, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Document node with 2 children | |
| 1129 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1130 FAIL Range 35 [document, 0, document, 1], point 75 [detachedComment, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Document node with 2 children | |
| 1131 FAIL Range 35 [document, 0, document, 1], point 76 [detachedComment, 5] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Document node with 2 children | |
| 1132 FAIL Range 35 [document, 0, document, 1], point 77 [detachedForeignComment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Document node with 2 children | |
| 1133 FAIL Range 35 [document, 0, document, 1], point 78 [detachedForeignComment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Document node with 2 children | |
| 1134 FAIL Range 35 [document, 0, document, 1], point 79 [detachedXmlComment, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--בן ×—×™×™× ×ליעזר--> but got Document node with 2 children | |
| 1135 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1136 FAIL Range 35 [document, 0, document, 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 Document node with 2 children | |
| 1137 FAIL Range 35 [document, 0, document, 1], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Document node with 2 children | |
| 1138 PASS Range 35 [document, 0, document, 1], point 83 [doctype, 0] | |
| 1139 FAIL Range 35 [document, 0, document, 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 () { | |
| 1140 selection.collapse(point[0], point[1]); | |
| 1141 }" 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 | |
| 1142 PASS Range 35 [document, 0, document, 1], point 85 [doctype, 1] | |
| 1143 PASS Range 35 [document, 0, document, 1], point 86 [foreignDoctype, 0] | |
| 1144 PASS Range 35 [document, 0, document, 1], point 87 [xmlDoctype, 0] | |
| 1145 PASS Range 36 [document, 0, document, 2], point 0 [paras[0].firstChild, -1] | |
| 1146 PASS Range 36 [document, 0, document, 2], point 1 [paras[0].firstChild, 0] | |
| 1147 FAIL Range 36 [document, 0, document, 2], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | |
| 1148 PASS Range 36 [document, 0, document, 2], point 3 [paras[0].firstChild, 2] | |
| 1149 PASS Range 36 [document, 0, document, 2], point 4 [paras[0].firstChild, 8] | |
| 1150 FAIL Range 36 [document, 0, document, 2], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | |
| 1151 PASS Range 36 [document, 0, document, 2], point 6 [paras[0].firstChild, 10] | |
| 1152 PASS Range 36 [document, 0, document, 2], point 7 [paras[0].firstChild, 65535] | |
| 1153 PASS Range 36 [document, 0, document, 2], point 8 [paras[1].firstChild, -1] | |
| 1154 FAIL Range 36 [document, 0, document, 2], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 1155 " but got Text node "Qrstuvwx" | |
| 1156 FAIL Range 36 [document, 0, document, 2], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1157 " but got Text node "Qrstuvwx" | |
| 1158 FAIL Range 36 [document, 0, document, 2], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1159 " but got Text node "Qrstuvwx" | |
| 1160 FAIL Range 36 [document, 0, document, 2], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1161 " but got Text node "Qrstuvwx" | |
| 1162 FAIL Range 36 [document, 0, document, 2], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1163 " but got Text node "Qrstuvwx" | |
| 1164 PASS Range 36 [document, 0, document, 2], point 14 [paras[1].firstChild, 10] | |
| 1165 PASS Range 36 [document, 0, document, 2], point 15 [paras[1].firstChild, 65535] | |
| 1166 FAIL Range 36 [document, 0, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | |
| 1167 FAIL Range 36 [document, 0, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | |
| 1168 FAIL Range 36 [document, 0, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | |
| 1169 PASS Range 36 [document, 0, document, 2], point 19 [detachedPara1.firstChild, 9]
| |
| 1170 FAIL Range 36 [document, 0, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | |
| 1171 FAIL Range 36 [document, 0, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | |
| 1172 FAIL Range 36 [document, 0, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | |
| 1173 PASS Range 36 [document, 0, document, 2], point 23 [foreignPara1.firstChild, 9] | |
| 1174 PASS Range 36 [document, 0, document, 2], point 24 [document.documentElement, -1
] | |
| 1175 FAIL Range 36 [document, 0, document, 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() tests</title> | |
| 1176 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1177 " | |
| 1178 FAIL Range 36 [document, 0, document, 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() tests</title> | |
| 1179 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1180 " | |
| 1181 FAIL Range 36 [document, 0, document, 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() tests</title> | |
| 1182 <me... but got Text node "Qrstuvwx" | |
| 1183 PASS Range 36 [document, 0, document, 2], point 28 [document.documentElement, 7]
| |
| 1184 FAIL Range 36 [document, 0, document, 2], 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> | |
| 1185 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1186 " | |
| 1187 FAIL Range 36 [document, 0, document, 2], 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̈ḧ | |
| 1188 </p><p id... but got Text node "Qrstuvwx" | |
| 1189 FAIL Range 36 [document, 0, document, 2], 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 Doc
ument node with 2 children | |
| 1190 FAIL Range 36 [document, 0, document, 2], 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 Doc
ument node with 2 children | |
| 1191 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1192 FAIL Range 36 [document, 0, document, 2], 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 Document node
with 2 children | |
| 1193 FAIL Range 36 [document, 0, document, 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̈ḧ | |
| 1194 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1195 " | |
| 1196 FAIL Range 36 [document, 0, document, 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̈ḧ | |
| 1197 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1198 " | |
| 1199 PASS Range 36 [document, 0, document, 2], point 37 [paras[0], 2] | |
| 1200 FAIL Range 36 [document, 0, document, 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 | |
| 1201 </p> but got Text node "Qrstuvwx" | |
| 1202 FAIL Range 36 [document, 0, document, 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 | |
| 1203 </p> but got Text node "Qrstuvwx" | |
| 1204 PASS Range 36 [document, 0, document, 2], point 40 [paras[1], 2] | |
| 1205 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1206 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1207 FAIL Range 36 [document, 0, document, 2], 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̈ḧ | |
| 1208 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1209 " | |
| 1210 FAIL Range 36 [document, 0, document, 2], 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̈ḧ | |
| 1211 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1212 PASS Range 36 [document, 0, document, 2], point 45 [document, -1] | |
| 1213 FAIL Range 36 [document, 0, document, 2], 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̈ḧ | |
| 1214 " | |
| 1215 FAIL Range 36 [document, 0, document, 2], 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̈ḧ | |
| 1216 " | |
| 1217 FAIL Range 36 [document, 0, document, 2], 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" | |
| 1218 PASS Range 36 [document, 0, document, 2], point 49 [document, 3] | |
| 1219 PASS Range 36 [document, 0, document, 2], point 50 [comment, -1] | |
| 1220 FAIL Range 36 [document, 0, document, 2], 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" | |
| 1221 FAIL Range 36 [document, 0, document, 2], 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" | |
| 1222 PASS Range 36 [document, 0, document, 2], point 53 [comment, 96] | |
| 1223 FAIL Range 36 [document, 0, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | |
| 1224 FAIL Range 36 [document, 0, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | |
| 1225 FAIL Range 36 [document, 0, document, 2], 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 Document
node with 2 children | |
| 1226 FAIL Range 36 [document, 0, document, 2], 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 Document node w
ith 2 children | |
| 1227 FAIL Range 36 [document, 0, document, 2], 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 Document node
with 2 children | |
| 1228 PASS Range 36 [document, 0, document, 2], point 59 [xmlDoc, -1] | |
| 1229 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1230 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1231 PASS Range 36 [document, 0, document, 2], point 62 [xmlDoc, 5] | |
| 1232 FAIL Range 36 [document, 0, document, 2], 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 Document nod
e with 2 children | |
| 1233 FAIL Range 36 [document, 0, document, 2], 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 Document nod
e with 2 children | |
| 1234 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1235 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1236 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1237 FAIL Range 36 [document, 0, document, 2], point 68 [detachedTextNode, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Document node with 2 children | |
| 1238 FAIL Range 36 [document, 0, document, 2], point 69 [detachedTextNode, 8] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Document node with 2 children | |
| 1239 FAIL Range 36 [document, 0, document, 2], point 70 [detachedForeignTextNode, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Document node with 2 children | |
| 1240 FAIL Range 36 [document, 0, document, 2], point 71 [detachedForeignTextNode, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Document node with 2 children | |
| 1241 FAIL Range 36 [document, 0, document, 2], point 72 [detachedXmlTextNode, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Document node with 2 children | |
| 1242 FAIL Range 36 [document, 0, document, 2], point 73 [detachedXmlTextNode, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Document node with 2 children | |
| 1243 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1244 FAIL Range 36 [document, 0, document, 2], point 75 [detachedComment, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Document node with 2 children | |
| 1245 FAIL Range 36 [document, 0, document, 2], point 76 [detachedComment, 5] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Document node with 2 children | |
| 1246 FAIL Range 36 [document, 0, document, 2], point 77 [detachedForeignComment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Document node with 2 children | |
| 1247 FAIL Range 36 [document, 0, document, 2], point 78 [detachedForeignComment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Document node with 2 children | |
| 1248 FAIL Range 36 [document, 0, document, 2], point 79 [detachedXmlComment, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--בן ×—×™×™× ×ליעזר--> but got Document node with 2 children | |
| 1249 FAIL Range 36 [document, 0, document, 2], 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 Document node with 2 children | |
| 1250 FAIL Range 36 [document, 0, document, 2], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Document node with 2 children | |
| 1251 FAIL Range 36 [document, 0, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Document node with 2 children | |
| 1252 PASS Range 36 [document, 0, document, 2], point 83 [doctype, 0] | |
| 1253 FAIL Range 36 [document, 0, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | |
| 1254 selection.collapse(point[0], point[1]); | |
| 1255 }" 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 | |
| 1256 PASS Range 36 [document, 0, document, 2], point 85 [doctype, 1] | |
| 1257 PASS Range 36 [document, 0, document, 2], point 86 [foreignDoctype, 0] | |
| 1258 PASS Range 36 [document, 0, document, 2], point 87 [xmlDoctype, 0] | |
| 1259 PASS Range 37 [document, 1, document, 2], point 0 [paras[0].firstChild, -1] | |
| 1260 PASS Range 37 [document, 1, document, 2], point 1 [paras[0].firstChild, 0] | |
| 1261 FAIL Range 37 [document, 1, document, 2], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | |
| 1262 PASS Range 37 [document, 1, document, 2], point 3 [paras[0].firstChild, 2] | |
| 1263 PASS Range 37 [document, 1, document, 2], point 4 [paras[0].firstChild, 8] | |
| 1264 FAIL Range 37 [document, 1, document, 2], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | |
| 1265 PASS Range 37 [document, 1, document, 2], point 6 [paras[0].firstChild, 10] | |
| 1266 PASS Range 37 [document, 1, document, 2], point 7 [paras[0].firstChild, 65535] | |
| 1267 PASS Range 37 [document, 1, document, 2], point 8 [paras[1].firstChild, -1] | |
| 1268 FAIL Range 37 [document, 1, document, 2], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 1269 " but got Text node "Qrstuvwx" | |
| 1270 FAIL Range 37 [document, 1, document, 2], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1271 " but got Text node "Qrstuvwx" | |
| 1272 FAIL Range 37 [document, 1, document, 2], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1273 " but got Text node "Qrstuvwx" | |
| 1274 FAIL Range 37 [document, 1, document, 2], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1275 " but got Text node "Qrstuvwx" | |
| 1276 FAIL Range 37 [document, 1, document, 2], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 1277 " but got Text node "Qrstuvwx" | |
| 1278 PASS Range 37 [document, 1, document, 2], point 14 [paras[1].firstChild, 10] | |
| 1279 PASS Range 37 [document, 1, document, 2], point 15 [paras[1].firstChild, 65535] | |
| 1280 FAIL Range 37 [document, 1, document, 2], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | |
| 1281 FAIL Range 37 [document, 1, document, 2], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | |
| 1282 FAIL Range 37 [document, 1, document, 2], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text no
de "Opqrstuv" but got Document node with 2 children | |
| 1283 PASS Range 37 [document, 1, document, 2], point 19 [detachedPara1.firstChild, 9]
| |
| 1284 FAIL Range 37 [document, 1, document, 2], point 20 [foreignPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | |
| 1285 FAIL Range 37 [document, 1, document, 2], point 21 [foreignPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | |
| 1286 FAIL Range 37 [document, 1, document, 2], point 22 [foreignPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Efghijkl" but got Document node with 2 children | |
| 1287 PASS Range 37 [document, 1, document, 2], point 23 [foreignPara1.firstChild, 9] | |
| 1288 PASS Range 37 [document, 1, document, 2], point 24 [document.documentElement, -1
] | |
| 1289 FAIL Range 37 [document, 1, document, 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() tests</title> | |
| 1290 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1291 " | |
| 1292 FAIL Range 37 [document, 1, document, 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() tests</title> | |
| 1293 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1294 " | |
| 1295 FAIL Range 37 [document, 1, document, 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() tests</title> | |
| 1296 <me... but got Text node "Qrstuvwx" | |
| 1297 PASS Range 37 [document, 1, document, 2], point 28 [document.documentElement, 7]
| |
| 1298 FAIL Range 37 [document, 1, document, 2], 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> | |
| 1299 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1300 " | |
| 1301 FAIL Range 37 [document, 1, document, 2], 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̈ḧ | |
| 1302 </p><p id... but got Text node "Qrstuvwx" | |
| 1303 FAIL Range 37 [document, 1, document, 2], 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 Doc
ument node with 2 children | |
| 1304 FAIL Range 37 [document, 1, document, 2], 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 Doc
ument node with 2 children | |
| 1305 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1306 FAIL Range 37 [document, 1, document, 2], 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 Document node
with 2 children | |
| 1307 FAIL Range 37 [document, 1, document, 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̈ḧ | |
| 1308 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1309 " | |
| 1310 FAIL Range 37 [document, 1, document, 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̈ḧ | |
| 1311 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1312 " | |
| 1313 PASS Range 37 [document, 1, document, 2], point 37 [paras[0], 2] | |
| 1314 FAIL Range 37 [document, 1, document, 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 | |
| 1315 </p> but got Text node "Qrstuvwx" | |
| 1316 FAIL Range 37 [document, 1, document, 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 | |
| 1317 </p> but got Text node "Qrstuvwx" | |
| 1318 PASS Range 37 [document, 1, document, 2], point 40 [paras[1], 2] | |
| 1319 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1320 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1321 FAIL Range 37 [document, 1, document, 2], 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̈ḧ | |
| 1322 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1323 " | |
| 1324 FAIL Range 37 [document, 1, document, 2], 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̈ḧ | |
| 1325 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1326 PASS Range 37 [document, 1, document, 2], point 45 [document, -1] | |
| 1327 FAIL Range 37 [document, 1, document, 2], 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̈ḧ | |
| 1328 " | |
| 1329 FAIL Range 37 [document, 1, document, 2], 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̈ḧ | |
| 1330 " | |
| 1331 FAIL Range 37 [document, 1, document, 2], 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" | |
| 1332 PASS Range 37 [document, 1, document, 2], point 49 [document, 3] | |
| 1333 PASS Range 37 [document, 1, document, 2], point 50 [comment, -1] | |
| 1334 FAIL Range 37 [document, 1, document, 2], 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" | |
| 1335 FAIL Range 37 [document, 1, document, 2], 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" | |
| 1336 PASS Range 37 [document, 1, document, 2], point 53 [comment, 96] | |
| 1337 FAIL Range 37 [document, 1, document, 2], point 54 [foreignDoc, 0] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | |
| 1338 FAIL Range 37 [document, 1, document, 2], point 55 [foreignDoc, 1] assert_equals
: focusNode must equal the node we collapse()d to expected Document node with 3
children but got Document node with 2 children | |
| 1339 FAIL Range 37 [document, 1, document, 2], 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 Document
node with 2 children | |
| 1340 FAIL Range 37 [document, 1, document, 2], 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 Document node w
ith 2 children | |
| 1341 FAIL Range 37 [document, 1, document, 2], 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 Document node
with 2 children | |
| 1342 PASS Range 37 [document, 1, document, 2], point 59 [xmlDoc, -1] | |
| 1343 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1344 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1345 PASS Range 37 [document, 1, document, 2], point 62 [xmlDoc, 5] | |
| 1346 FAIL Range 37 [document, 1, document, 2], 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 Document nod
e with 2 children | |
| 1347 FAIL Range 37 [document, 1, document, 2], 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 Document nod
e with 2 children | |
| 1348 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1349 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1350 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1351 FAIL Range 37 [document, 1, document, 2], point 68 [detachedTextNode, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Document node with 2 children | |
| 1352 FAIL Range 37 [document, 1, document, 2], point 69 [detachedTextNode, 8] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Uvwx
yzab" but got Document node with 2 children | |
| 1353 FAIL Range 37 [document, 1, document, 2], point 70 [detachedForeignTextNode, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Document node with 2 children | |
| 1354 FAIL Range 37 [document, 1, document, 2], point 71 [detachedForeignTextNode, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Cdefghij" but got Document node with 2 children | |
| 1355 FAIL Range 37 [document, 1, document, 2], point 72 [detachedXmlTextNode, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Document node with 2 children | |
| 1356 FAIL Range 37 [document, 1, document, 2], point 73 [detachedXmlTextNode, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "K
lmnopqr" but got Document node with 2 children | |
| 1357 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1358 FAIL Range 37 [document, 1, document, 2], point 75 [detachedComment, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Document node with 2 children | |
| 1359 FAIL Range 37 [document, 1, document, 2], point 76 [detachedComment, 5] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Stuvwxyz--> but got Document node with 2 children | |
| 1360 FAIL Range 37 [document, 1, document, 2], point 77 [detachedForeignComment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Document node with 2 children | |
| 1361 FAIL Range 37 [document, 1, document, 2], point 78 [detachedForeignComment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--×ריה יהודה--> but got Document node with 2 children | |
| 1362 FAIL Range 37 [document, 1, document, 2], point 79 [detachedXmlComment, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--בן ×—×™×™× ×ליעזר--> but got Document node with 2 children | |
| 1363 FAIL Range 37 [document, 1, document, 2], 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 Document node with 2 children | |
| 1364 FAIL Range 37 [document, 1, document, 2], point 81 [foreignDocfrag, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected DocumentFragment
node with 0 children but got Document node with 2 children | |
| 1365 FAIL Range 37 [document, 1, document, 2], point 82 [xmlDocfrag, 0] assert_equals
: focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Document node with 2 children | |
| 1366 PASS Range 37 [document, 1, document, 2], point 83 [doctype, 0] | |
| 1367 FAIL Range 37 [document, 1, document, 2], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTy
pe function "function () { | |
| 1368 selection.collapse(point[0], point[1]); | |
| 1369 }" 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 | |
| 1370 PASS Range 37 [document, 1, document, 2], point 85 [doctype, 1] | |
| 1371 PASS Range 37 [document, 1, document, 2], point 86 [foreignDoctype, 0] | |
| 1372 PASS Range 37 [document, 1, document, 2], point 87 [xmlDoctype, 0] | |
| 1373 PASS Range 38 [testDiv, 0, comment, 5], point 0 [paras[0].firstChild, -1] | |
| 1374 PASS Range 38 [testDiv, 0, comment, 5], point 1 [paras[0].firstChild, 0] | |
| 1375 FAIL Range 38 [testDiv, 0, comment, 5], point 2 [paras[0].firstChild, 1] assert_
equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 | |
| 1376 PASS Range 38 [testDiv, 0, comment, 5], point 3 [paras[0].firstChild, 2] | |
| 1377 PASS Range 38 [testDiv, 0, comment, 5], point 4 [paras[0].firstChild, 8] | |
| 1378 FAIL Range 38 [testDiv, 0, comment, 5], point 5 [paras[0].firstChild, 9] assert_
equals: focusOffset must equal the offset we collapse()d to expected 9 but got 1
0 | |
| 1379 PASS Range 38 [testDiv, 0, comment, 5], point 6 [paras[0].firstChild, 10] | |
| 1380 PASS Range 38 [testDiv, 0, comment, 5], point 7 [paras[0].firstChild, 65535] | |
| 1381 PASS Range 38 [testDiv, 0, comment, 5], point 8 [paras[1].firstChild, -1] | |
| 1382 FAIL Range 38 [testDiv, 0, comment, 5], point 9 [paras[1].firstChild, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Ijkl
mnop | |
| 1383 " but got Text node "Qrstuvwx" | |
| 1384 FAIL Range 38 [testDiv, 0, comment, 5], point 10 [paras[1].firstChild, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 1385 " but got Text node "Qrstuvwx" | |
| 1386 FAIL Range 38 [testDiv, 0, comment, 5], point 11 [paras[1].firstChild, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 1387 " but got Text node "Qrstuvwx" | |
| 1388 FAIL Range 38 [testDiv, 0, comment, 5], point 12 [paras[1].firstChild, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 1389 " but got Text node "Qrstuvwx" | |
| 1390 FAIL Range 38 [testDiv, 0, comment, 5], point 13 [paras[1].firstChild, 9] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 1391 " but got Text node "Qrstuvwx" | |
| 1392 PASS Range 38 [testDiv, 0, comment, 5], point 14 [paras[1].firstChild, 10] | |
| 1393 PASS Range 38 [testDiv, 0, comment, 5], point 15 [paras[1].firstChild, 65535] | |
| 1394 FAIL Range 38 [testDiv, 0, comment, 5], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Comment node <!--Alphabet soup?--> | |
| 1395 FAIL Range 38 [testDiv, 0, comment, 5], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Comment node <!--Alphabet soup?--> | |
| 1396 FAIL Range 38 [testDiv, 0, comment, 5], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Opqrstuv" but got Comment node <!--Alphabet soup?--> | |
| 1397 PASS Range 38 [testDiv, 0, comment, 5], point 19 [detachedPara1.firstChild, 9] | |
| 1398 FAIL Range 38 [testDiv, 0, comment, 5], point 20 [foreignPara1.firstChild, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | |
| 1399 FAIL Range 38 [testDiv, 0, comment, 5], point 21 [foreignPara1.firstChild, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | |
| 1400 FAIL Range 38 [testDiv, 0, comment, 5], point 22 [foreignPara1.firstChild, 8] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | |
| 1401 PASS Range 38 [testDiv, 0, comment, 5], point 23 [foreignPara1.firstChild, 9] | |
| 1402 PASS Range 38 [testDiv, 0, comment, 5], point 24 [document.documentElement, -1] | |
| 1403 FAIL Range 38 [testDiv, 0, comment, 5], point 25 [document.documentElement, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 1404 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1405 " | |
| 1406 FAIL Range 38 [testDiv, 0, comment, 5], point 26 [document.documentElement, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 1407 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1408 " | |
| 1409 FAIL Range 38 [testDiv, 0, comment, 5], point 27 [document.documentElement, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 1410 <me... but got Text node "Qrstuvwx" | |
| 1411 PASS Range 38 [testDiv, 0, comment, 5], point 28 [document.documentElement, 7] | |
| 1412 FAIL Range 38 [testDiv, 0, comment, 5], point 29 [document.head, 1] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <head><
title>Selection.collapse() tests</title> | |
| 1413 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1414 " | |
| 1415 FAIL Range 38 [testDiv, 0, comment, 5], point 30 [document.body, 3] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <body><
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1416 </p><p id... but got Text node "Qrstuvwx" | |
| 1417 FAIL Range 38 [testDiv, 0, comment, 5], 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 Comme
nt node <!--Alphabet soup?--> | |
| 1418 FAIL Range 38 [testDiv, 0, comment, 5], 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 Comme
nt node <!--Alphabet soup?--> | |
| 1419 FAIL Range 38 [testDiv, 0, comment, 5], point 33 [foreignDoc.head, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected Element node <head
><title></title></head> but got Comment node <!--Alphabet soup?--> | |
| 1420 FAIL Range 38 [testDiv, 0, comment, 5], point 34 [foreignDoc.body, 1] assert_equ
als: 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 Comment node <!-
-Alphabet soup?--> | |
| 1421 FAIL Range 38 [testDiv, 0, comment, 5], point 35 [paras[0], 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | |
| 1422 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1423 " | |
| 1424 FAIL Range 38 [testDiv, 0, comment, 5], point 36 [paras[0], 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | |
| 1425 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1426 " | |
| 1427 PASS Range 38 [testDiv, 0, comment, 5], point 37 [paras[0], 2] | |
| 1428 FAIL Range 38 [testDiv, 0, comment, 5], point 38 [paras[1], 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="b" st
yle="display:none">Ijklmnop | |
| 1429 </p> but got Text node "Qrstuvwx" | |
| 1430 FAIL Range 38 [testDiv, 0, comment, 5], point 39 [paras[1], 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="b" st
yle="display:none">Ijklmnop | |
| 1431 </p> but got Text node "Qrstuvwx" | |
| 1432 PASS Range 38 [testDiv, 0, comment, 5], point 40 [paras[1], 2] | |
| 1433 FAIL Range 38 [testDiv, 0, comment, 5], point 41 [detachedPara1, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <p>Opqr
stuv</p> but got Comment node <!--Alphabet soup?--> | |
| 1434 FAIL Range 38 [testDiv, 0, comment, 5], point 42 [detachedPara1, 1] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <p>Opqr
stuv</p> but got Comment node <!--Alphabet soup?--> | |
| 1435 FAIL Range 38 [testDiv, 0, comment, 5], point 43 [testDiv, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Element node <div id="test
"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1436 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1437 " | |
| 1438 FAIL Range 38 [testDiv, 0, comment, 5], point 44 [testDiv, 3] assert_equals: foc
usNode must equal the node we collapse()d to expected Element node <div id="test
"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1439 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1440 PASS Range 38 [testDiv, 0, comment, 5], point 45 [document, -1] | |
| 1441 FAIL Range 38 [testDiv, 0, comment, 5], point 46 [document, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1442 " | |
| 1443 FAIL Range 38 [testDiv, 0, comment, 5], point 47 [document, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1444 " | |
| 1445 FAIL Range 38 [testDiv, 0, comment, 5], point 48 [document, 2] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Qrstuvwx" | |
| 1446 PASS Range 38 [testDiv, 0, comment, 5], point 49 [document, 3] | |
| 1447 PASS Range 38 [testDiv, 0, comment, 5], point 50 [comment, -1] | |
| 1448 FAIL Range 38 [testDiv, 0, comment, 5], point 51 [comment, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | |
| 1449 FAIL Range 38 [testDiv, 0, comment, 5], point 52 [comment, 4] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | |
| 1450 PASS Range 38 [testDiv, 0, comment, 5], point 53 [comment, 96] | |
| 1451 FAIL Range 38 [testDiv, 0, comment, 5], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Comment node <!--Alphabet soup?--> | |
| 1452 FAIL Range 38 [testDiv, 0, comment, 5], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 ch
ildren but got Comment node <!--Alphabet soup?--> | |
| 1453 FAIL Range 38 [testDiv, 0, comment, 5], point 56 [foreignComment, 2] assert_equa
ls: focusNode must equal the node we collapse()d to expected Comment node <!--"C
ommenter" and "commentator" mean different things. I'v...--> but got Comment no
de <!--Alphabet soup?--> | |
| 1454 FAIL Range 38 [testDiv, 0, comment, 5], point 57 [foreignTextNode, 0] assert_equ
als: 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 Comment node <!--
Alphabet soup?--> | |
| 1455 FAIL Range 38 [testDiv, 0, comment, 5], point 58 [foreignTextNode, 36] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Comment node <!-
-Alphabet soup?--> | |
| 1456 PASS Range 38 [testDiv, 0, comment, 5], point 59 [xmlDoc, -1] | |
| 1457 FAIL Range 38 [testDiv, 0, comment, 5], point 60 [xmlDoc, 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Comment node <!--Alphabet soup?--> | |
| 1458 FAIL Range 38 [testDiv, 0, comment, 5], point 61 [xmlDoc, 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 4 childr
en but got Comment node <!--Alphabet soup?--> | |
| 1459 PASS Range 38 [testDiv, 0, comment, 5], point 62 [xmlDoc, 5] | |
| 1460 FAIL Range 38 [testDiv, 0, comment, 5], point 63 [xmlComment, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mali
ciously created a comment that will break incautiou...--> but got Comment node <
!--Alphabet soup?--> | |
| 1461 FAIL Range 38 [testDiv, 0, comment, 5], point 64 [xmlComment, 4] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mali
ciously created a comment that will break incautiou...--> but got Comment node <
!--Alphabet soup?--> | |
| 1462 FAIL Range 38 [testDiv, 0, comment, 5], point 65 [processingInstruction, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected ProcessingIn
struction node with target "somePI" and data "Did you know that \":syn sync from
start\" is very useful wh..." but got Comment node <!--Alphabet soup?--> | |
| 1463 FAIL Range 38 [testDiv, 0, comment, 5], point 66 [processingInstruction, 5] asse
rt_equals: focusNode must equal the node we collapse()d to expected ProcessingIn
struction node with target "somePI" and data "Did you know that \":syn sync from
start\" is very useful wh..." but got Comment node <!--Alphabet soup?--> | |
| 1464 FAIL Range 38 [testDiv, 0, comment, 5], point 67 [processingInstruction, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected ProcessingIn
struction node with target "somePI" and data "Did you know that \":syn sync from
start\" is very useful wh..." but got Comment node <!--Alphabet soup?--> | |
| 1465 FAIL Range 38 [testDiv, 0, comment, 5], point 68 [detachedTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyz
ab" but got Comment node <!--Alphabet soup?--> | |
| 1466 FAIL Range 38 [testDiv, 0, comment, 5], point 69 [detachedTextNode, 8] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Uvwxyz
ab" but got Comment node <!--Alphabet soup?--> | |
| 1467 FAIL Range 38 [testDiv, 0, comment, 5], point 70 [detachedForeignTextNode, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Comment node <!--Alphabet soup?--> | |
| 1468 FAIL Range 38 [testDiv, 0, comment, 5], point 71 [detachedForeignTextNode, 8] as
sert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Comment node <!--Alphabet soup?--> | |
| 1469 FAIL Range 38 [testDiv, 0, comment, 5], point 72 [detachedXmlTextNode, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Klm
nopqr" but got Comment node <!--Alphabet soup?--> | |
| 1470 FAIL Range 38 [testDiv, 0, comment, 5], point 73 [detachedXmlTextNode, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Klm
nopqr" but got Comment node <!--Alphabet soup?--> | |
| 1471 FAIL Range 38 [testDiv, 0, comment, 5], point 74 [detachedProcessingInstruction,
12] assert_equals: focusNode must equal the node we collapse()d to expected Pro
cessingInstruction node with target "whippoorwill" and data "chirp chirp chirp"
but got Comment node <!--Alphabet soup?--> | |
| 1472 FAIL Range 38 [testDiv, 0, comment, 5], point 75 [detachedComment, 3] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--S
tuvwxyz--> but got Comment node <!--Alphabet soup?--> | |
| 1473 FAIL Range 38 [testDiv, 0, comment, 5], point 76 [detachedComment, 5] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--S
tuvwxyz--> but got Comment node <!--Alphabet soup?--> | |
| 1474 FAIL Range 38 [testDiv, 0, comment, 5], point 77 [detachedForeignComment, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--×ריה יהודה--> but got Comment node <!--Alphabet soup?--> | |
| 1475 FAIL Range 38 [testDiv, 0, comment, 5], point 78 [detachedForeignComment, 4] ass
ert_equals: focusNode must equal the node we collapse()d to expected Comment nod
e <!--×ריה יהודה--> but got Comment node <!--Alphabet soup?--> | |
| 1476 FAIL Range 38 [testDiv, 0, comment, 5], point 79 [detachedXmlComment, 2] assert_
equals: focusNode must equal the node we collapse()d to expected Comment node <!
--בן ×—×™×™× ×ליעזר--> but got Comment node <!--Alphabet soup?--> | |
| 1477 FAIL Range 38 [testDiv, 0, comment, 5], point 80 [docfrag, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected DocumentFragment node with
0 children but got Comment node <!--Alphabet soup?--> | |
| 1478 FAIL Range 38 [testDiv, 0, comment, 5], point 81 [foreignDocfrag, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected DocumentFragment no
de with 0 children but got Comment node <!--Alphabet soup?--> | |
| 1479 FAIL Range 38 [testDiv, 0, comment, 5], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node w
ith 0 children but got Comment node <!--Alphabet soup?--> | |
| 1480 PASS Range 38 [testDiv, 0, comment, 5], point 83 [doctype, 0] | |
| 1481 FAIL Range 38 [testDiv, 0, comment, 5], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { | |
| 1482 selection.collapse(point[0], point[1]); | |
| 1483 }" 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 | |
| 1484 PASS Range 38 [testDiv, 0, comment, 5], point 85 [doctype, 1] | |
| 1485 PASS Range 38 [testDiv, 0, comment, 5], point 86 [foreignDoctype, 0] | |
| 1486 PASS Range 38 [testDiv, 0, comment, 5], point 87 [xmlDoctype, 0] | |
| 1487 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 0 [paras[0].firstChild
, -1] | |
| 1488 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 1 [paras[0].firstChild
, 0] | |
| 1489 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 2 [paras[0].firstChild
, 1] assert_equals: focusOffset must equal the offset we collapse()d to expected
1 but got 2 | |
| 1490 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 3 [paras[0].firstChild
, 2] | |
| 1491 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 4 [paras[0].firstChild
, 8] | |
| 1492 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 5 [paras[0].firstChild
, 9] assert_equals: focusOffset must equal the offset we collapse()d to expected
9 but got 10 | |
| 1493 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 6 [paras[0].firstChild
, 10] | |
| 1494 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 7 [paras[0].firstChild
, 65535] | |
| 1495 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 8 [paras[1].firstChild
, -1] | |
| 1496 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 9 [paras[1].firstChild
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Tex
t node "Ijklmnop | |
| 1497 " but got Text node "Qrstuvwx" | |
| 1498 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 10 [paras[1].firstChil
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 1499 " but got Text node "Qrstuvwx" | |
| 1500 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 11 [paras[1].firstChil
d, 2] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 1501 " but got Text node "Qrstuvwx" | |
| 1502 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 12 [paras[1].firstChil
d, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 1503 " but got Text node "Qrstuvwx" | |
| 1504 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 13 [paras[1].firstChil
d, 9] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Ijklmnop | |
| 1505 " but got Text node "Qrstuvwx" | |
| 1506 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 14 [paras[1].firstChil
d, 10] | |
| 1507 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 15 [paras[1].firstChil
d, 65535] | |
| 1508 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 16 [detachedPara1.firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Comment node <!--Alphabet soup?--> | |
| 1509 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 17 [detachedPara1.firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Comment node <!--Alphabet soup?--> | |
| 1510 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 18 [detachedPara1.firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Opqrstuv" but got Comment node <!--Alphabet soup?--> | |
| 1511 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 19 [detachedPara1.firs
tChild, 9] | |
| 1512 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 20 [foreignPara1.first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Comment node <!--Alphabet soup?--> | |
| 1513 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 21 [foreignPara1.first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Comment node <!--Alphabet soup?--> | |
| 1514 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 22 [foreignPara1.first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Efghijkl" but got Comment node <!--Alphabet soup?--> | |
| 1515 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 23 [foreignPara1.first
Child, 9] | |
| 1516 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 24 [document.documentE
lement, -1] | |
| 1517 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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> | |
| 1518 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1519 " | |
| 1520 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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> | |
| 1521 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1522 " | |
| 1523 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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> | |
| 1524 <me... but got Text node "Qrstuvwx" | |
| 1525 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 28 [document.documentE
lement, 7] | |
| 1526 FAIL Range 39 [paras[2].firstChild, 4, comment, 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> | |
| 1527 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1528 " | |
| 1529 FAIL Range 39 [paras[2].firstChild, 4, comment, 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̈ḧ | |
| 1530 </p><p id... but got Text node "Qrstuvwx" | |
| 1531 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | |
| 1532 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | |
| 1533 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | |
| 1534 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comm
ent node <!--Alphabet soup?--> | |
| 1535 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | |
| 1536 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1537 " | |
| 1538 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | |
| 1539 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1540 " | |
| 1541 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 37 [paras[0], 2] | |
| 1542 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 | |
| 1543 </p> but got Text node "Qrstuvwx" | |
| 1544 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 | |
| 1545 </p> but got Text node "Qrstuvwx" | |
| 1546 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 40 [paras[1], 2] | |
| 1547 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 41 [detachedPara1, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?--> | |
| 1548 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 42 [detachedPara1, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Element
node <p>Opqrstuv</p> but got Comment node <!--Alphabet soup?--> | |
| 1549 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | |
| 1550 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1551 " | |
| 1552 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | |
| 1553 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1554 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 45 [document, -1] | |
| 1555 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | |
| 1556 " | |
| 1557 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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̈ḧ | |
| 1558 " | |
| 1559 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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" | |
| 1560 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 49 [document, 3] | |
| 1561 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 50 [comment, -1] | |
| 1562 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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" | |
| 1563 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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" | |
| 1564 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 53 [comment, 96] | |
| 1565 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | |
| 1566 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | |
| 1567 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | |
| 1568 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comme
nt node <!--Alphabet soup?--> | |
| 1569 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comm
ent node <!--Alphabet soup?--> | |
| 1570 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 59 [xmlDoc, -1] | |
| 1571 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 60 [xmlDoc, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Comment node <!--Alphabet soup?--> | |
| 1572 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 61 [xmlDoc, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 4 children but got Comment node <!--Alphabet soup?--> | |
| 1573 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 62 [xmlDoc, 5] | |
| 1574 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Co
mment node <!--Alphabet soup?--> | |
| 1575 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Co
mment node <!--Alphabet soup?--> | |
| 1576 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup
?--> | |
| 1577 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup
?--> | |
| 1578 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup
?--> | |
| 1579 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 68 [detachedTextNode,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Comment node <!--Alphabet soup?--> | |
| 1580 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 69 [detachedTextNode,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Uvwxyzab" but got Comment node <!--Alphabet soup?--> | |
| 1581 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 70 [detachedForeignTex
tNode, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Comment node <!--Alphabet soup?--> | |
| 1582 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 71 [detachedForeignTex
tNode, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Cdefghij" but got Comment node <!--Alphabet soup?--> | |
| 1583 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 72 [detachedXmlTextNod
e, 0] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Comment node <!--Alphabet soup?--> | |
| 1584 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 73 [detachedXmlTextNod
e, 8] assert_equals: focusNode must equal the node we collapse()d to expected Te
xt node "Klmnopqr" but got Comment node <!--Alphabet soup?--> | |
| 1585 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | |
| 1586 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 75 [detachedComment, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Comment node <!--Alphabet soup?--> | |
| 1587 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 76 [detachedComment, 5
] assert_equals: focusNode must equal the node we collapse()d to expected Commen
t node <!--Stuvwxyz--> but got Comment node <!--Alphabet soup?--> | |
| 1588 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 77 [detachedForeignCom
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Comment node <!--Alphabet soup?
--> | |
| 1589 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 78 [detachedForeignCom
ment, 4] assert_equals: focusNode must equal the node we collapse()d to expected
Comment node <!--×ריה יהודה--> but got Comment node <!--Alphabet soup?
--> | |
| 1590 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 79 [detachedXmlComment
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Com
ment node <!--בן ×—×™×™× ×ליעזר--> but got Comment node <!--Alphabet so
up?--> | |
| 1591 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 80 [docfrag, 0] assert
_equals: focusNode must equal the node we collapse()d to expected DocumentFragme
nt node with 0 children but got Comment node <!--Alphabet soup?--> | |
| 1592 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 81 [foreignDocfrag, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
tFragment node with 0 children but got Comment node <!--Alphabet soup?--> | |
| 1593 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], 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 Comment node <!--Alphabet soup?--> | |
| 1594 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 83 [doctype, 0] | |
| 1595 FAIL Range 39 [paras[2].firstChild, 4, comment, 2], point 84 [doctype, -17] asse
rt_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a
DocumentType function "function () { | |
| 1596 selection.collapse(point[0], point[1]); | |
| 1597 }" 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 | |
| 1598 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 85 [doctype, 1] | |
| 1599 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 86 [foreignDoctype, 0]
| |
| 1600 PASS Range 39 [paras[2].firstChild, 4, comment, 2], point 87 [xmlDoctype, 0] | |
| 1601 PASS Range 40 [paras[3], 1, comment, 8], point 0 [paras[0].firstChild, -1] | |
| 1602 PASS Range 40 [paras[3], 1, comment, 8], point 1 [paras[0].firstChild, 0] | |
| 1603 FAIL Range 40 [paras[3], 1, comment, 8], point 2 [paras[0].firstChild, 1] assert
_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | |
| 1604 PASS Range 40 [paras[3], 1, comment, 8], point 3 [paras[0].firstChild, 2] | |
| 1605 PASS Range 40 [paras[3], 1, comment, 8], point 4 [paras[0].firstChild, 8] | |
| 1606 FAIL Range 40 [paras[3], 1, comment, 8], point 5 [paras[0].firstChild, 9] assert
_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | |
| 1607 PASS Range 40 [paras[3], 1, comment, 8], point 6 [paras[0].firstChild, 10] | |
| 1608 PASS Range 40 [paras[3], 1, comment, 8], point 7 [paras[0].firstChild, 65535] | |
| 1609 PASS Range 40 [paras[3], 1, comment, 8], point 8 [paras[1].firstChild, -1] | |
| 1610 FAIL Range 40 [paras[3], 1, comment, 8], point 9 [paras[1].firstChild, 0] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 1611 " but got Text node "Qrstuvwx" | |
| 1612 FAIL Range 40 [paras[3], 1, comment, 8], point 10 [paras[1].firstChild, 1] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 1613 " but got Text node "Qrstuvwx" | |
| 1614 FAIL Range 40 [paras[3], 1, comment, 8], point 11 [paras[1].firstChild, 2] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 1615 " but got Text node "Qrstuvwx" | |
| 1616 FAIL Range 40 [paras[3], 1, comment, 8], point 12 [paras[1].firstChild, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 1617 " but got Text node "Qrstuvwx" | |
| 1618 FAIL Range 40 [paras[3], 1, comment, 8], point 13 [paras[1].firstChild, 9] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 1619 " but got Text node "Qrstuvwx" | |
| 1620 PASS Range 40 [paras[3], 1, comment, 8], point 14 [paras[1].firstChild, 10] | |
| 1621 PASS Range 40 [paras[3], 1, comment, 8], point 15 [paras[1].firstChild, 65535] | |
| 1622 FAIL Range 40 [paras[3], 1, comment, 8], point 16 [detachedPara1.firstChild, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Comment node <!--Alphabet soup?--> | |
| 1623 FAIL Range 40 [paras[3], 1, comment, 8], point 17 [detachedPara1.firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Comment node <!--Alphabet soup?--> | |
| 1624 FAIL Range 40 [paras[3], 1, comment, 8], point 18 [detachedPara1.firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Opqrstuv" but got Comment node <!--Alphabet soup?--> | |
| 1625 PASS Range 40 [paras[3], 1, comment, 8], point 19 [detachedPara1.firstChild, 9] | |
| 1626 FAIL Range 40 [paras[3], 1, comment, 8], point 20 [foreignPara1.firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | |
| 1627 FAIL Range 40 [paras[3], 1, comment, 8], point 21 [foreignPara1.firstChild, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | |
| 1628 FAIL Range 40 [paras[3], 1, comment, 8], point 22 [foreignPara1.firstChild, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Efghijkl" but got Comment node <!--Alphabet soup?--> | |
| 1629 PASS Range 40 [paras[3], 1, comment, 8], point 23 [foreignPara1.firstChild, 9] | |
| 1630 PASS Range 40 [paras[3], 1, comment, 8], point 24 [document.documentElement, -1]
| |
| 1631 FAIL Range 40 [paras[3], 1, comment, 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() tests</title> | |
| 1632 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1633 " | |
| 1634 FAIL Range 40 [paras[3], 1, comment, 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() tests</title> | |
| 1635 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1636 " | |
| 1637 FAIL Range 40 [paras[3], 1, comment, 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() tests</title> | |
| 1638 <me... but got Text node "Qrstuvwx" | |
| 1639 PASS Range 40 [paras[3], 1, comment, 8], point 28 [document.documentElement, 7] | |
| 1640 FAIL Range 40 [paras[3], 1, comment, 8], point 29 [document.head, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <head>
<title>Selection.collapse() tests</title> | |
| 1641 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1642 " | |
| 1643 FAIL Range 40 [paras[3], 1, comment, 8], point 30 [document.body, 3] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <body>
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1644 </p><p id... but got Text node "Qrstuvwx" | |
| 1645 FAIL Range 40 [paras[3], 1, comment, 8], point 31 [foreignDoc.documentElement, 0
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comm
ent node <!--Alphabet soup?--> | |
| 1646 FAIL Range 40 [paras[3], 1, comment, 8], point 32 [foreignDoc.documentElement, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <html><head><title></title></head><body><p>Efghijkl</p><p... but got Comm
ent node <!--Alphabet soup?--> | |
| 1647 FAIL Range 40 [paras[3], 1, comment, 8], point 33 [foreignDoc.head, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <hea
d><title></title></head> but got Comment node <!--Alphabet soup?--> | |
| 1648 FAIL Range 40 [paras[3], 1, comment, 8], point 34 [foreignDoc.body, 1] assert_eq
uals: focusNode must equal the node we collapse()d to expected Element node <bod
y><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor... but got Comment node <!
--Alphabet soup?--> | |
| 1649 FAIL Range 40 [paras[3], 1, comment, 8], point 35 [paras[0], 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | |
| 1650 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1651 " | |
| 1652 FAIL Range 40 [paras[3], 1, comment, 8], point 36 [paras[0], 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="a">A
̈b̈c̈d̈ëf̈g̈ḧ | |
| 1653 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1654 " | |
| 1655 PASS Range 40 [paras[3], 1, comment, 8], point 37 [paras[0], 2] | |
| 1656 FAIL Range 40 [paras[3], 1, comment, 8], point 38 [paras[1], 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="b" s
tyle="display:none">Ijklmnop | |
| 1657 </p> but got Text node "Qrstuvwx" | |
| 1658 FAIL Range 40 [paras[3], 1, comment, 8], point 39 [paras[1], 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Element node <p id="b" s
tyle="display:none">Ijklmnop | |
| 1659 </p> but got Text node "Qrstuvwx" | |
| 1660 PASS Range 40 [paras[3], 1, comment, 8], point 40 [paras[1], 2] | |
| 1661 FAIL Range 40 [paras[3], 1, comment, 8], point 41 [detachedPara1, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Comment node <!--Alphabet soup?--> | |
| 1662 FAIL Range 40 [paras[3], 1, comment, 8], point 42 [detachedPara1, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p>Opq
rstuv</p> but got Comment node <!--Alphabet soup?--> | |
| 1663 FAIL Range 40 [paras[3], 1, comment, 8], point 43 [testDiv, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1664 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1665 " | |
| 1666 FAIL Range 40 [paras[3], 1, comment, 8], point 44 [testDiv, 3] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <div id="tes
t"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1667 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1668 PASS Range 40 [paras[3], 1, comment, 8], point 45 [document, -1] | |
| 1669 FAIL Range 40 [paras[3], 1, comment, 8], point 46 [document, 0] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1670 " | |
| 1671 FAIL Range 40 [paras[3], 1, comment, 8], point 47 [document, 1] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1672 " | |
| 1673 FAIL Range 40 [paras[3], 1, comment, 8], point 48 [document, 2] assert_equals: f
ocusNode must equal the node we collapse()d to expected Document node with 2 chi
ldren but got Text node "Qrstuvwx" | |
| 1674 PASS Range 40 [paras[3], 1, comment, 8], point 49 [document, 3] | |
| 1675 PASS Range 40 [paras[3], 1, comment, 8], point 50 [comment, -1] | |
| 1676 FAIL Range 40 [paras[3], 1, comment, 8], point 51 [comment, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | |
| 1677 FAIL Range 40 [paras[3], 1, comment, 8], point 52 [comment, 4] assert_equals: fo
cusNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | |
| 1678 PASS Range 40 [paras[3], 1, comment, 8], point 53 [comment, 96] | |
| 1679 FAIL Range 40 [paras[3], 1, comment, 8], point 54 [foreignDoc, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Comment node <!--Alphabet soup?--> | |
| 1680 FAIL Range 40 [paras[3], 1, comment, 8], point 55 [foreignDoc, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Document node with 3 c
hildren but got Comment node <!--Alphabet soup?--> | |
| 1681 FAIL Range 40 [paras[3], 1, comment, 8], point 56 [foreignComment, 2] assert_equ
als: focusNode must equal the node we collapse()d to expected Comment node <!--"
Commenter" and "commentator" mean different things. I'v...--> but got Comment n
ode <!--Alphabet soup?--> | |
| 1682 FAIL Range 40 [paras[3], 1, comment, 8], point 57 [foreignTextNode, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "I admi
t that I harbor doubts about whether we really need..." but got Comment node <!-
-Alphabet soup?--> | |
| 1683 FAIL Range 40 [paras[3], 1, comment, 8], point 58 [foreignTextNode, 36] 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 Comment node <!
--Alphabet soup?--> | |
| 1684 PASS Range 40 [paras[3], 1, comment, 8], point 59 [xmlDoc, -1] | |
| 1685 FAIL Range 40 [paras[3], 1, comment, 8], point 60 [xmlDoc, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Comment node <!--Alphabet soup?--> | |
| 1686 FAIL Range 40 [paras[3], 1, comment, 8], point 61 [xmlDoc, 1] assert_equals: foc
usNode must equal the node we collapse()d to expected Document node with 4 child
ren but got Comment node <!--Alphabet soup?--> | |
| 1687 PASS Range 40 [paras[3], 1, comment, 8], point 62 [xmlDoc, 5] | |
| 1688 FAIL Range 40 [paras[3], 1, comment, 8], point 63 [xmlComment, 0] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Comment node
<!--Alphabet soup?--> | |
| 1689 FAIL Range 40 [paras[3], 1, comment, 8], point 64 [xmlComment, 4] assert_equals:
focusNode must equal the node we collapse()d to expected Comment node <!--I mal
iciously created a comment that will break incautiou...--> but got Comment node
<!--Alphabet soup?--> | |
| 1690 FAIL Range 40 [paras[3], 1, comment, 8], point 65 [processingInstruction, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Comment node <!--Alphabet soup?--> | |
| 1691 FAIL Range 40 [paras[3], 1, comment, 8], point 66 [processingInstruction, 5] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Comment node <!--Alphabet soup?--> | |
| 1692 FAIL Range 40 [paras[3], 1, comment, 8], point 67 [processingInstruction, 9] ass
ert_equals: focusNode must equal the node we collapse()d to expected ProcessingI
nstruction node with target "somePI" and data "Did you know that \":syn sync fro
mstart\" is very useful wh..." but got Comment node <!--Alphabet soup?--> | |
| 1693 FAIL Range 40 [paras[3], 1, comment, 8], point 68 [detachedTextNode, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Comment node <!--Alphabet soup?--> | |
| 1694 FAIL Range 40 [paras[3], 1, comment, 8], point 69 [detachedTextNode, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Uvwxy
zab" but got Comment node <!--Alphabet soup?--> | |
| 1695 FAIL Range 40 [paras[3], 1, comment, 8], point 70 [detachedForeignTextNode, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Comment node <!--Alphabet soup?--> | |
| 1696 FAIL Range 40 [paras[3], 1, comment, 8], point 71 [detachedForeignTextNode, 8] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Cdefghij" but got Comment node <!--Alphabet soup?--> | |
| 1697 FAIL Range 40 [paras[3], 1, comment, 8], point 72 [detachedXmlTextNode, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Comment node <!--Alphabet soup?--> | |
| 1698 FAIL Range 40 [paras[3], 1, comment, 8], point 73 [detachedXmlTextNode, 8] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Kl
mnopqr" but got Comment node <!--Alphabet soup?--> | |
| 1699 FAIL Range 40 [paras[3], 1, comment, 8], point 74 [detachedProcessingInstruction
, 12] assert_equals: focusNode must equal the node we collapse()d to expected Pr
ocessingInstruction node with target "whippoorwill" and data "chirp chirp chirp"
but got Comment node <!--Alphabet soup?--> | |
| 1700 FAIL Range 40 [paras[3], 1, comment, 8], point 75 [detachedComment, 3] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Comment node <!--Alphabet soup?--> | |
| 1701 FAIL Range 40 [paras[3], 1, comment, 8], point 76 [detachedComment, 5] assert_eq
uals: focusNode must equal the node we collapse()d to expected Comment node <!--
Stuvwxyz--> but got Comment node <!--Alphabet soup?--> | |
| 1702 FAIL Range 40 [paras[3], 1, comment, 8], point 77 [detachedForeignComment, 0] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Comment node <!--Alphabet soup?--> | |
| 1703 FAIL Range 40 [paras[3], 1, comment, 8], point 78 [detachedForeignComment, 4] as
sert_equals: focusNode must equal the node we collapse()d to expected Comment no
de <!--×ריה יהודה--> but got Comment node <!--Alphabet soup?--> | |
| 1704 FAIL Range 40 [paras[3], 1, comment, 8], point 79 [detachedXmlComment, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Comment node <
!--בן ×—×™×™× ×ליעזר--> but got Comment node <!--Alphabet soup?--> | |
| 1705 FAIL Range 40 [paras[3], 1, comment, 8], point 80 [docfrag, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected DocumentFragment node wit
h 0 children but got Comment node <!--Alphabet soup?--> | |
| 1706 FAIL Range 40 [paras[3], 1, comment, 8], point 81 [foreignDocfrag, 0] assert_equ
als: focusNode must equal the node we collapse()d to expected DocumentFragment n
ode with 0 children but got Comment node <!--Alphabet soup?--> | |
| 1707 FAIL Range 40 [paras[3], 1, comment, 8], point 82 [xmlDocfrag, 0] assert_equals:
focusNode must equal the node we collapse()d to expected DocumentFragment node
with 0 children but got Comment node <!--Alphabet soup?--> | |
| 1708 PASS Range 40 [paras[3], 1, comment, 8], point 83 [doctype, 0] | |
| 1709 FAIL Range 40 [paras[3], 1, comment, 8], point 84 [doctype, -17] assert_throws:
Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentTyp
e function "function () { | |
| 1710 selection.collapse(point[0], point[1]); | |
| 1711 }" 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 | |
| 1712 PASS Range 40 [paras[3], 1, comment, 8], point 85 [doctype, 1] | |
| 1713 PASS Range 40 [paras[3], 1, comment, 8], point 86 [foreignDoctype, 0] | |
| 1714 PASS Range 40 [paras[3], 1, comment, 8], point 87 [xmlDoctype, 0] | |
| 1715 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 0 [paras[0].firstChild, -1] | |
| 1716 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 1 [paras[0].firstChild, 0] | |
| 1717 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 2 [paras[0].firstChild, 1] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 1 but
got 2 | |
| 1718 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 3 [paras[0].firstChild, 2] | |
| 1719 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 4 [paras[0].firstChild, 8] | |
| 1720 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 5 [paras[0].firstChild, 9] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 9 but
got 10 | |
| 1721 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 6 [paras[0].firstChild, 10] | |
| 1722 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 7 [paras[0].firstChild, 6553
5] | |
| 1723 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 8 [paras[1].firstChild, -1] | |
| 1724 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 9 [paras[1].firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Ijklmnop | |
| 1725 " but got Text node "Qrstuvwx" | |
| 1726 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 10 [paras[1].firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 1727 " but got Text node "Qrstuvwx" | |
| 1728 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 11 [paras[1].firstChild, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 1729 " but got Text node "Qrstuvwx" | |
| 1730 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 12 [paras[1].firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 1731 " but got Text node "Qrstuvwx" | |
| 1732 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 13 [paras[1].firstChild, 9]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 1733 " but got Text node "Qrstuvwx" | |
| 1734 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 14 [paras[1].firstChild, 10]
| |
| 1735 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 15 [paras[1].firstChild, 655
35] | |
| 1736 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 1737 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 1738 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 1739 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 19 [detachedPara1.firstChild
, 9] | |
| 1740 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1741 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1742 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1743 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 23 [foreignPara1.firstChild,
9] | |
| 1744 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 24 [document.documentElement
, -1] | |
| 1745 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 25 [document.documentElement
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 1746 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1747 " | |
| 1748 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 26 [document.documentElement
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 1749 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1750 " | |
| 1751 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 27 [document.documentElement
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 1752 <me... but got Text node "Qrstuvwx" | |
| 1753 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 28 [document.documentElement
, 7] | |
| 1754 FAIL Range 41 [foreignDoc, 0, foreignDoc, 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> | |
| 1755 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1756 " | |
| 1757 FAIL Range 41 [foreignDoc, 0, foreignDoc, 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̈ḧ | |
| 1758 </p><p id... but got Text node "Qrstuvwx" | |
| 1759 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 31 [foreignDoc.documentEleme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 1760 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 32 [foreignDoc.documentEleme
nt, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 1761 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 33 [foreignDoc.head, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1762 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 34 [foreignDoc.body, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1763 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 35 [paras[0], 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1764 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1765 " | |
| 1766 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 36 [paras[0], 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1767 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1768 " | |
| 1769 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 37 [paras[0], 2] | |
| 1770 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 38 [paras[1], 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"b" style="display:none">Ijklmnop | |
| 1771 </p> but got Text node "Qrstuvwx" | |
| 1772 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 39 [paras[1], 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"b" style="display:none">Ijklmnop | |
| 1773 </p> but got Text node "Qrstuvwx" | |
| 1774 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 40 [paras[1], 2] | |
| 1775 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 41 [detachedPara1, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1776 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 42 [detachedPara1, 1] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1777 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 43 [testDiv, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <div id
="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1778 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1779 " | |
| 1780 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 44 [testDiv, 3] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <div id
="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1781 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1782 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 45 [document, -1] | |
| 1783 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 46 [document, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1784 " | |
| 1785 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 47 [document, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1786 " | |
| 1787 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 48 [document, 2] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Qrstuvwx" | |
| 1788 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 49 [document, 3] | |
| 1789 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 50 [comment, -1] | |
| 1790 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 51 [comment, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | |
| 1791 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 52 [comment, 4] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | |
| 1792 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 53 [comment, 96] | |
| 1793 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1794 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1795 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1796 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1797 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 1798 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 59 [xmlDoc, -1] | |
| 1799 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1800 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1801 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 62 [xmlDoc, 5] | |
| 1802 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 63 [xmlComment, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1803 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 64 [xmlComment, 4] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1804 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 65 [processingInstruction, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 1805 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 66 [processingInstruction, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 1806 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 67 [processingInstruction, 9
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 1807 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 68 [detachedTextNode, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 1808 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 69 [detachedTextNode, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 1809 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 70 [detachedForeignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1810 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 71 [detachedForeignTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1811 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 72 [detachedXmlTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1812 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 73 [detachedXmlTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1813 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 74 [detachedProcessingInstru
ction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 1814 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 75 [detachedComment, 3] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1815 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 76 [detachedComment, 5] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1816 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 77 [detachedForeignComment,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1817 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 78 [detachedForeignComment,
4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1818 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 79 [detachedXmlComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1819 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 80 [docfrag, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1820 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 81 [foreignDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1821 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1822 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 83 [doctype, 0] | |
| 1823 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { | |
| 1824 selection.collapse(point[0], point[1]); | |
| 1825 }" 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 | |
| 1826 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 85 [doctype, 1] | |
| 1827 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 86 [foreignDoctype, 0] | |
| 1828 PASS Range 41 [foreignDoc, 0, foreignDoc, 0], point 87 [xmlDoctype, 0] | |
| 1829 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 0 [paras[0].firstChild,
-1] | |
| 1830 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 1 [paras[0].firstChild,
0] | |
| 1831 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 2 [paras[0].firstChild,
1] assert_equals: focusOffset must equal the offset we collapse()d to expected 1
but got 2 | |
| 1832 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 3 [paras[0].firstChild,
2] | |
| 1833 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 4 [paras[0].firstChild,
8] | |
| 1834 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 5 [paras[0].firstChild,
9] assert_equals: focusOffset must equal the offset we collapse()d to expected 9
but got 10 | |
| 1835 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 6 [paras[0].firstChild,
10] | |
| 1836 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 7 [paras[0].firstChild,
65535] | |
| 1837 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 8 [paras[1].firstChild,
-1] | |
| 1838 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 9 [paras[1].firstChild,
0] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | |
| 1839 " but got Text node "Qrstuvwx" | |
| 1840 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 10 [paras[1].firstChild,
1] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | |
| 1841 " but got Text node "Qrstuvwx" | |
| 1842 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 11 [paras[1].firstChild,
2] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | |
| 1843 " but got Text node "Qrstuvwx" | |
| 1844 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 12 [paras[1].firstChild,
8] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | |
| 1845 " but got Text node "Qrstuvwx" | |
| 1846 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 13 [paras[1].firstChild,
9] assert_equals: focusNode must equal the node we collapse()d to expected Text
node "Ijklmnop | |
| 1847 " but got Text node "Qrstuvwx" | |
| 1848 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 14 [paras[1].firstChild,
10] | |
| 1849 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 15 [paras[1].firstChild,
65535] | |
| 1850 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 16 [detachedPara1.firstC
hild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 1851 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 17 [detachedPara1.firstC
hild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 1852 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 18 [detachedPara1.firstC
hild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 1853 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 19 [detachedPara1.firstC
hild, 9] | |
| 1854 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 20 [foreignPara1.firstCh
ild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 1855 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 21 [foreignPara1.firstCh
ild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 1856 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 22 [foreignPara1.firstCh
ild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 1857 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 23 [foreignPara1.firstCh
ild, 9] | |
| 1858 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 24 [document.documentEle
ment, -1] | |
| 1859 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 25 [document.documentEle
ment, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> | |
| 1860 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1861 " | |
| 1862 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 26 [document.documentEle
ment, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> | |
| 1863 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1864 " | |
| 1865 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 27 [document.documentEle
ment, 2] assert_equals: focusNode must equal the node we collapse()d to expected
Element node <html><head><title>Selection.collapse() tests</title> | |
| 1866 <me... but got Text node "Qrstuvwx" | |
| 1867 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 28 [document.documentEle
ment, 7] | |
| 1868 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 29 [document.head, 1] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <head><title>Selection.collapse() tests</title> | |
| 1869 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1870 " | |
| 1871 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 30 [document.body, 3] as
sert_equals: focusNode must equal the node we collapse()d to expected Element no
de <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1872 </p><p id... but got Text node "Qrstuvwx" | |
| 1873 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 31 [foreignDoc.documentE
lement, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 1874 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 32 [foreignDoc.documentE
lement, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 1875 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 33 [foreignDoc.head, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1876 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 34 [foreignDoc.body, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1877 FAIL Range 42 [foreignDoc, 1, foreignComment, 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̈ḧ | |
| 1878 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1879 " | |
| 1880 FAIL Range 42 [foreignDoc, 1, foreignComment, 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̈ḧ | |
| 1881 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1882 " | |
| 1883 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 37 [paras[0], 2] | |
| 1884 FAIL Range 42 [foreignDoc, 1, foreignComment, 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 | |
| 1885 </p> but got Text node "Qrstuvwx" | |
| 1886 FAIL Range 42 [foreignDoc, 1, foreignComment, 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 | |
| 1887 </p> but got Text node "Qrstuvwx" | |
| 1888 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 40 [paras[1], 2] | |
| 1889 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 41 [detachedPara1, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 1890 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 42 [detachedPara1, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 1891 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 43 [testDiv, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <di
v id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1892 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1893 " | |
| 1894 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 44 [testDiv, 3] assert_e
quals: focusNode must equal the node we collapse()d to expected Element node <di
v id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1895 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 1896 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 45 [document, -1] | |
| 1897 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 46 [document, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1898 " | |
| 1899 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 47 [document, 1] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1900 " | |
| 1901 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 48 [document, 2] assert_
equals: focusNode must equal the node we collapse()d to expected Document node w
ith 2 children but got Text node "Qrstuvwx" | |
| 1902 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 49 [document, 3] | |
| 1903 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 50 [comment, -1] | |
| 1904 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 51 [comment, 0] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1905 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 52 [comment, 4] assert_e
quals: focusNode must equal the node we collapse()d to expected Comment node <!-
-Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 1906 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 53 [comment, 96] | |
| 1907 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 54 [foreignDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1908 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 55 [foreignDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1909 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 56 [foreignComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1910 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 57 [foreignTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1911 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 58 [foreignTextNode, 36]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 1912 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 59 [xmlDoc, -1] | |
| 1913 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 60 [xmlDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1914 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 61 [xmlDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1915 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 62 [xmlDoc, 5] | |
| 1916 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 63 [xmlComment, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1917 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 64 [xmlComment, 4] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1918 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 65 [processingInstructio
n, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 1919 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 66 [processingInstructio
n, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 1920 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 67 [processingInstructio
n, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 1921 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 68 [detachedTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 1922 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 69 [detachedTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 1923 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 70 [detachedForeignTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 1924 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 71 [detachedForeignTextN
ode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 1925 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 72 [detachedXmlTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1926 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 73 [detachedXmlTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1927 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 74 [detachedProcessingIn
struction, 12] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 1928 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 75 [detachedComment, 3]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1929 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 76 [detachedComment, 5]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1930 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 77 [detachedForeignComme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 1931 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 78 [detachedForeignComme
nt, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 1932 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 79 [detachedXmlComment,
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 1933 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 80 [docfrag, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 1934 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 81 [foreignDocfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 1935 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 82 [xmlDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 1936 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 83 [doctype, 0] | |
| 1937 FAIL Range 42 [foreignDoc, 1, foreignComment, 2], point 84 [doctype, -17] assert
_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Do
cumentType function "function () { | |
| 1938 selection.collapse(point[0], point[1]); | |
| 1939 }" 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 | |
| 1940 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 85 [doctype, 1] | |
| 1941 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 86 [foreignDoctype, 0] | |
| 1942 PASS Range 42 [foreignDoc, 1, foreignComment, 2], point 87 [xmlDoctype, 0] | |
| 1943 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 0 [paras[0].first
Child, -1] | |
| 1944 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 1 [paras[0].first
Child, 0] | |
| 1945 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 2 [paras[0].first
Child, 1] assert_equals: focusOffset must equal the offset we collapse()d to exp
ected 1 but got 2 | |
| 1946 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 3 [paras[0].first
Child, 2] | |
| 1947 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 4 [paras[0].first
Child, 8] | |
| 1948 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 5 [paras[0].first
Child, 9] assert_equals: focusOffset must equal the offset we collapse()d to exp
ected 9 but got 10 | |
| 1949 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 6 [paras[0].first
Child, 10] | |
| 1950 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 7 [paras[0].first
Child, 65535] | |
| 1951 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 8 [paras[1].first
Child, -1] | |
| 1952 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 9 [paras[1].first
Child, 0] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 1953 " but got Text node "Qrstuvwx" | |
| 1954 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 10 [paras[1].firs
tChild, 1] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | |
| 1955 " but got Text node "Qrstuvwx" | |
| 1956 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 11 [paras[1].firs
tChild, 2] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | |
| 1957 " but got Text node "Qrstuvwx" | |
| 1958 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 12 [paras[1].firs
tChild, 8] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | |
| 1959 " but got Text node "Qrstuvwx" | |
| 1960 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 13 [paras[1].firs
tChild, 9] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | |
| 1961 " but got Text node "Qrstuvwx" | |
| 1962 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 14 [paras[1].firs
tChild, 10] | |
| 1963 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 15 [paras[1].firs
tChild, 65535] | |
| 1964 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 16 [detachedPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 1965 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 17 [detachedPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 1966 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 18 [detachedPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 1967 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 19 [detachedPara1
.firstChild, 9] | |
| 1968 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 20 [foreignPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 1969 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 21 [foreignPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 1970 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 22 [foreignPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 1971 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 23 [foreignPara1.
firstChild, 9] | |
| 1972 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 24 [document.docu
mentElement, -1] | |
| 1973 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 25 [document.docu
mentElement, 0] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1974 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1975 " | |
| 1976 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 26 [document.docu
mentElement, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1977 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1978 " | |
| 1979 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 27 [document.docu
mentElement, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Element node <html><head><title>Selection.collapse() tests</title> | |
| 1980 <me... but got Text node "Qrstuvwx" | |
| 1981 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 28 [document.docu
mentElement, 7] | |
| 1982 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 29 [document.head
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <head><title>Selection.collapse() tests</title> | |
| 1983 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1984 " | |
| 1985 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 30 [document.body
, 3] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 1986 </p><p id... but got Text node "Qrstuvwx" | |
| 1987 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 31 [foreignDoc.do
cumentElement, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1988 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 32 [foreignDoc.do
cumentElement, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 1989 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 33 [foreignDoc.he
ad, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 1990 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 34 [foreignDoc.bo
dy, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 1991 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], 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̈ḧ | |
| 1992 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1993 " | |
| 1994 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], 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̈ḧ | |
| 1995 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 1996 " | |
| 1997 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 37 [paras[0], 2] | |
| 1998 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], 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 | |
| 1999 </p> but got Text node "Qrstuvwx" | |
| 2000 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], 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 | |
| 2001 </p> but got Text node "Qrstuvwx" | |
| 2002 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 40 [paras[1], 2] | |
| 2003 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 41 [detachedPara1
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2004 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 42 [detachedPara1
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2005 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 43 [testDiv, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2006 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2007 " | |
| 2008 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 44 [testDiv, 3] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2009 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2010 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 45 [document, -1]
| |
| 2011 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], 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̈ḧ | |
| 2012 " | |
| 2013 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], 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̈ḧ | |
| 2014 " | |
| 2015 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], 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" | |
| 2016 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 49 [document, 3] | |
| 2017 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 50 [comment, -1] | |
| 2018 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 51 [comment, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2019 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 52 [comment, 4] a
ssert_equals: focusNode must equal the node we collapse()d to expected Comment n
ode <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 2020 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 53 [comment, 96] | |
| 2021 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 54 [foreignDoc, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 2022 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 55 [foreignDoc, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 2023 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 56 [foreignCommen
t, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2024 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 57 [foreignTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 2025 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 58 [foreignTextNo
de, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 2026 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 59 [xmlDoc, -1] | |
| 2027 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 60 [xmlDoc, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 2028 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 61 [xmlDoc, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 2029 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 62 [xmlDoc, 5] | |
| 2030 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 63 [xmlComment, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 2031 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 64 [xmlComment, 4
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 2032 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 65 [processingIns
truction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2033 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 66 [processingIns
truction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2034 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 67 [processingIns
truction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2035 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 68 [detachedTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 2036 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 69 [detachedTextN
ode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 2037 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 70 [detachedForei
gnTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2038 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 71 [detachedForei
gnTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2039 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 72 [detachedXmlTe
xtNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 2040 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 73 [detachedXmlTe
xtNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 2041 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 74 [detachedProce
ssingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2042 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 75 [detachedComme
nt, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 2043 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 76 [detachedComme
nt, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 2044 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 77 [detachedForei
gnComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2045 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 78 [detachedForei
gnComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2046 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 79 [detachedXmlCo
mment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 2047 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 80 [docfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2048 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 81 [foreignDocfra
g, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2049 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 82 [xmlDocfrag, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 2050 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 83 [doctype, 0] | |
| 2051 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | |
| 2052 selection.collapse(point[0], point[1]); | |
| 2053 }" 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 | |
| 2054 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 85 [doctype, 1] | |
| 2055 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 86 [foreignDoctyp
e, 0] | |
| 2056 PASS Range 43 [foreignDoc.body, 0, foreignTextNode, 36], point 87 [xmlDoctype, 0
] | |
| 2057 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 0 [paras[0].firstChild, -1] | |
| 2058 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 1 [paras[0].firstChild, 0] | |
| 2059 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 2 [paras[0].firstChild, 1] assert_eq
uals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 | |
| 2060 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 3 [paras[0].firstChild, 2] | |
| 2061 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 4 [paras[0].firstChild, 8] | |
| 2062 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 5 [paras[0].firstChild, 9] assert_eq
uals: focusOffset must equal the offset we collapse()d to expected 9 but got 10 | |
| 2063 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 6 [paras[0].firstChild, 10] | |
| 2064 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 7 [paras[0].firstChild, 65535] | |
| 2065 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 8 [paras[1].firstChild, -1] | |
| 2066 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 9 [paras[1].firstChild, 0] assert_eq
uals: focusNode must equal the node we collapse()d to expected Text node "Ijklmn
op | |
| 2067 " but got Text node "Qrstuvwx" | |
| 2068 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 10 [paras[1].firstChild, 1] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | |
| 2069 " but got Text node "Qrstuvwx" | |
| 2070 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 11 [paras[1].firstChild, 2] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | |
| 2071 " but got Text node "Qrstuvwx" | |
| 2072 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 12 [paras[1].firstChild, 8] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | |
| 2073 " but got Text node "Qrstuvwx" | |
| 2074 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 13 [paras[1].firstChild, 9] assert_e
quals: focusNode must equal the node we collapse()d to expected Text node "Ijklm
nop | |
| 2075 " but got Text node "Qrstuvwx" | |
| 2076 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 14 [paras[1].firstChild, 10] | |
| 2077 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 15 [paras[1].firstChild, 65535] | |
| 2078 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 16 [detachedPara1.firstChild, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 2079 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 17 [detachedPara1.firstChild, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 2080 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 18 [detachedPara1.firstChild, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 2081 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 19 [detachedPara1.firstChild, 9] | |
| 2082 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 20 [foreignPara1.firstChild, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2083 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 21 [foreignPara1.firstChild, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2084 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 22 [foreignPara1.firstChild, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2085 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 23 [foreignPara1.firstChild, 9] | |
| 2086 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 24 [document.documentElement, -1] | |
| 2087 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 25 [document.documentElement, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> | |
| 2088 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2089 " | |
| 2090 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 26 [document.documentElement, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> | |
| 2091 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2092 " | |
| 2093 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 27 [document.documentElement, 2] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <html><head><title>Selection.collapse() tests</title> | |
| 2094 <me... but got Text node "Qrstuvwx" | |
| 2095 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 28 [document.documentElement, 7] | |
| 2096 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 29 [document.head, 1] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <head><ti
tle>Selection.collapse() tests</title> | |
| 2097 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2098 " | |
| 2099 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 30 [document.body, 3] assert_equals:
focusNode must equal the node we collapse()d to expected Element node <body><di
v id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2100 </p><p id... but got Text node "Qrstuvwx" | |
| 2101 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 31 [foreignDoc.documentElement, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2102 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 32 [foreignDoc.documentElement, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2103 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 33 [foreignDoc.head, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2104 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 34 [foreignDoc.body, 1] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2105 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 35 [paras[0], 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | |
| 2106 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2107 " | |
| 2108 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 36 [paras[0], 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Element node <p id="a">Äb̈
c̈d̈ëf̈g̈ḧ | |
| 2109 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2110 " | |
| 2111 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 37 [paras[0], 2] | |
| 2112 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 38 [paras[1], 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Element node <p id="b" styl
e="display:none">Ijklmnop | |
| 2113 </p> but got Text node "Qrstuvwx" | |
| 2114 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 39 [paras[1], 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Element node <p id="b" styl
e="display:none">Ijklmnop | |
| 2115 </p> but got Text node "Qrstuvwx" | |
| 2116 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 40 [paras[1], 2] | |
| 2117 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 41 [detachedPara1, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2118 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 42 [detachedPara1, 1] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2119 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 43 [testDiv, 0] assert_equals: focus
Node must equal the node we collapse()d to expected Element node <div id="test">
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2120 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2121 " | |
| 2122 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 44 [testDiv, 3] assert_equals: focus
Node must equal the node we collapse()d to expected Element node <div id="test">
<p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2123 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2124 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 45 [document, -1] | |
| 2125 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 46 [document, 0] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 2 childr
en but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2126 " | |
| 2127 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 47 [document, 1] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 2 childr
en but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2128 " | |
| 2129 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 48 [document, 2] assert_equals: focu
sNode must equal the node we collapse()d to expected Document node with 2 childr
en but got Text node "Qrstuvwx" | |
| 2130 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 49 [document, 3] | |
| 2131 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 50 [comment, -1] | |
| 2132 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 51 [comment, 0] assert_equals: focus
Node must equal the node we collapse()d to expected Comment node <!--Alphabet so
up?--> but got Text node "Qrstuvwx" | |
| 2133 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 52 [comment, 4] assert_equals: focus
Node must equal the node we collapse()d to expected Comment node <!--Alphabet so
up?--> but got Text node "Qrstuvwx" | |
| 2134 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 53 [comment, 96] | |
| 2135 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 54 [foreignDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2136 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 55 [foreignDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2137 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 56 [foreignComment, 2] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2138 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 57 [foreignTextNode, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2139 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 58 [foreignTextNode, 36] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2140 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 59 [xmlDoc, -1] | |
| 2141 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 60 [xmlDoc, 0] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2142 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 61 [xmlDoc, 1] assert_equals: select
ion.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2143 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 62 [xmlDoc, 5] | |
| 2144 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 63 [xmlComment, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2145 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 64 [xmlComment, 4] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2146 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 65 [processingInstruction, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2147 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 66 [processingInstruction, 5] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2148 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 67 [processingInstruction, 9] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2149 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 68 [detachedTextNode, 0] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2150 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 69 [detachedTextNode, 8] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2151 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 70 [detachedForeignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2152 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 71 [detachedForeignTextNode, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2153 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 72 [detachedXmlTextNode, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2154 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 73 [detachedXmlTextNode, 8] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2155 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 74 [detachedProcessingInstruction, 1
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2156 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 75 [detachedComment, 3] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2157 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 76 [detachedComment, 5] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2158 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 77 [detachedForeignComment, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2159 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 78 [detachedForeignComment, 4] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2160 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 79 [detachedXmlComment, 2] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2161 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 80 [docfrag, 0] assert_equals: selec
tion.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2162 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 81 [foreignDocfrag, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2163 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 82 [xmlDocfrag, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2164 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 83 [doctype, 0] | |
| 2165 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0], point 84 [doctype, -17] assert_throws: Mus
t throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType f
unction "function () { | |
| 2166 selection.collapse(point[0], point[1]); | |
| 2167 }" 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 | |
| 2168 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 85 [doctype, 1] | |
| 2169 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 86 [foreignDoctype, 0] | |
| 2170 PASS Range 44 [xmlDoc, 0, xmlDoc, 0], point 87 [xmlDoctype, 0] | |
| 2171 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 0 [paras[0].firstChild, -1] | |
| 2172 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 1 [paras[0].firstChild, 0] | |
| 2173 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 2 [paras[0].firstChild, 1] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 1 but got
2 | |
| 2174 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 3 [paras[0].firstChild, 2] | |
| 2175 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 4 [paras[0].firstChild, 8] | |
| 2176 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 5 [paras[0].firstChild, 9] asser
t_equals: focusOffset must equal the offset we collapse()d to expected 9 but got
10 | |
| 2177 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 6 [paras[0].firstChild, 10] | |
| 2178 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 7 [paras[0].firstChild, 65535] | |
| 2179 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 8 [paras[1].firstChild, -1] | |
| 2180 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 9 [paras[1].firstChild, 0] asser
t_equals: focusNode must equal the node we collapse()d to expected Text node "Ij
klmnop | |
| 2181 " but got Text node "Qrstuvwx" | |
| 2182 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 10 [paras[1].firstChild, 1] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 2183 " but got Text node "Qrstuvwx" | |
| 2184 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 11 [paras[1].firstChild, 2] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 2185 " but got Text node "Qrstuvwx" | |
| 2186 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 12 [paras[1].firstChild, 8] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 2187 " but got Text node "Qrstuvwx" | |
| 2188 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 13 [paras[1].firstChild, 9] asse
rt_equals: focusNode must equal the node we collapse()d to expected Text node "I
jklmnop | |
| 2189 " but got Text node "Qrstuvwx" | |
| 2190 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 14 [paras[1].firstChild, 10] | |
| 2191 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 15 [paras[1].firstChild, 65535] | |
| 2192 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 16 [detachedPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 2193 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 17 [detachedPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 2194 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 18 [detachedPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 2195 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 19 [detachedPara1.firstChild, 9]
| |
| 2196 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 20 [foreignPara1.firstChild, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2197 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 21 [foreignPara1.firstChild, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2198 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 22 [foreignPara1.firstChild, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2199 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 23 [foreignPara1.firstChild, 9] | |
| 2200 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 24 [document.documentElement, -1
] | |
| 2201 FAIL Range 45 [xmlDoc, 1, xmlComment, 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> | |
| 2202 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2203 " | |
| 2204 FAIL Range 45 [xmlDoc, 1, xmlComment, 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> | |
| 2205 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2206 " | |
| 2207 FAIL Range 45 [xmlDoc, 1, xmlComment, 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> | |
| 2208 <me... but got Text node "Qrstuvwx" | |
| 2209 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 28 [document.documentElement, 7]
| |
| 2210 FAIL Range 45 [xmlDoc, 1, xmlComment, 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> | |
| 2211 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2212 " | |
| 2213 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | |
| 2214 </p><p id... but got Text node "Qrstuvwx" | |
| 2215 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 31 [foreignDoc.documentElement,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2216 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 32 [foreignDoc.documentElement,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2217 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 33 [foreignDoc.head, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2218 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 34 [foreignDoc.body, 1] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2219 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | |
| 2220 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2221 " | |
| 2222 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | |
| 2223 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2224 " | |
| 2225 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 37 [paras[0], 2] | |
| 2226 FAIL Range 45 [xmlDoc, 1, xmlComment, 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 | |
| 2227 </p> but got Text node "Qrstuvwx" | |
| 2228 FAIL Range 45 [xmlDoc, 1, xmlComment, 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 | |
| 2229 </p> but got Text node "Qrstuvwx" | |
| 2230 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 40 [paras[1], 2] | |
| 2231 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 41 [detachedPara1, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2232 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 42 [detachedPara1, 1] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2233 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | |
| 2234 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2235 " | |
| 2236 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | |
| 2237 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2238 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 45 [document, -1] | |
| 2239 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | |
| 2240 " | |
| 2241 FAIL Range 45 [xmlDoc, 1, xmlComment, 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̈ḧ | |
| 2242 " | |
| 2243 FAIL Range 45 [xmlDoc, 1, xmlComment, 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" | |
| 2244 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 49 [document, 3] | |
| 2245 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 50 [comment, -1] | |
| 2246 FAIL Range 45 [xmlDoc, 1, xmlComment, 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" | |
| 2247 FAIL Range 45 [xmlDoc, 1, xmlComment, 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" | |
| 2248 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 53 [comment, 96] | |
| 2249 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 54 [foreignDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2250 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 55 [foreignDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2251 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 56 [foreignComment, 2] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2252 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 57 [foreignTextNode, 0] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2253 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 58 [foreignTextNode, 36] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2254 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 59 [xmlDoc, -1] | |
| 2255 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 60 [xmlDoc, 0] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2256 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 61 [xmlDoc, 1] assert_equals: se
lection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2257 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 62 [xmlDoc, 5] | |
| 2258 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 63 [xmlComment, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2259 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 64 [xmlComment, 4] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2260 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 65 [processingInstruction, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 2261 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 66 [processingInstruction, 5] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 2262 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 67 [processingInstruction, 9] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 2263 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 68 [detachedTextNode, 0] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2264 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 69 [detachedTextNode, 8] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2265 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 70 [detachedForeignTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2266 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 71 [detachedForeignTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2267 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 72 [detachedXmlTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2268 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 73 [detachedXmlTextNode, 8] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2269 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 74 [detachedProcessingInstructio
n, 12] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 2270 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 75 [detachedComment, 3] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2271 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 76 [detachedComment, 5] assert_e
quals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2272 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 77 [detachedForeignComment, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2273 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 78 [detachedForeignComment, 4] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2274 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 79 [detachedXmlComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 2275 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 80 [docfrag, 0] assert_equals: s
election.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2276 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 81 [foreignDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2277 FAIL Range 45 [xmlDoc, 1, xmlComment, 0], point 82 [xmlDocfrag, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 2278 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 83 [doctype, 0] | |
| 2279 FAIL Range 45 [xmlDoc, 1, xmlComment, 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 () { | |
| 2280 selection.collapse(point[0], point[1]); | |
| 2281 }" 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 | |
| 2282 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 85 [doctype, 1] | |
| 2283 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 86 [foreignDoctype, 0] | |
| 2284 PASS Range 45 [xmlDoc, 1, xmlComment, 0], point 87 [xmlDoctype, 0] | |
| 2285 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 0 [paras[0].firs
tChild, -1] | |
| 2286 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 1 [paras[0].firs
tChild, 0] | |
| 2287 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 2 [paras[0].firs
tChild, 1] assert_equals: focusOffset must equal the offset we collapse()d to ex
pected 1 but got 2 | |
| 2288 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 3 [paras[0].firs
tChild, 2] | |
| 2289 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 4 [paras[0].firs
tChild, 8] | |
| 2290 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 5 [paras[0].firs
tChild, 9] assert_equals: focusOffset must equal the offset we collapse()d to ex
pected 9 but got 10 | |
| 2291 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 6 [paras[0].firs
tChild, 10] | |
| 2292 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 7 [paras[0].firs
tChild, 65535] | |
| 2293 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 8 [paras[1].firs
tChild, -1] | |
| 2294 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 9 [paras[1].firs
tChild, 0] assert_equals: focusNode must equal the node we collapse()d to expect
ed Text node "Ijklmnop | |
| 2295 " but got Text node "Qrstuvwx" | |
| 2296 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 10 [paras[1].fir
stChild, 1] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | |
| 2297 " but got Text node "Qrstuvwx" | |
| 2298 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 11 [paras[1].fir
stChild, 2] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | |
| 2299 " but got Text node "Qrstuvwx" | |
| 2300 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 12 [paras[1].fir
stChild, 8] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | |
| 2301 " but got Text node "Qrstuvwx" | |
| 2302 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 13 [paras[1].fir
stChild, 9] assert_equals: focusNode must equal the node we collapse()d to expec
ted Text node "Ijklmnop | |
| 2303 " but got Text node "Qrstuvwx" | |
| 2304 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 14 [paras[1].fir
stChild, 10] | |
| 2305 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 15 [paras[1].fir
stChild, 65535] | |
| 2306 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 16 [detachedPara
1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2307 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 17 [detachedPara
1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2308 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 18 [detachedPara
1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2309 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 19 [detachedPara
1.firstChild, 9] | |
| 2310 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 20 [foreignPara1
.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 2311 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 21 [foreignPara1
.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 2312 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 22 [foreignPara1
.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 2313 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 23 [foreignPara1
.firstChild, 9] | |
| 2314 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 24 [document.doc
umentElement, -1] | |
| 2315 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 25 [document.doc
umentElement, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 2316 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2317 " | |
| 2318 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 26 [document.doc
umentElement, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 2319 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2320 " | |
| 2321 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 27 [document.doc
umentElement, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Element node <html><head><title>Selection.collapse() tests</title> | |
| 2322 <me... but got Text node "Qrstuvwx" | |
| 2323 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 28 [document.doc
umentElement, 7] | |
| 2324 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 29 [document.hea
d, 1] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <head><title>Selection.collapse() tests</title> | |
| 2325 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2326 " | |
| 2327 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 30 [document.bod
y, 3] assert_equals: focusNode must equal the node we collapse()d to expected El
ement node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 2328 </p><p id... but got Text node "Qrstuvwx" | |
| 2329 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 31 [foreignDoc.d
ocumentElement, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2330 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 32 [foreignDoc.d
ocumentElement, 1] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 2331 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 33 [foreignDoc.h
ead, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 2332 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 34 [foreignDoc.b
ody, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 2333 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 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̈ḧ | |
| 2334 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2335 " | |
| 2336 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 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̈ḧ | |
| 2337 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2338 " | |
| 2339 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 37 [paras[0], 2]
| |
| 2340 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 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 | |
| 2341 </p> but got Text node "Qrstuvwx" | |
| 2342 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 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 | |
| 2343 </p> but got Text node "Qrstuvwx" | |
| 2344 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 40 [paras[1], 2]
| |
| 2345 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 41 [detachedPara
1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2346 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 42 [detachedPara
1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2347 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], 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̈ḧ | |
| 2348 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2349 " | |
| 2350 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], 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̈ḧ | |
| 2351 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2352 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 45 [document, -1
] | |
| 2353 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 46 [document, 0]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
t node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2354 " | |
| 2355 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 47 [document, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
t node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2356 " | |
| 2357 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 48 [document, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Documen
t node with 2 children but got Text node "Qrstuvwx" | |
| 2358 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 49 [document, 3]
| |
| 2359 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 50 [comment, -1]
| |
| 2360 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], 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" | |
| 2361 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], 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" | |
| 2362 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 53 [comment, 96]
| |
| 2363 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 54 [foreignDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2364 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 55 [foreignDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2365 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 56 [foreignComme
nt, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 2366 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 57 [foreignTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 2367 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 58 [foreignTextN
ode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2368 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 59 [xmlDoc, -1] | |
| 2369 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 60 [xmlDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2370 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 61 [xmlDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2371 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 62 [xmlDoc, 5] | |
| 2372 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 63 [xmlComment,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2373 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 64 [xmlComment,
4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2374 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 65 [processingIn
struction, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2375 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 66 [processingIn
struction, 5] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2376 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 67 [processingIn
struction, 9] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2377 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 68 [detachedText
Node, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2378 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 69 [detachedText
Node, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2379 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 70 [detachedFore
ignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 2380 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 71 [detachedFore
ignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 2381 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 72 [detachedXmlT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 2382 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 73 [detachedXmlT
extNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 2383 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 74 [detachedProc
essingInstruction, 12] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2384 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 75 [detachedComm
ent, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 2385 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 76 [detachedComm
ent, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 2386 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 77 [detachedFore
ignComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2387 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 78 [detachedFore
ignComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2388 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 79 [detachedXmlC
omment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 2389 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 80 [docfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 2390 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 81 [foreignDocfr
ag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 2391 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 82 [xmlDocfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2392 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 83 [doctype, 0] | |
| 2393 FAIL Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 84 [doctype, -17
] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node
is a DocumentType function "function () { | |
| 2394 selection.collapse(point[0], point[1]); | |
| 2395 }" 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 | |
| 2396 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 85 [doctype, 1] | |
| 2397 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 86 [foreignDocty
pe, 0] | |
| 2398 PASS Range 46 [detachedTextNode, 0, detachedTextNode, 8], point 87 [xmlDoctype,
0] | |
| 2399 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 0
[paras[0].firstChild, -1] | |
| 2400 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 1
[paras[0].firstChild, 0] | |
| 2401 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | |
| 2402 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 3
[paras[0].firstChild, 2] | |
| 2403 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 4
[paras[0].firstChild, 8] | |
| 2404 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | |
| 2405 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 6
[paras[0].firstChild, 10] | |
| 2406 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 7
[paras[0].firstChild, 65535] | |
| 2407 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 8
[paras[1].firstChild, -1] | |
| 2408 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | |
| 2409 " but got Text node "Qrstuvwx" | |
| 2410 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2411 " but got Text node "Qrstuvwx" | |
| 2412 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2413 " but got Text node "Qrstuvwx" | |
| 2414 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2415 " but got Text node "Qrstuvwx" | |
| 2416 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2417 " but got Text node "Qrstuvwx" | |
| 2418 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 14
[paras[1].firstChild, 10] | |
| 2419 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 15
[paras[1].firstChild, 65535] | |
| 2420 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2421 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2422 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2423 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 19
[detachedPara1.firstChild, 9] | |
| 2424 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2425 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2426 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2427 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 23
[foreignPara1.firstChild, 9] | |
| 2428 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 24
[document.documentElement, -1] | |
| 2429 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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> | |
| 2430 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2431 " | |
| 2432 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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> | |
| 2433 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2434 " | |
| 2435 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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> | |
| 2436 <me... but got Text node "Qrstuvwx" | |
| 2437 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 28
[document.documentElement, 7] | |
| 2438 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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> | |
| 2439 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2440 " | |
| 2441 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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̈ḧ | |
| 2442 </p><p id... but got Text node "Qrstuvwx" | |
| 2443 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2444 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2445 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2446 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2447 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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̈ḧ | |
| 2448 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2449 " | |
| 2450 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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̈ḧ | |
| 2451 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2452 " | |
| 2453 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 37
[paras[0], 2] | |
| 2454 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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 | |
| 2455 </p> but got Text node "Qrstuvwx" | |
| 2456 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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 | |
| 2457 </p> but got Text node "Qrstuvwx" | |
| 2458 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 40
[paras[1], 2] | |
| 2459 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2460 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2461 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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̈ḧ | |
| 2462 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2463 " | |
| 2464 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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̈ḧ | |
| 2465 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2466 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 45
[document, -1] | |
| 2467 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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̈ḧ | |
| 2468 " | |
| 2469 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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̈ḧ | |
| 2470 " | |
| 2471 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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" | |
| 2472 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 49
[document, 3] | |
| 2473 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 50
[comment, -1] | |
| 2474 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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" | |
| 2475 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], 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" | |
| 2476 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 53
[comment, 96] | |
| 2477 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2478 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2479 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2480 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2481 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2482 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 59
[xmlDoc, -1] | |
| 2483 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2484 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2485 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 62
[xmlDoc, 5] | |
| 2486 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2487 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2488 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2489 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2490 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2491 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2492 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2493 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2494 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2495 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2496 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2497 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | |
| 2498 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2499 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2500 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2501 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2502 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2503 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2504 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2505 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2506 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 83
[doctype, 0] | |
| 2507 FAIL Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 84
[doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()i
ng if the node is a DocumentType function "function () { | |
| 2508 selection.collapse(point[0], point[1]); | |
| 2509 }" 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 | |
| 2510 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 85
[doctype, 1] | |
| 2511 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 86
[foreignDoctype, 0] | |
| 2512 PASS Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7], point 87
[xmlDoctype, 0] | |
| 2513 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 0
[paras[0].firstChild, -1] | |
| 2514 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 1
[paras[0].firstChild, 0] | |
| 2515 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 2
[paras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 1 but got 2 | |
| 2516 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 3
[paras[0].firstChild, 2] | |
| 2517 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 4
[paras[0].firstChild, 8] | |
| 2518 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 5
[paras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we col
lapse()d to expected 9 but got 10 | |
| 2519 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 6
[paras[0].firstChild, 10] | |
| 2520 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 7
[paras[0].firstChild, 65535] | |
| 2521 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 8
[paras[1].firstChild, -1] | |
| 2522 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 9
[paras[1].firstChild, 0] assert_equals: focusNode must equal the node we collaps
e()d to expected Text node "Ijklmnop | |
| 2523 " but got Text node "Qrstuvwx" | |
| 2524 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 10
[paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2525 " but got Text node "Qrstuvwx" | |
| 2526 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 11
[paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2527 " but got Text node "Qrstuvwx" | |
| 2528 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 12
[paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2529 " but got Text node "Qrstuvwx" | |
| 2530 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 13
[paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collap
se()d to expected Text node "Ijklmnop | |
| 2531 " but got Text node "Qrstuvwx" | |
| 2532 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 14
[paras[1].firstChild, 10] | |
| 2533 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 15
[paras[1].firstChild, 65535] | |
| 2534 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 16
[detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2535 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 17
[detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2536 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 18
[detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 2537 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 19
[detachedPara1.firstChild, 9] | |
| 2538 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 20
[foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2539 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 21
[foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2540 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 22
[foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2541 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 23
[foreignPara1.firstChild, 9] | |
| 2542 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 24
[document.documentElement, -1] | |
| 2543 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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> | |
| 2544 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2545 " | |
| 2546 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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> | |
| 2547 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2548 " | |
| 2549 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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> | |
| 2550 <me... but got Text node "Qrstuvwx" | |
| 2551 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 28
[document.documentElement, 7] | |
| 2552 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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> | |
| 2553 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2554 " | |
| 2555 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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̈ḧ | |
| 2556 </p><p id... but got Text node "Qrstuvwx" | |
| 2557 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 31
[foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2558 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 32
[foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal
1 after collapse() expected 1 but got 0 | |
| 2559 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 33
[foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2560 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 34
[foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2561 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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̈ḧ | |
| 2562 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2563 " | |
| 2564 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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̈ḧ | |
| 2565 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2566 " | |
| 2567 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 37
[paras[0], 2] | |
| 2568 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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 | |
| 2569 </p> but got Text node "Qrstuvwx" | |
| 2570 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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 | |
| 2571 </p> but got Text node "Qrstuvwx" | |
| 2572 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 40
[paras[1], 2] | |
| 2573 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 41
[detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2574 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 42
[detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2575 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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̈ḧ | |
| 2576 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2577 " | |
| 2578 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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̈ḧ | |
| 2579 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2580 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 45
[document, -1] | |
| 2581 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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̈ḧ | |
| 2582 " | |
| 2583 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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̈ḧ | |
| 2584 " | |
| 2585 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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" | |
| 2586 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 49
[document, 3] | |
| 2587 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 50
[comment, -1] | |
| 2588 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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" | |
| 2589 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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" | |
| 2590 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 53
[comment, 96] | |
| 2591 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 54
[foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2592 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 55
[foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2593 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 56
[foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2594 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 57
[foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2595 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 58
[foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2596 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 59
[xmlDoc, -1] | |
| 2597 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 60
[xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2598 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 61
[xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2599 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 62
[xmlDoc, 5] | |
| 2600 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 63
[xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2601 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 64
[xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2602 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 65
[processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2603 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 66
[processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2604 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 67
[processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 2605 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 68
[detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2606 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 69
[detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2607 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 70
[detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2608 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 71
[detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 a
fter collapse() expected 1 but got 0 | |
| 2609 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 72
[detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2610 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 73
[detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2611 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 74
[detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must eq
ual 1 after collapse() expected 1 but got 0 | |
| 2612 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 75
[detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2613 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 76
[detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2614 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 77
[detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2615 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 78
[detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2616 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 79
[detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2617 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 80
[docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2618 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 81
[foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2619 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 82
[xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2620 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 83
[doctype, 0] | |
| 2621 FAIL Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 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 () { | |
| 2622 selection.collapse(point[0], point[1]); | |
| 2623 }" 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 | |
| 2624 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 85
[doctype, 1] | |
| 2625 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 86
[foreignDoctype, 0] | |
| 2626 PASS Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8], point 87
[xmlDoctype, 0] | |
| 2627 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 0 [paras[0
].firstChild, -1] | |
| 2628 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 1 [paras[0
].firstChild, 0] | |
| 2629 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 2630 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 3 [paras[0
].firstChild, 2] | |
| 2631 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 4 [paras[0
].firstChild, 8] | |
| 2632 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 2633 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 6 [paras[0
].firstChild, 10] | |
| 2634 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 7 [paras[0
].firstChild, 65535] | |
| 2635 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 8 [paras[1
].firstChild, -1] | |
| 2636 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2637 " but got Text node "Qrstuvwx" | |
| 2638 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2639 " but got Text node "Qrstuvwx" | |
| 2640 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2641 " but got Text node "Qrstuvwx" | |
| 2642 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2643 " but got Text node "Qrstuvwx" | |
| 2644 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2645 " but got Text node "Qrstuvwx" | |
| 2646 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 14 [paras[
1].firstChild, 10] | |
| 2647 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 15 [paras[
1].firstChild, 65535] | |
| 2648 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2649 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2650 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2651 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 19 [detach
edPara1.firstChild, 9] | |
| 2652 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2653 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2654 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2655 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 23 [foreig
nPara1.firstChild, 9] | |
| 2656 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 24 [docume
nt.documentElement, -1] | |
| 2657 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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
> | |
| 2658 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2659 " | |
| 2660 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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
> | |
| 2661 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2662 " | |
| 2663 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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
> | |
| 2664 <me... but got Text node "Qrstuvwx" | |
| 2665 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 28 [docume
nt.documentElement, 7] | |
| 2666 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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> | |
| 2667 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2668 " | |
| 2669 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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̈ḧ | |
| 2670 </p><p id... but got Text node "Qrstuvwx" | |
| 2671 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 31 [foreig
nDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2672 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 32 [foreig
nDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2673 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 33 [foreig
nDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2674 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 34 [foreig
nDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2675 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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̈ḧ | |
| 2676 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2677 " | |
| 2678 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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̈ḧ | |
| 2679 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2680 " | |
| 2681 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 37 [paras[
0], 2] | |
| 2682 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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 | |
| 2683 </p> but got Text node "Qrstuvwx" | |
| 2684 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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 | |
| 2685 </p> but got Text node "Qrstuvwx" | |
| 2686 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 40 [paras[
1], 2] | |
| 2687 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 41 [detach
edPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 2688 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 42 [detach
edPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 2689 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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̈ḧ | |
| 2690 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2691 " | |
| 2692 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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̈ḧ | |
| 2693 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2694 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 45 [docume
nt, -1] | |
| 2695 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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̈ḧ | |
| 2696 " | |
| 2697 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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̈ḧ | |
| 2698 " | |
| 2699 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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" | |
| 2700 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 49 [docume
nt, 3] | |
| 2701 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 50 [commen
t, -1] | |
| 2702 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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" | |
| 2703 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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" | |
| 2704 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 53 [commen
t, 96] | |
| 2705 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2706 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2707 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2708 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2709 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2710 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 59 [xmlDoc
, -1] | |
| 2711 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2712 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2713 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 62 [xmlDoc
, 5] | |
| 2714 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 63 [xmlCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2715 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 64 [xmlCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2716 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 65 [proces
singInstruction, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2717 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 66 [proces
singInstruction, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2718 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 67 [proces
singInstruction, 9] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2719 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 68 [detach
edTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2720 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 69 [detach
edTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2721 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 70 [detach
edForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2722 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 71 [detach
edForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2723 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 72 [detach
edXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 2724 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 73 [detach
edXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 2725 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 74 [detach
edProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2726 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 75 [detach
edComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2727 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 76 [detach
edComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2728 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 77 [detach
edForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2729 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 78 [detach
edForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2730 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 79 [detach
edXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2731 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 80 [docfra
g, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2732 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 81 [foreig
nDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2733 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2734 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 83 [doctyp
e, 0] | |
| 2735 FAIL Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], 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 () { | |
| 2736 selection.collapse(point[0], point[1]); | |
| 2737 }" 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 | |
| 2738 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 85 [doctyp
e, 1] | |
| 2739 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 86 [foreig
nDoctype, 0] | |
| 2740 PASS Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7], point 87 [xmlDoc
type, 0] | |
| 2741 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 0 [paras[0
].firstChild, -1] | |
| 2742 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 1 [paras[0
].firstChild, 0] | |
| 2743 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 2 [paras[0
].firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d
to expected 1 but got 2 | |
| 2744 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 3 [paras[0
].firstChild, 2] | |
| 2745 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 4 [paras[0
].firstChild, 8] | |
| 2746 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 5 [paras[0
].firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d
to expected 9 but got 10 | |
| 2747 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 6 [paras[0
].firstChild, 10] | |
| 2748 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 7 [paras[0
].firstChild, 65535] | |
| 2749 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 8 [paras[1
].firstChild, -1] | |
| 2750 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 9 [paras[1
].firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2751 " but got Text node "Qrstuvwx" | |
| 2752 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 10 [paras[
1].firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2753 " but got Text node "Qrstuvwx" | |
| 2754 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 11 [paras[
1].firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2755 " but got Text node "Qrstuvwx" | |
| 2756 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 12 [paras[
1].firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2757 " but got Text node "Qrstuvwx" | |
| 2758 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 13 [paras[
1].firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to
expected Text node "Ijklmnop | |
| 2759 " but got Text node "Qrstuvwx" | |
| 2760 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 14 [paras[
1].firstChild, 10] | |
| 2761 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 15 [paras[
1].firstChild, 65535] | |
| 2762 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 16 [detach
edPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2763 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 17 [detach
edPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2764 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 18 [detach
edPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 2765 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 19 [detach
edPara1.firstChild, 9] | |
| 2766 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 20 [foreig
nPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2767 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 21 [foreig
nPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2768 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 22 [foreig
nPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2769 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 23 [foreig
nPara1.firstChild, 9] | |
| 2770 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 24 [docume
nt.documentElement, -1] | |
| 2771 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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
> | |
| 2772 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2773 " | |
| 2774 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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
> | |
| 2775 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2776 " | |
| 2777 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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
> | |
| 2778 <me... but got Text node "Qrstuvwx" | |
| 2779 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 28 [docume
nt.documentElement, 7] | |
| 2780 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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> | |
| 2781 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2782 " | |
| 2783 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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̈ḧ | |
| 2784 </p><p id... but got Text node "Qrstuvwx" | |
| 2785 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 31 [foreig
nDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2786 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 32 [foreig
nDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 2787 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 33 [foreig
nDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2788 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 34 [foreig
nDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2789 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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̈ḧ | |
| 2790 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2791 " | |
| 2792 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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̈ḧ | |
| 2793 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2794 " | |
| 2795 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 37 [paras[
0], 2] | |
| 2796 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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 | |
| 2797 </p> but got Text node "Qrstuvwx" | |
| 2798 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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 | |
| 2799 </p> but got Text node "Qrstuvwx" | |
| 2800 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 40 [paras[
1], 2] | |
| 2801 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 41 [detach
edPara1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 2802 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 42 [detach
edPara1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 2803 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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̈ḧ | |
| 2804 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2805 " | |
| 2806 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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̈ḧ | |
| 2807 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2808 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 45 [docume
nt, -1] | |
| 2809 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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̈ḧ | |
| 2810 " | |
| 2811 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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̈ḧ | |
| 2812 " | |
| 2813 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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" | |
| 2814 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 49 [docume
nt, 3] | |
| 2815 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 50 [commen
t, -1] | |
| 2816 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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" | |
| 2817 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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" | |
| 2818 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 53 [commen
t, 96] | |
| 2819 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 54 [foreig
nDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2820 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 55 [foreig
nDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2821 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 56 [foreig
nComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2822 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 57 [foreig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2823 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 58 [foreig
nTextNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2824 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 59 [xmlDoc
, -1] | |
| 2825 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 60 [xmlDoc
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2826 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 61 [xmlDoc
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2827 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 62 [xmlDoc
, 5] | |
| 2828 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 63 [xmlCom
ment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2829 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 64 [xmlCom
ment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2830 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 65 [proces
singInstruction, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2831 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 66 [proces
singInstruction, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2832 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 67 [proces
singInstruction, 9] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 2833 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 68 [detach
edTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2834 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 69 [detach
edTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2835 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 70 [detach
edForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2836 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 71 [detach
edForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after col
lapse() expected 1 but got 0 | |
| 2837 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 72 [detach
edXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 2838 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 73 [detach
edXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 2839 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 74 [detach
edProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 2840 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 75 [detach
edComment, 3] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2841 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 76 [detach
edComment, 5] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2842 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 77 [detach
edForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2843 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 78 [detach
edForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2844 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 79 [detach
edXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2845 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 80 [docfra
g, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2846 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 81 [foreig
nDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2847 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 82 [xmlDoc
frag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2848 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 83 [doctyp
e, 0] | |
| 2849 FAIL Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 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 () { | |
| 2850 selection.collapse(point[0], point[1]); | |
| 2851 }" 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 | |
| 2852 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 85 [doctyp
e, 1] | |
| 2853 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 86 [foreig
nDoctype, 0] | |
| 2854 PASS Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8], point 87 [xmlDoc
type, 0] | |
| 2855 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 0 [paras[0].firstC
hild, -1] | |
| 2856 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 1 [paras[0].firstC
hild, 0] | |
| 2857 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | |
| 2858 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 3 [paras[0].firstC
hild, 2] | |
| 2859 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 4 [paras[0].firstC
hild, 8] | |
| 2860 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | |
| 2861 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 6 [paras[0].firstC
hild, 10] | |
| 2862 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 7 [paras[0].firstC
hild, 65535] | |
| 2863 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 8 [paras[1].firstC
hild, -1] | |
| 2864 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 2865 " but got Text node "Qrstuvwx" | |
| 2866 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2867 " but got Text node "Qrstuvwx" | |
| 2868 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2869 " but got Text node "Qrstuvwx" | |
| 2870 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2871 " but got Text node "Qrstuvwx" | |
| 2872 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2873 " but got Text node "Qrstuvwx" | |
| 2874 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 14 [paras[1].first
Child, 10] | |
| 2875 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 15 [paras[1].first
Child, 65535] | |
| 2876 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2877 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2878 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2879 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 19 [detachedPara1.
firstChild, 9] | |
| 2880 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2881 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2882 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2883 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 23 [foreignPara1.f
irstChild, 9] | |
| 2884 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 24 [document.docum
entElement, -1] | |
| 2885 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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> | |
| 2886 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2887 " | |
| 2888 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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> | |
| 2889 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2890 " | |
| 2891 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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> | |
| 2892 <me... but got Text node "Qrstuvwx" | |
| 2893 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 28 [document.docum
entElement, 7] | |
| 2894 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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> | |
| 2895 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2896 " | |
| 2897 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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̈ḧ | |
| 2898 </p><p id... but got Text node "Qrstuvwx" | |
| 2899 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2900 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 2901 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2902 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2903 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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̈ḧ | |
| 2904 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2905 " | |
| 2906 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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̈ḧ | |
| 2907 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2908 " | |
| 2909 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 37 [paras[0], 2] | |
| 2910 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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 | |
| 2911 </p> but got Text node "Qrstuvwx" | |
| 2912 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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 | |
| 2913 </p> but got Text node "Qrstuvwx" | |
| 2914 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 40 [paras[1], 2] | |
| 2915 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2916 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 2917 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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̈ḧ | |
| 2918 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 2919 " | |
| 2920 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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̈ḧ | |
| 2921 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 2922 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 45 [document, -1] | |
| 2923 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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̈ḧ | |
| 2924 " | |
| 2925 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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̈ḧ | |
| 2926 " | |
| 2927 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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" | |
| 2928 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 49 [document, 3] | |
| 2929 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 50 [comment, -1] | |
| 2930 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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" | |
| 2931 FAIL Range 51 [detachedComment, 3, detachedComment, 4], 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" | |
| 2932 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 53 [comment, 96] | |
| 2933 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 2934 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 2935 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2936 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2937 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 2938 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 59 [xmlDoc, -1] | |
| 2939 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 2940 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 2941 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 62 [xmlDoc, 5] | |
| 2942 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 2943 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 2944 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 2945 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 2946 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 2947 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 2948 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 2949 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2950 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2951 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 2952 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 2953 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 2954 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2955 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2956 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2957 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 2958 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 2959 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 2960 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 2961 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 2962 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 83 [doctype, 0] | |
| 2963 FAIL Range 51 [detachedComment, 3, detachedComment, 4], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | |
| 2964 selection.collapse(point[0], point[1]); | |
| 2965 }" 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 | |
| 2966 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 85 [doctype, 1] | |
| 2967 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 86 [foreignDoctype
, 0] | |
| 2968 PASS Range 51 [detachedComment, 3, detachedComment, 4], point 87 [xmlDoctype, 0]
| |
| 2969 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 0 [paras[0].firstC
hild, -1] | |
| 2970 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 1 [paras[0].firstC
hild, 0] | |
| 2971 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 2 [paras[0].firstC
hild, 1] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 1 but got 2 | |
| 2972 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 3 [paras[0].firstC
hild, 2] | |
| 2973 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 4 [paras[0].firstC
hild, 8] | |
| 2974 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 5 [paras[0].firstC
hild, 9] assert_equals: focusOffset must equal the offset we collapse()d to expe
cted 9 but got 10 | |
| 2975 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 6 [paras[0].firstC
hild, 10] | |
| 2976 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 7 [paras[0].firstC
hild, 65535] | |
| 2977 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 8 [paras[1].firstC
hild, -1] | |
| 2978 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 9 [paras[1].firstC
hild, 0] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 2979 " but got Text node "Qrstuvwx" | |
| 2980 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 10 [paras[1].first
Child, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2981 " but got Text node "Qrstuvwx" | |
| 2982 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 11 [paras[1].first
Child, 2] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2983 " but got Text node "Qrstuvwx" | |
| 2984 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 12 [paras[1].first
Child, 8] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2985 " but got Text node "Qrstuvwx" | |
| 2986 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 13 [paras[1].first
Child, 9] assert_equals: focusNode must equal the node we collapse()d to expecte
d Text node "Ijklmnop | |
| 2987 " but got Text node "Qrstuvwx" | |
| 2988 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 14 [paras[1].first
Child, 10] | |
| 2989 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 15 [paras[1].first
Child, 65535] | |
| 2990 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 16 [detachedPara1.
firstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2991 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 17 [detachedPara1.
firstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2992 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 18 [detachedPara1.
firstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2993 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 19 [detachedPara1.
firstChild, 9] | |
| 2994 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 20 [foreignPara1.f
irstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2995 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 21 [foreignPara1.f
irstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2996 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 22 [foreignPara1.f
irstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 2997 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 23 [foreignPara1.f
irstChild, 9] | |
| 2998 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 24 [document.docum
entElement, -1] | |
| 2999 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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> | |
| 3000 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3001 " | |
| 3002 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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> | |
| 3003 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3004 " | |
| 3005 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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> | |
| 3006 <me... but got Text node "Qrstuvwx" | |
| 3007 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 28 [document.docum
entElement, 7] | |
| 3008 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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> | |
| 3009 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3010 " | |
| 3011 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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̈ḧ | |
| 3012 </p><p id... but got Text node "Qrstuvwx" | |
| 3013 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 31 [foreignDoc.doc
umentElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 3014 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 32 [foreignDoc.doc
umentElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse
() expected 1 but got 0 | |
| 3015 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 33 [foreignDoc.hea
d, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3016 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 34 [foreignDoc.bod
y, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3017 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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̈ḧ | |
| 3018 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3019 " | |
| 3020 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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̈ḧ | |
| 3021 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3022 " | |
| 3023 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 37 [paras[0], 2] | |
| 3024 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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 | |
| 3025 </p> but got Text node "Qrstuvwx" | |
| 3026 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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 | |
| 3027 </p> but got Text node "Qrstuvwx" | |
| 3028 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 40 [paras[1], 2] | |
| 3029 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 41 [detachedPara1,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3030 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 42 [detachedPara1,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3031 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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̈ḧ | |
| 3032 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3033 " | |
| 3034 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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̈ḧ | |
| 3035 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3036 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 45 [document, -1] | |
| 3037 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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̈ḧ | |
| 3038 " | |
| 3039 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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̈ḧ | |
| 3040 " | |
| 3041 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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" | |
| 3042 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 49 [document, 3] | |
| 3043 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 50 [comment, -1] | |
| 3044 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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" | |
| 3045 FAIL Range 52 [detachedComment, 5, detachedComment, 5], 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" | |
| 3046 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 53 [comment, 96] | |
| 3047 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 54 [foreignDoc, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3048 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 55 [foreignDoc, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3049 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 56 [foreignComment
, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3050 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 57 [foreignTextNod
e, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3051 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 58 [foreignTextNod
e, 36] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3052 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 59 [xmlDoc, -1] | |
| 3053 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 60 [xmlDoc, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3054 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 61 [xmlDoc, 1] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3055 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 62 [xmlDoc, 5] | |
| 3056 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 63 [xmlComment, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3057 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 64 [xmlComment, 4]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3058 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 65 [processingInst
ruction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3059 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 66 [processingInst
ruction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3060 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 67 [processingInst
ruction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3061 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 68 [detachedTextNo
de, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3062 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 69 [detachedTextNo
de, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3063 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 70 [detachedForeig
nTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3064 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 71 [detachedForeig
nTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3065 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 72 [detachedXmlTex
tNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3066 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 73 [detachedXmlTex
tNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3067 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 74 [detachedProces
singInstruction, 12] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3068 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 75 [detachedCommen
t, 3] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3069 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 76 [detachedCommen
t, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3070 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 77 [detachedForeig
nComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3071 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 78 [detachedForeig
nComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3072 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 79 [detachedXmlCom
ment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expec
ted 1 but got 0 | |
| 3073 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 80 [docfrag, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 3074 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 81 [foreignDocfrag
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3075 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 82 [xmlDocfrag, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3076 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 83 [doctype, 0] | |
| 3077 FAIL Range 52 [detachedComment, 5, detachedComment, 5], point 84 [doctype, -17]
assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node i
s a DocumentType function "function () { | |
| 3078 selection.collapse(point[0], point[1]); | |
| 3079 }" 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 | |
| 3080 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 85 [doctype, 1] | |
| 3081 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 86 [foreignDoctype
, 0] | |
| 3082 PASS Range 52 [detachedComment, 5, detachedComment, 5], point 87 [xmlDoctype, 0]
| |
| 3083 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 0 [p
aras[0].firstChild, -1] | |
| 3084 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 1 [p
aras[0].firstChild, 0] | |
| 3085 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 2 [p
aras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 1 but got 2 | |
| 3086 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 3 [p
aras[0].firstChild, 2] | |
| 3087 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 4 [p
aras[0].firstChild, 8] | |
| 3088 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 5 [p
aras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 9 but got 10 | |
| 3089 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 6 [p
aras[0].firstChild, 10] | |
| 3090 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 7 [p
aras[0].firstChild, 65535] | |
| 3091 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 8 [p
aras[1].firstChild, -1] | |
| 3092 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 9 [p
aras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Ijklmnop | |
| 3093 " but got Text node "Qrstuvwx" | |
| 3094 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 10 [
paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3095 " but got Text node "Qrstuvwx" | |
| 3096 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 11 [
paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3097 " but got Text node "Qrstuvwx" | |
| 3098 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 12 [
paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3099 " but got Text node "Qrstuvwx" | |
| 3100 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 13 [
paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3101 " but got Text node "Qrstuvwx" | |
| 3102 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 14 [
paras[1].firstChild, 10] | |
| 3103 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 15 [
paras[1].firstChild, 65535] | |
| 3104 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 3105 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 3106 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 3107 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 19 [
detachedPara1.firstChild, 9] | |
| 3108 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3109 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3110 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3111 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 23 [
foreignPara1.firstChild, 9] | |
| 3112 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 24 [
document.documentElement, -1] | |
| 3113 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 25 [
document.documentElement, 0] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3114 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3115 " | |
| 3116 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 26 [
document.documentElement, 1] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3117 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3118 " | |
| 3119 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 27 [
document.documentElement, 2] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3120 <me... but got Text node "Qrstuvwx" | |
| 3121 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 28 [
document.documentElement, 7] | |
| 3122 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 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> | |
| 3123 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3124 " | |
| 3125 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 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̈ḧ | |
| 3126 </p><p id... but got Text node "Qrstuvwx" | |
| 3127 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 31 [
foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 3128 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 32 [
foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 3129 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 33 [
foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3130 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 34 [
foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3131 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 35 [
paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3132 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3133 " | |
| 3134 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 36 [
paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3135 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3136 " | |
| 3137 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 37 [
paras[0], 2] | |
| 3138 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 38 [
paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="b" style="display:none">Ijklmnop | |
| 3139 </p> but got Text node "Qrstuvwx" | |
| 3140 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 39 [
paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="b" style="display:none">Ijklmnop | |
| 3141 </p> but got Text node "Qrstuvwx" | |
| 3142 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 40 [
paras[1], 2] | |
| 3143 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 41 [
detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 3144 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 42 [
detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 3145 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 43 [
testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3146 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3147 " | |
| 3148 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 44 [
testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3149 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3150 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 45 [
document, -1] | |
| 3151 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 46 [
document, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3152 " | |
| 3153 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 47 [
document, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3154 " | |
| 3155 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 48 [
document, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Qrstuvwx" | |
| 3156 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 49 [
document, 3] | |
| 3157 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 50 [
comment, -1] | |
| 3158 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 51 [
comment, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3159 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 52 [
comment, 4] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3160 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 53 [
comment, 96] | |
| 3161 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3162 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3163 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 3164 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3165 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3166 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 59 [
xmlDoc, -1] | |
| 3167 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3168 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3169 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 62 [
xmlDoc, 5] | |
| 3170 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 63 [
xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3171 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 64 [
xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3172 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 65 [
processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 3173 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 66 [
processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 3174 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 67 [
processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 3175 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 68 [
detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3176 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 69 [
detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3177 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 70 [
detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3178 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 71 [
detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3179 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 72 [
detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 3180 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 73 [
detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 3181 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 74 [
detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | |
| 3182 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 75 [
detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3183 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 76 [
detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3184 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 77 [
detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 3185 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 78 [
detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 3186 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 79 [
detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 3187 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 80 [
docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3188 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 81 [
foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 3189 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3190 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 83 [
doctype, 0] | |
| 3191 FAIL Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | |
| 3192 selection.collapse(point[0], point[1]); | |
| 3193 }" 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 | |
| 3194 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 85 [
doctype, 1] | |
| 3195 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 86 [
foreignDoctype, 0] | |
| 3196 PASS Range 53 [detachedForeignComment, 0, detachedForeignComment, 1], point 87 [
xmlDoctype, 0] | |
| 3197 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 0 [p
aras[0].firstChild, -1] | |
| 3198 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 1 [p
aras[0].firstChild, 0] | |
| 3199 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 2 [p
aras[0].firstChild, 1] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 1 but got 2 | |
| 3200 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 3 [p
aras[0].firstChild, 2] | |
| 3201 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 4 [p
aras[0].firstChild, 8] | |
| 3202 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 5 [p
aras[0].firstChild, 9] assert_equals: focusOffset must equal the offset we colla
pse()d to expected 9 but got 10 | |
| 3203 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 6 [p
aras[0].firstChild, 10] | |
| 3204 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 7 [p
aras[0].firstChild, 65535] | |
| 3205 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 8 [p
aras[1].firstChild, -1] | |
| 3206 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 9 [p
aras[1].firstChild, 0] assert_equals: focusNode must equal the node we collapse(
)d to expected Text node "Ijklmnop | |
| 3207 " but got Text node "Qrstuvwx" | |
| 3208 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 10 [
paras[1].firstChild, 1] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3209 " but got Text node "Qrstuvwx" | |
| 3210 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 11 [
paras[1].firstChild, 2] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3211 " but got Text node "Qrstuvwx" | |
| 3212 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 12 [
paras[1].firstChild, 8] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3213 " but got Text node "Qrstuvwx" | |
| 3214 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 13 [
paras[1].firstChild, 9] assert_equals: focusNode must equal the node we collapse
()d to expected Text node "Ijklmnop | |
| 3215 " but got Text node "Qrstuvwx" | |
| 3216 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 14 [
paras[1].firstChild, 10] | |
| 3217 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 15 [
paras[1].firstChild, 65535] | |
| 3218 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 16 [
detachedPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 3219 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 17 [
detachedPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 3220 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 18 [
detachedPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 af
ter collapse() expected 1 but got 0 | |
| 3221 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 19 [
detachedPara1.firstChild, 9] | |
| 3222 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 20 [
foreignPara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3223 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 21 [
foreignPara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3224 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 22 [
foreignPara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3225 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 23 [
foreignPara1.firstChild, 9] | |
| 3226 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 24 [
document.documentElement, -1] | |
| 3227 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 25 [
document.documentElement, 0] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3228 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3229 " | |
| 3230 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 26 [
document.documentElement, 1] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3231 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3232 " | |
| 3233 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 27 [
document.documentElement, 2] assert_equals: focusNode must equal the node we col
lapse()d to expected Element node <html><head><title>Selection.collapse() tests<
/title> | |
| 3234 <me... but got Text node "Qrstuvwx" | |
| 3235 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 28 [
document.documentElement, 7] | |
| 3236 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], 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> | |
| 3237 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3238 " | |
| 3239 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], 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̈ḧ | |
| 3240 </p><p id... but got Text node "Qrstuvwx" | |
| 3241 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 31 [
foreignDoc.documentElement, 0] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 3242 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 32 [
foreignDoc.documentElement, 1] assert_equals: selection.rangeCount must equal 1
after collapse() expected 1 but got 0 | |
| 3243 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 33 [
foreignDoc.head, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3244 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 34 [
foreignDoc.body, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3245 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 35 [
paras[0], 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3246 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3247 " | |
| 3248 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 36 [
paras[0], 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3249 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3250 " | |
| 3251 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 37 [
paras[0], 2] | |
| 3252 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 38 [
paras[1], 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="b" style="display:none">Ijklmnop | |
| 3253 </p> but got Text node "Qrstuvwx" | |
| 3254 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 39 [
paras[1], 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <p id="b" style="display:none">Ijklmnop | |
| 3255 </p> but got Text node "Qrstuvwx" | |
| 3256 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 40 [
paras[1], 2] | |
| 3257 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 41 [
detachedPara1, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 3258 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 42 [
detachedPara1, 1] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 3259 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 43 [
testDiv, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3260 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3261 " | |
| 3262 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 44 [
testDiv, 3] assert_equals: focusNode must equal the node we collapse()d to expec
ted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3263 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3264 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 45 [
document, -1] | |
| 3265 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 46 [
document, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3266 " | |
| 3267 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 47 [
document, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3268 " | |
| 3269 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 48 [
document, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Document node with 2 children but got Text node "Qrstuvwx" | |
| 3270 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 49 [
document, 3] | |
| 3271 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 50 [
comment, -1] | |
| 3272 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 51 [
comment, 0] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3273 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 52 [
comment, 4] assert_equals: focusNode must equal the node we collapse()d to expec
ted Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3274 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 53 [
comment, 96] | |
| 3275 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 54 [
foreignDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3276 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 55 [
foreignDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3277 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 56 [
foreignComment, 2] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 3278 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 57 [
foreignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3279 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 58 [
foreignTextNode, 36] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3280 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 59 [
xmlDoc, -1] | |
| 3281 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 60 [
xmlDoc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3282 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 61 [
xmlDoc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3283 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 62 [
xmlDoc, 5] | |
| 3284 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 63 [
xmlComment, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3285 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 64 [
xmlComment, 4] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3286 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 65 [
processingInstruction, 0] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 3287 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 66 [
processingInstruction, 5] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 3288 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 67 [
processingInstruction, 9] assert_equals: selection.rangeCount must equal 1 after
collapse() expected 1 but got 0 | |
| 3289 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 68 [
detachedTextNode, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3290 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 69 [
detachedTextNode, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3291 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 70 [
detachedForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3292 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 71 [
detachedForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 aft
er collapse() expected 1 but got 0 | |
| 3293 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 72 [
detachedXmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 3294 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 73 [
detachedXmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after c
ollapse() expected 1 but got 0 | |
| 3295 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 74 [
detachedProcessingInstruction, 12] assert_equals: selection.rangeCount must equa
l 1 after collapse() expected 1 but got 0 | |
| 3296 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 75 [
detachedComment, 3] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3297 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 76 [
detachedComment, 5] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3298 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 77 [
detachedForeignComment, 0] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 3299 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 78 [
detachedForeignComment, 4] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 3300 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 79 [
detachedXmlComment, 2] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 3301 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 80 [
docfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3302 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 81 [
foreignDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 3303 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 82 [
xmlDocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3304 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 83 [
doctype, 0] | |
| 3305 FAIL Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 84 [
doctype, -17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing
if the node is a DocumentType function "function () { | |
| 3306 selection.collapse(point[0], point[1]); | |
| 3307 }" 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 | |
| 3308 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 85 [
doctype, 1] | |
| 3309 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 86 [
foreignDoctype, 0] | |
| 3310 PASS Range 54 [detachedForeignComment, 4, detachedForeignComment, 4], point 87 [
xmlDoctype, 0] | |
| 3311 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 0 [paras[0].
firstChild, -1] | |
| 3312 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 1 [paras[0].
firstChild, 0] | |
| 3313 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 2 [paras[0].
firstChild, 1] assert_equals: focusOffset must equal the offset we collapse()d t
o expected 1 but got 2 | |
| 3314 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 3 [paras[0].
firstChild, 2] | |
| 3315 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 4 [paras[0].
firstChild, 8] | |
| 3316 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 5 [paras[0].
firstChild, 9] assert_equals: focusOffset must equal the offset we collapse()d t
o expected 9 but got 10 | |
| 3317 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 6 [paras[0].
firstChild, 10] | |
| 3318 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 7 [paras[0].
firstChild, 65535] | |
| 3319 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 8 [paras[1].
firstChild, -1] | |
| 3320 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 9 [paras[1].
firstChild, 0] assert_equals: focusNode must equal the node we collapse()d to ex
pected Text node "Ijklmnop | |
| 3321 " but got Text node "Qrstuvwx" | |
| 3322 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 10 [paras[1]
.firstChild, 1] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 3323 " but got Text node "Qrstuvwx" | |
| 3324 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 11 [paras[1]
.firstChild, 2] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 3325 " but got Text node "Qrstuvwx" | |
| 3326 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 12 [paras[1]
.firstChild, 8] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 3327 " but got Text node "Qrstuvwx" | |
| 3328 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 13 [paras[1]
.firstChild, 9] assert_equals: focusNode must equal the node we collapse()d to e
xpected Text node "Ijklmnop | |
| 3329 " but got Text node "Qrstuvwx" | |
| 3330 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 14 [paras[1]
.firstChild, 10] | |
| 3331 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 15 [paras[1]
.firstChild, 65535] | |
| 3332 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 16 [detached
Para1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3333 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 17 [detached
Para1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3334 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 18 [detached
Para1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after coll
apse() expected 1 but got 0 | |
| 3335 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 19 [detached
Para1.firstChild, 9] | |
| 3336 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 20 [foreignP
ara1.firstChild, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3337 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 21 [foreignP
ara1.firstChild, 1] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3338 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 22 [foreignP
ara1.firstChild, 8] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3339 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 23 [foreignP
ara1.firstChild, 9] | |
| 3340 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 24 [document
.documentElement, -1] | |
| 3341 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], 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> | |
| 3342 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3343 " | |
| 3344 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], 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> | |
| 3345 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3346 " | |
| 3347 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], 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> | |
| 3348 <me... but got Text node "Qrstuvwx" | |
| 3349 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 28 [document
.documentElement, 7] | |
| 3350 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 29 [document
.head, 1] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <head><title>Selection.collapse() tests</title> | |
| 3351 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3352 " | |
| 3353 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 30 [document
.body, 3] assert_equals: focusNode must equal the node we collapse()d to expecte
d Element node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3354 </p><p id... but got Text node "Qrstuvwx" | |
| 3355 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 31 [foreignD
oc.documentElement, 0] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 3356 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 32 [foreignD
oc.documentElement, 1] assert_equals: selection.rangeCount must equal 1 after co
llapse() expected 1 but got 0 | |
| 3357 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 33 [foreignD
oc.head, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3358 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 34 [foreignD
oc.body, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3359 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 35 [paras[0]
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3360 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3361 " | |
| 3362 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 36 [paras[0]
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3363 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3364 " | |
| 3365 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 37 [paras[0]
, 2] | |
| 3366 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 38 [paras[1]
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <p id="b" style="display:none">Ijklmnop | |
| 3367 </p> but got Text node "Qrstuvwx" | |
| 3368 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 39 [paras[1]
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <p id="b" style="display:none">Ijklmnop | |
| 3369 </p> but got Text node "Qrstuvwx" | |
| 3370 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 40 [paras[1]
, 2] | |
| 3371 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 41 [detached
Para1, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3372 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 42 [detached
Para1, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3373 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 43 [testDiv,
0] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3374 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3375 " | |
| 3376 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 44 [testDiv,
3] assert_equals: focusNode must equal the node we collapse()d to expected Elem
ent node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3377 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3378 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 45 [document
, -1] | |
| 3379 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 46 [document
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3380 " | |
| 3381 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 47 [document
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3382 " | |
| 3383 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 48 [document
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Doc
ument node with 2 children but got Text node "Qrstuvwx" | |
| 3384 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 49 [document
, 3] | |
| 3385 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 50 [comment,
-1] | |
| 3386 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 51 [comment,
0] assert_equals: focusNode must equal the node we collapse()d to expected Comm
ent node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3387 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 52 [comment,
4] assert_equals: focusNode must equal the node we collapse()d to expected Comm
ent node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3388 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 53 [comment,
96] | |
| 3389 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 54 [foreignD
oc, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3390 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 55 [foreignD
oc, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3391 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 56 [foreignC
omment, 2] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3392 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 57 [foreignT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3393 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 58 [foreignT
extNode, 36] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3394 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 59 [xmlDoc,
-1] | |
| 3395 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 60 [xmlDoc,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3396 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 61 [xmlDoc,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3397 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 62 [xmlDoc,
5] | |
| 3398 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 63 [xmlComme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3399 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 64 [xmlComme
nt, 4] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3400 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 65 [processi
ngInstruction, 0] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 3401 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 66 [processi
ngInstruction, 5] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 3402 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 67 [processi
ngInstruction, 9] assert_equals: selection.rangeCount must equal 1 after collaps
e() expected 1 but got 0 | |
| 3403 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 68 [detached
TextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3404 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 69 [detached
TextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3405 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 70 [detached
ForeignTextNode, 0] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3406 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 71 [detached
ForeignTextNode, 8] assert_equals: selection.rangeCount must equal 1 after colla
pse() expected 1 but got 0 | |
| 3407 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 72 [detached
XmlTextNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 3408 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 73 [detached
XmlTextNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse(
) expected 1 but got 0 | |
| 3409 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 74 [detached
ProcessingInstruction, 12] assert_equals: selection.rangeCount must equal 1 afte
r collapse() expected 1 but got 0 | |
| 3410 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 75 [detached
Comment, 3] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3411 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 76 [detached
Comment, 5] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3412 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 77 [detached
ForeignComment, 0] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 3413 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 78 [detached
ForeignComment, 4] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 3414 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 79 [detached
XmlComment, 2] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3415 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 80 [docfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3416 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 81 [foreignD
ocfrag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3417 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 82 [xmlDocfr
ag, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3418 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 83 [doctype,
0] | |
| 3419 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 84 [doctype,
-17] assert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the
node is a DocumentType function "function () { | |
| 3420 selection.collapse(point[0], point[1]); | |
| 3421 }" 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 | |
| 3422 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 85 [doctype,
1] | |
| 3423 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 86 [foreignD
octype, 0] | |
| 3424 PASS Range 55 [detachedXmlComment, 2, detachedXmlComment, 6], point 87 [xmlDocty
pe, 0] | |
| 3425 PASS Range 56 [docfrag, 0, docfrag, 0], point 0 [paras[0].firstChild, -1] | |
| 3426 PASS Range 56 [docfrag, 0, docfrag, 0], point 1 [paras[0].firstChild, 0] | |
| 3427 FAIL Range 56 [docfrag, 0, docfrag, 0], point 2 [paras[0].firstChild, 1] assert_
equals: focusOffset must equal the offset we collapse()d to expected 1 but got 2 | |
| 3428 PASS Range 56 [docfrag, 0, docfrag, 0], point 3 [paras[0].firstChild, 2] | |
| 3429 PASS Range 56 [docfrag, 0, docfrag, 0], point 4 [paras[0].firstChild, 8] | |
| 3430 FAIL Range 56 [docfrag, 0, docfrag, 0], point 5 [paras[0].firstChild, 9] assert_
equals: focusOffset must equal the offset we collapse()d to expected 9 but got 1
0 | |
| 3431 PASS Range 56 [docfrag, 0, docfrag, 0], point 6 [paras[0].firstChild, 10] | |
| 3432 PASS Range 56 [docfrag, 0, docfrag, 0], point 7 [paras[0].firstChild, 65535] | |
| 3433 PASS Range 56 [docfrag, 0, docfrag, 0], point 8 [paras[1].firstChild, -1] | |
| 3434 FAIL Range 56 [docfrag, 0, docfrag, 0], point 9 [paras[1].firstChild, 0] assert_
equals: focusNode must equal the node we collapse()d to expected Text node "Ijkl
mnop | |
| 3435 " but got Text node "Qrstuvwx" | |
| 3436 FAIL Range 56 [docfrag, 0, docfrag, 0], point 10 [paras[1].firstChild, 1] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 3437 " but got Text node "Qrstuvwx" | |
| 3438 FAIL Range 56 [docfrag, 0, docfrag, 0], point 11 [paras[1].firstChild, 2] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 3439 " but got Text node "Qrstuvwx" | |
| 3440 FAIL Range 56 [docfrag, 0, docfrag, 0], point 12 [paras[1].firstChild, 8] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 3441 " but got Text node "Qrstuvwx" | |
| 3442 FAIL Range 56 [docfrag, 0, docfrag, 0], point 13 [paras[1].firstChild, 9] assert
_equals: focusNode must equal the node we collapse()d to expected Text node "Ijk
lmnop | |
| 3443 " but got Text node "Qrstuvwx" | |
| 3444 PASS Range 56 [docfrag, 0, docfrag, 0], point 14 [paras[1].firstChild, 10] | |
| 3445 PASS Range 56 [docfrag, 0, docfrag, 0], point 15 [paras[1].firstChild, 65535] | |
| 3446 FAIL Range 56 [docfrag, 0, docfrag, 0], point 16 [detachedPara1.firstChild, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3447 FAIL Range 56 [docfrag, 0, docfrag, 0], point 17 [detachedPara1.firstChild, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3448 FAIL Range 56 [docfrag, 0, docfrag, 0], point 18 [detachedPara1.firstChild, 8] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3449 PASS Range 56 [docfrag, 0, docfrag, 0], point 19 [detachedPara1.firstChild, 9] | |
| 3450 FAIL Range 56 [docfrag, 0, docfrag, 0], point 20 [foreignPara1.firstChild, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 3451 FAIL Range 56 [docfrag, 0, docfrag, 0], point 21 [foreignPara1.firstChild, 1] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 3452 FAIL Range 56 [docfrag, 0, docfrag, 0], point 22 [foreignPara1.firstChild, 8] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 3453 PASS Range 56 [docfrag, 0, docfrag, 0], point 23 [foreignPara1.firstChild, 9] | |
| 3454 PASS Range 56 [docfrag, 0, docfrag, 0], point 24 [document.documentElement, -1] | |
| 3455 FAIL Range 56 [docfrag, 0, docfrag, 0], point 25 [document.documentElement, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 3456 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3457 " | |
| 3458 FAIL Range 56 [docfrag, 0, docfrag, 0], point 26 [document.documentElement, 1] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 3459 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3460 " | |
| 3461 FAIL Range 56 [docfrag, 0, docfrag, 0], point 27 [document.documentElement, 2] a
ssert_equals: focusNode must equal the node we collapse()d to expected Element n
ode <html><head><title>Selection.collapse() tests</title> | |
| 3462 <me... but got Text node "Qrstuvwx" | |
| 3463 PASS Range 56 [docfrag, 0, docfrag, 0], point 28 [document.documentElement, 7] | |
| 3464 FAIL Range 56 [docfrag, 0, docfrag, 0], point 29 [document.head, 1] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <head><
title>Selection.collapse() tests</title> | |
| 3465 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3466 " | |
| 3467 FAIL Range 56 [docfrag, 0, docfrag, 0], point 30 [document.body, 3] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <body><
div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3468 </p><p id... but got Text node "Qrstuvwx" | |
| 3469 FAIL Range 56 [docfrag, 0, docfrag, 0], point 31 [foreignDoc.documentElement, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3470 FAIL Range 56 [docfrag, 0, docfrag, 0], point 32 [foreignDoc.documentElement, 1]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 bu
t got 0 | |
| 3471 FAIL Range 56 [docfrag, 0, docfrag, 0], point 33 [foreignDoc.head, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3472 FAIL Range 56 [docfrag, 0, docfrag, 0], point 34 [foreignDoc.body, 1] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3473 FAIL Range 56 [docfrag, 0, docfrag, 0], point 35 [paras[0], 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | |
| 3474 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3475 " | |
| 3476 FAIL Range 56 [docfrag, 0, docfrag, 0], point 36 [paras[0], 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="a">Ä
b̈c̈d̈ëf̈g̈ḧ | |
| 3477 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3478 " | |
| 3479 PASS Range 56 [docfrag, 0, docfrag, 0], point 37 [paras[0], 2] | |
| 3480 FAIL Range 56 [docfrag, 0, docfrag, 0], point 38 [paras[1], 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="b" st
yle="display:none">Ijklmnop | |
| 3481 </p> but got Text node "Qrstuvwx" | |
| 3482 FAIL Range 56 [docfrag, 0, docfrag, 0], point 39 [paras[1], 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Element node <p id="b" st
yle="display:none">Ijklmnop | |
| 3483 </p> but got Text node "Qrstuvwx" | |
| 3484 PASS Range 56 [docfrag, 0, docfrag, 0], point 40 [paras[1], 2] | |
| 3485 FAIL Range 56 [docfrag, 0, docfrag, 0], point 41 [detachedPara1, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3486 FAIL Range 56 [docfrag, 0, docfrag, 0], point 42 [detachedPara1, 1] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3487 FAIL Range 56 [docfrag, 0, docfrag, 0], point 43 [testDiv, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Element node <div id="test
"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3488 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3489 " | |
| 3490 FAIL Range 56 [docfrag, 0, docfrag, 0], point 44 [testDiv, 3] assert_equals: foc
usNode must equal the node we collapse()d to expected Element node <div id="test
"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3491 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3492 PASS Range 56 [docfrag, 0, docfrag, 0], point 45 [document, -1] | |
| 3493 FAIL Range 56 [docfrag, 0, docfrag, 0], point 46 [document, 0] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3494 " | |
| 3495 FAIL Range 56 [docfrag, 0, docfrag, 0], point 47 [document, 1] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3496 " | |
| 3497 FAIL Range 56 [docfrag, 0, docfrag, 0], point 48 [document, 2] assert_equals: fo
cusNode must equal the node we collapse()d to expected Document node with 2 chil
dren but got Text node "Qrstuvwx" | |
| 3498 PASS Range 56 [docfrag, 0, docfrag, 0], point 49 [document, 3] | |
| 3499 PASS Range 56 [docfrag, 0, docfrag, 0], point 50 [comment, -1] | |
| 3500 FAIL Range 56 [docfrag, 0, docfrag, 0], point 51 [comment, 0] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | |
| 3501 FAIL Range 56 [docfrag, 0, docfrag, 0], point 52 [comment, 4] assert_equals: foc
usNode must equal the node we collapse()d to expected Comment node <!--Alphabet
soup?--> but got Text node "Qrstuvwx" | |
| 3502 PASS Range 56 [docfrag, 0, docfrag, 0], point 53 [comment, 96] | |
| 3503 FAIL Range 56 [docfrag, 0, docfrag, 0], point 54 [foreignDoc, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3504 FAIL Range 56 [docfrag, 0, docfrag, 0], point 55 [foreignDoc, 1] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3505 FAIL Range 56 [docfrag, 0, docfrag, 0], point 56 [foreignComment, 2] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3506 FAIL Range 56 [docfrag, 0, docfrag, 0], point 57 [foreignTextNode, 0] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3507 FAIL Range 56 [docfrag, 0, docfrag, 0], point 58 [foreignTextNode, 36] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3508 PASS Range 56 [docfrag, 0, docfrag, 0], point 59 [xmlDoc, -1] | |
| 3509 FAIL Range 56 [docfrag, 0, docfrag, 0], point 60 [xmlDoc, 0] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3510 FAIL Range 56 [docfrag, 0, docfrag, 0], point 61 [xmlDoc, 1] assert_equals: sele
ction.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3511 PASS Range 56 [docfrag, 0, docfrag, 0], point 62 [xmlDoc, 5] | |
| 3512 FAIL Range 56 [docfrag, 0, docfrag, 0], point 63 [xmlComment, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3513 FAIL Range 56 [docfrag, 0, docfrag, 0], point 64 [xmlComment, 4] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3514 FAIL Range 56 [docfrag, 0, docfrag, 0], point 65 [processingInstruction, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3515 FAIL Range 56 [docfrag, 0, docfrag, 0], point 66 [processingInstruction, 5] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3516 FAIL Range 56 [docfrag, 0, docfrag, 0], point 67 [processingInstruction, 9] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3517 FAIL Range 56 [docfrag, 0, docfrag, 0], point 68 [detachedTextNode, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3518 FAIL Range 56 [docfrag, 0, docfrag, 0], point 69 [detachedTextNode, 8] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3519 FAIL Range 56 [docfrag, 0, docfrag, 0], point 70 [detachedForeignTextNode, 0] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 3520 FAIL Range 56 [docfrag, 0, docfrag, 0], point 71 [detachedForeignTextNode, 8] as
sert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but g
ot 0 | |
| 3521 FAIL Range 56 [docfrag, 0, docfrag, 0], point 72 [detachedXmlTextNode, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3522 FAIL Range 56 [docfrag, 0, docfrag, 0], point 73 [detachedXmlTextNode, 8] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3523 FAIL Range 56 [docfrag, 0, docfrag, 0], point 74 [detachedProcessingInstruction,
12] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3524 FAIL Range 56 [docfrag, 0, docfrag, 0], point 75 [detachedComment, 3] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3525 FAIL Range 56 [docfrag, 0, docfrag, 0], point 76 [detachedComment, 5] assert_equ
als: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3526 FAIL Range 56 [docfrag, 0, docfrag, 0], point 77 [detachedForeignComment, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3527 FAIL Range 56 [docfrag, 0, docfrag, 0], point 78 [detachedForeignComment, 4] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3528 FAIL Range 56 [docfrag, 0, docfrag, 0], point 79 [detachedXmlComment, 2] assert_
equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3529 FAIL Range 56 [docfrag, 0, docfrag, 0], point 80 [docfrag, 0] assert_equals: sel
ection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3530 FAIL Range 56 [docfrag, 0, docfrag, 0], point 81 [foreignDocfrag, 0] assert_equa
ls: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3531 FAIL Range 56 [docfrag, 0, docfrag, 0], point 82 [xmlDocfrag, 0] assert_equals:
selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3532 PASS Range 56 [docfrag, 0, docfrag, 0], point 83 [doctype, 0] | |
| 3533 FAIL Range 56 [docfrag, 0, docfrag, 0], point 84 [doctype, -17] assert_throws: M
ust throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a DocumentType
function "function () { | |
| 3534 selection.collapse(point[0], point[1]); | |
| 3535 }" 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 | |
| 3536 PASS Range 56 [docfrag, 0, docfrag, 0], point 85 [doctype, 1] | |
| 3537 PASS Range 56 [docfrag, 0, docfrag, 0], point 86 [foreignDoctype, 0] | |
| 3538 PASS Range 56 [docfrag, 0, docfrag, 0], point 87 [xmlDoctype, 0] | |
| 3539 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 0 [paras[0].firstChi
ld, -1] | |
| 3540 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 1 [paras[0].firstChi
ld, 0] | |
| 3541 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 2 [paras[0].firstChi
ld, 1] assert_equals: focusOffset must equal the offset we collapse()d to expect
ed 1 but got 2 | |
| 3542 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 3 [paras[0].firstChi
ld, 2] | |
| 3543 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 4 [paras[0].firstChi
ld, 8] | |
| 3544 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 5 [paras[0].firstChi
ld, 9] assert_equals: focusOffset must equal the offset we collapse()d to expect
ed 9 but got 10 | |
| 3545 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 6 [paras[0].firstChi
ld, 10] | |
| 3546 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 7 [paras[0].firstChi
ld, 65535] | |
| 3547 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 8 [paras[1].firstChi
ld, -1] | |
| 3548 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 9 [paras[1].firstChi
ld, 0] assert_equals: focusNode must equal the node we collapse()d to expected T
ext node "Ijklmnop | |
| 3549 " but got Text node "Qrstuvwx" | |
| 3550 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 10 [paras[1].firstCh
ild, 1] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 3551 " but got Text node "Qrstuvwx" | |
| 3552 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 11 [paras[1].firstCh
ild, 2] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 3553 " but got Text node "Qrstuvwx" | |
| 3554 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 12 [paras[1].firstCh
ild, 8] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 3555 " but got Text node "Qrstuvwx" | |
| 3556 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 13 [paras[1].firstCh
ild, 9] assert_equals: focusNode must equal the node we collapse()d to expected
Text node "Ijklmnop | |
| 3557 " but got Text node "Qrstuvwx" | |
| 3558 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 14 [paras[1].firstCh
ild, 10] | |
| 3559 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 15 [paras[1].firstCh
ild, 65535] | |
| 3560 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 16 [detachedPara1.fi
rstChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3561 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 17 [detachedPara1.fi
rstChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3562 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 18 [detachedPara1.fi
rstChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() e
xpected 1 but got 0 | |
| 3563 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 19 [detachedPara1.fi
rstChild, 9] | |
| 3564 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 20 [foreignPara1.fir
stChild, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3565 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 21 [foreignPara1.fir
stChild, 1] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3566 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 22 [foreignPara1.fir
stChild, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3567 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 23 [foreignPara1.fir
stChild, 9] | |
| 3568 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 24 [document.documen
tElement, -1] | |
| 3569 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 25 [document.documen
tElement, 0] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> | |
| 3570 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3571 " | |
| 3572 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 26 [document.documen
tElement, 1] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> | |
| 3573 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3574 " | |
| 3575 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 27 [document.documen
tElement, 2] assert_equals: focusNode must equal the node we collapse()d to expe
cted Element node <html><head><title>Selection.collapse() tests</title> | |
| 3576 <me... but got Text node "Qrstuvwx" | |
| 3577 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 28 [document.documen
tElement, 7] | |
| 3578 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 29 [document.head, 1
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <head><title>Selection.collapse() tests</title> | |
| 3579 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3580 " | |
| 3581 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 30 [document.body, 3
] assert_equals: focusNode must equal the node we collapse()d to expected Elemen
t node <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3582 </p><p id... but got Text node "Qrstuvwx" | |
| 3583 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 31 [foreignDoc.docum
entElement, 0] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3584 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 32 [foreignDoc.docum
entElement, 1] assert_equals: selection.rangeCount must equal 1 after collapse()
expected 1 but got 0 | |
| 3585 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 33 [foreignDoc.head,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3586 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 34 [foreignDoc.body,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3587 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 35 [paras[0], 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3588 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3589 " | |
| 3590 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 36 [paras[0], 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3591 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3592 " | |
| 3593 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 37 [paras[0], 2] | |
| 3594 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 38 [paras[1], 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <p id="b" style="display:none">Ijklmnop | |
| 3595 </p> but got Text node "Qrstuvwx" | |
| 3596 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 39 [paras[1], 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Element nod
e <p id="b" style="display:none">Ijklmnop | |
| 3597 </p> but got Text node "Qrstuvwx" | |
| 3598 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 40 [paras[1], 2] | |
| 3599 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 41 [detachedPara1, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 3600 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 42 [detachedPara1, 1
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 3601 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 43 [testDiv, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3602 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3603 " | |
| 3604 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 44 [testDiv, 3] asse
rt_equals: focusNode must equal the node we collapse()d to expected Element node
<div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3605 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3606 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 45 [document, -1] | |
| 3607 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 46 [document, 0] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3608 " | |
| 3609 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 47 [document, 1] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3610 " | |
| 3611 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 48 [document, 2] ass
ert_equals: focusNode must equal the node we collapse()d to expected Document no
de with 2 children but got Text node "Qrstuvwx" | |
| 3612 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 49 [document, 3] | |
| 3613 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 50 [comment, -1] | |
| 3614 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 51 [comment, 0] asse
rt_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3615 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 52 [comment, 4] asse
rt_equals: focusNode must equal the node we collapse()d to expected Comment node
<!--Alphabet soup?--> but got Text node "Qrstuvwx" | |
| 3616 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 53 [comment, 96] | |
| 3617 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 54 [foreignDoc, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3618 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 55 [foreignDoc, 1] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3619 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 56 [foreignComment,
2] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3620 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 57 [foreignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3621 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 58 [foreignTextNode,
36] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3622 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 59 [xmlDoc, -1] | |
| 3623 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 60 [xmlDoc, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3624 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 61 [xmlDoc, 1] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3625 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 62 [xmlDoc, 5] | |
| 3626 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 63 [xmlComment, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3627 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 64 [xmlComment, 4] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3628 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 65 [processingInstru
ction, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3629 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 66 [processingInstru
ction, 5] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3630 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 67 [processingInstru
ction, 9] assert_equals: selection.rangeCount must equal 1 after collapse() expe
cted 1 but got 0 | |
| 3631 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 68 [detachedTextNode
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3632 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 69 [detachedTextNode
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3633 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 70 [detachedForeignT
extNode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3634 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 71 [detachedForeignT
extNode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() ex
pected 1 but got 0 | |
| 3635 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 72 [detachedXmlTextN
ode, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 3636 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 73 [detachedXmlTextN
ode, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expect
ed 1 but got 0 | |
| 3637 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 74 [detachedProcessi
ngInstruction, 12] assert_equals: selection.rangeCount must equal 1 after collap
se() expected 1 but got 0 | |
| 3638 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 75 [detachedComment,
3] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3639 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 76 [detachedComment,
5] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3640 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 77 [detachedForeignC
omment, 0] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3641 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 78 [detachedForeignC
omment, 4] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3642 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 79 [detachedXmlComme
nt, 2] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3643 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 80 [docfrag, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3644 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 81 [foreignDocfrag,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3645 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 82 [xmlDocfrag, 0] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3646 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 83 [doctype, 0] | |
| 3647 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 84 [doctype, -17] as
sert_throws: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is
a DocumentType function "function () { | |
| 3648 selection.collapse(point[0], point[1]); | |
| 3649 }" 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 | |
| 3650 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 85 [doctype, 1] | |
| 3651 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 86 [foreignDoctype,
0] | |
| 3652 PASS Range 57 [foreignDocfrag, 0, foreignDocfrag, 0], point 87 [xmlDoctype, 0] | |
| 3653 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 0 [paras[0].firstChild, -1] | |
| 3654 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 1 [paras[0].firstChild, 0] | |
| 3655 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 2 [paras[0].firstChild, 1] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 1 but
got 2 | |
| 3656 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 3 [paras[0].firstChild, 2] | |
| 3657 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 4 [paras[0].firstChild, 8] | |
| 3658 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 5 [paras[0].firstChild, 9] a
ssert_equals: focusOffset must equal the offset we collapse()d to expected 9 but
got 10 | |
| 3659 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 6 [paras[0].firstChild, 10] | |
| 3660 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 7 [paras[0].firstChild, 6553
5] | |
| 3661 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 8 [paras[1].firstChild, -1] | |
| 3662 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 9 [paras[1].firstChild, 0] a
ssert_equals: focusNode must equal the node we collapse()d to expected Text node
"Ijklmnop | |
| 3663 " but got Text node "Qrstuvwx" | |
| 3664 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 10 [paras[1].firstChild, 1]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 3665 " but got Text node "Qrstuvwx" | |
| 3666 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 11 [paras[1].firstChild, 2]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 3667 " but got Text node "Qrstuvwx" | |
| 3668 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 12 [paras[1].firstChild, 8]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 3669 " but got Text node "Qrstuvwx" | |
| 3670 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 13 [paras[1].firstChild, 9]
assert_equals: focusNode must equal the node we collapse()d to expected Text nod
e "Ijklmnop | |
| 3671 " but got Text node "Qrstuvwx" | |
| 3672 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 14 [paras[1].firstChild, 10]
| |
| 3673 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 15 [paras[1].firstChild, 655
35] | |
| 3674 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 16 [detachedPara1.firstChild
, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3675 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 17 [detachedPara1.firstChild
, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3676 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 18 [detachedPara1.firstChild
, 8] assert_equals: selection.rangeCount must equal 1 after collapse() expected
1 but got 0 | |
| 3677 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 19 [detachedPara1.firstChild
, 9] | |
| 3678 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 20 [foreignPara1.firstChild,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3679 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 21 [foreignPara1.firstChild,
1] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3680 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 22 [foreignPara1.firstChild,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3681 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 23 [foreignPara1.firstChild,
9] | |
| 3682 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 24 [document.documentElement
, -1] | |
| 3683 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 25 [document.documentElement
, 0] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 3684 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3685 " | |
| 3686 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 26 [document.documentElement
, 1] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 3687 <me... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3688 " | |
| 3689 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 27 [document.documentElement
, 2] assert_equals: focusNode must equal the node we collapse()d to expected Ele
ment node <html><head><title>Selection.collapse() tests</title> | |
| 3690 <me... but got Text node "Qrstuvwx" | |
| 3691 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 28 [document.documentElement
, 7] | |
| 3692 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 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> | |
| 3693 <meta nam... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3694 " | |
| 3695 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 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̈ḧ | |
| 3696 </p><p id... but got Text node "Qrstuvwx" | |
| 3697 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 31 [foreignDoc.documentEleme
nt, 0] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3698 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 32 [foreignDoc.documentEleme
nt, 1] assert_equals: selection.rangeCount must equal 1 after collapse() expecte
d 1 but got 0 | |
| 3699 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 33 [foreignDoc.head, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3700 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 34 [foreignDoc.body, 1] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3701 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 35 [paras[0], 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3702 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3703 " | |
| 3704 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 36 [paras[0], 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3705 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3706 " | |
| 3707 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 37 [paras[0], 2] | |
| 3708 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 38 [paras[1], 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"b" style="display:none">Ijklmnop | |
| 3709 </p> but got Text node "Qrstuvwx" | |
| 3710 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 39 [paras[1], 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Element node <p id=
"b" style="display:none">Ijklmnop | |
| 3711 </p> but got Text node "Qrstuvwx" | |
| 3712 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 40 [paras[1], 2] | |
| 3713 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 41 [detachedPara1, 0] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3714 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 42 [detachedPara1, 1] assert
_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3715 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 43 [testDiv, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <div id
="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3716 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3717 " | |
| 3718 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 44 [testDiv, 3] assert_equal
s: focusNode must equal the node we collapse()d to expected Element node <div id
="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | |
| 3719 </p><p id="b" s... but got Text node "Qrstuvwx" | |
| 3720 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 45 [document, -1] | |
| 3721 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 46 [document, 0] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3722 " | |
| 3723 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 47 [document, 1] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
| 3724 " | |
| 3725 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 48 [document, 2] assert_equa
ls: focusNode must equal the node we collapse()d to expected Document node with
2 children but got Text node "Qrstuvwx" | |
| 3726 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 49 [document, 3] | |
| 3727 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 50 [comment, -1] | |
| 3728 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 51 [comment, 0] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | |
| 3729 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 52 [comment, 4] assert_equal
s: focusNode must equal the node we collapse()d to expected Comment node <!--Alp
habet soup?--> but got Text node "Qrstuvwx" | |
| 3730 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 53 [comment, 96] | |
| 3731 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 54 [foreignDoc, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3732 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 55 [foreignDoc, 1] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3733 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 56 [foreignComment, 2] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3734 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 57 [foreignTextNode, 0] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3735 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 58 [foreignTextNode, 36] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3736 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 59 [xmlDoc, -1] | |
| 3737 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 60 [xmlDoc, 0] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3738 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 61 [xmlDoc, 1] assert_equals
: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3739 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 62 [xmlDoc, 5] | |
| 3740 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 63 [xmlComment, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3741 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 64 [xmlComment, 4] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3742 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 65 [processingInstruction, 0
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 3743 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 66 [processingInstruction, 5
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 3744 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 67 [processingInstruction, 9
] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 b
ut got 0 | |
| 3745 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 68 [detachedTextNode, 0] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3746 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 69 [detachedTextNode, 8] ass
ert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but go
t 0 | |
| 3747 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 70 [detachedForeignTextNode,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3748 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 71 [detachedForeignTextNode,
8] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3749 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 72 [detachedXmlTextNode, 0]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3750 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 73 [detachedXmlTextNode, 8]
assert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3751 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 74 [detachedProcessingInstru
ction, 12] assert_equals: selection.rangeCount must equal 1 after collapse() exp
ected 1 but got 0 | |
| 3752 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 75 [detachedComment, 3] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3753 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 76 [detachedComment, 5] asse
rt_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3754 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 77 [detachedForeignComment,
0] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3755 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 78 [detachedForeignComment,
4] assert_equals: selection.rangeCount must equal 1 after collapse() expected 1
but got 0 | |
| 3756 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 79 [detachedXmlComment, 2] a
ssert_equals: selection.rangeCount must equal 1 after collapse() expected 1 but
got 0 | |
| 3757 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 80 [docfrag, 0] assert_equal
s: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3758 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 81 [foreignDocfrag, 0] asser
t_equals: selection.rangeCount must equal 1 after collapse() expected 1 but got
0 | |
| 3759 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 82 [xmlDocfrag, 0] assert_eq
uals: selection.rangeCount must equal 1 after collapse() expected 1 but got 0 | |
| 3760 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 83 [doctype, 0] | |
| 3761 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 84 [doctype, -17] assert_thr
ows: Must throw INVALID_NODE_TYPE_ERR when collapse()ing if the node is a Docume
ntType function "function () { | |
| 3762 selection.collapse(point[0], point[1]); | |
| 3763 }" 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 | |
| 3764 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 85 [doctype, 1] | |
| 3765 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 86 [foreignDoctype, 0] | |
| 3766 PASS Range 58 [xmlDocfrag, 0, xmlDocfrag, 0], point 87 [xmlDoctype, 0] | |
| 3767 Harness: the test ran to completion. | |
| 3768 | |
| OLD | NEW |