Commit 0d42819
committed
HTML API: Step past closing HTML, BODY tags
The HTML specification does not close HTML or BODY tags (pop them off the stack of open elements) when their tag closers are encountered. The HTML processor correctly handled this behavior, however it incorrectly "paused" by returning true from the step functions.
Props jonsurrell, dmsnell, gziolo.
Fixes #62583.
git-svn-id: https://develop.svn.wordpress.org/trunk@59500 602fd350-edb4-49c9-b593-d223f7449a821 parent a1079b6 commit 0d42819
1 file changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2318 | 2318 | | |
2319 | 2319 | | |
2320 | 2320 | | |
2321 | | - | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
2322 | 2329 | | |
2323 | 2330 | | |
2324 | 2331 | | |
| |||
4391 | 4398 | | |
4392 | 4399 | | |
4393 | 4400 | | |
4394 | | - | |
| 4401 | + | |
| 4402 | + | |
| 4403 | + | |
| 4404 | + | |
| 4405 | + | |
| 4406 | + | |
| 4407 | + | |
| 4408 | + | |
4395 | 4409 | | |
4396 | 4410 | | |
4397 | 4411 | | |
| |||
4586 | 4600 | | |
4587 | 4601 | | |
4588 | 4602 | | |
4589 | | - | |
| 4603 | + | |
| 4604 | + | |
| 4605 | + | |
| 4606 | + | |
| 4607 | + | |
| 4608 | + | |
| 4609 | + | |
| 4610 | + | |
4590 | 4611 | | |
4591 | 4612 | | |
4592 | 4613 | | |
| |||
0 commit comments