Files
ladybird/Tests/LibWeb/Crash/HTML/ol-attribute-changed-no-element-children.html
Tim Ledbetter 40dd06491b LibWeb: Ensure list has child elements before invalidating ordinals
Previously, updating the `reversed`, `start` or `type` attribute of an
ordered list with text only children would cause a crash.
2026-03-17 16:50:06 +01:00

6 lines
117 B
HTML

<!DOCTYPE html>
<ol>text only</ol>
<script>
document.querySelector("ol").setAttribute("reversed", "");
</script>