LibWeb: Handle cases with <template> on the HTML parsing stack

This appears to have been a bug in the spec which was later corrected -
so to fix the crash we can simply remove this assertion.

Fixes: #868
This commit is contained in:
Shannon Booth 2024-08-17 04:55:02 +12:00 committed by Tim Ledbetter
commit 07940a89ca
Notes: github-actions[bot] 2024-08-16 21:39:13 +00:00
3 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,7 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x16 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x0 children: not-inline
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x16]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x0]