ladybird/Tests/LibWeb/Text/expected/wpt-import/shadow-dom
Andreas Kling 27efb3b140 LibWeb: When declarative shadow attachment fails, continue in right spot
If attachment fails for whatever reason (e.g the host element is not
allowed to be a host), the HTML spec tells us to insert the template
element anyway and proceed.

Before this change, we were recomputing the insertion location at this
point, which caused it to be *inside* the template element. Inserting
the template element into itself didn't work, and so the DOM would end
up incorrect.

The fix here is to simply use the insertion point we determined earlier
in the same function, before putting a template element on the stack of
open elements. We already do this elsewhere.

Fixes at least 228 subtests on WPT. :^)
2025-04-25 11:01:17 +02:00
..
declarative LibWeb: When declarative shadow attachment fails, continue in right spot 2025-04-25 11:01:17 +02:00
reference-target/tentative LibWeb: Implement element-referencing ARIA attributes 2025-04-25 01:20:12 +01:00
input-element-list.txt
slotchange-customelements.txt
slotchange-event.txt