ladybird/Tests/LibWeb/Screenshot/input/details-open-then-closed.html
Timothy Flynn 30e8f3f1ad LibWeb: Update the <details> layout tree when it is opened/closed
Otherwise, the arrow painted next to the <details> element does not
update.

Using a screenshot test here because apparently the direction of the
arrow has no effect on the layout or paint trees.
2025-05-09 21:37:14 +02:00

9 lines
250 B
HTML

<!doctype html>
<link rel="match" href="../expected/details-open-then-closed-ref.html" />
<details id="details" open>
<summary>I'm a summary</summary>
<span>I'm a node</span>
</details>
<script>
details.removeAttribute("open");
</script>