Commit eeb121d
committed
PICKME: Ensure that nodes are correctly processed in HTML content
This condition:
> Reprocess the token according to the rules given in the section
> corresponding to the current insertion mode in HTML content.
Was resulting in an infinite loop in fragment cases. In full documents,
after popping nodes the context is always moved so that foreign content
parsing is not used. This is not guaranteed in a fragment and could
cause an infinite loop.1 parent 341b02f commit eeb121d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4557 | 4557 | | |
4558 | 4558 | | |
4559 | 4559 | | |
4560 | | - | |
| 4560 | + | |
4561 | 4561 | | |
4562 | 4562 | | |
4563 | 4563 | | |
| |||
4633 | 4633 | | |
4634 | 4634 | | |
4635 | 4635 | | |
| 4636 | + | |
4636 | 4637 | | |
4637 | 4638 | | |
4638 | 4639 | | |
| |||
0 commit comments