Files
serenity/Tests/LibWeb/Text/input/math-with-inline-child.html
David Smith 2acb11dfc5 LibWeb: Layout all math elements using InternalDummy context
Always create a new formatting context for <math> elements. Previously
that didn't happen if they only had inline children, e.g. mtable.

This fixes a crash in the WPT MathML test
mathml/crashtests/children-with-negative-block-sizes.html

(cherry picked from commit e7c209820d29cb422668ac0b142d030080aa7767)
2024-11-25 08:50:54 -05:00

12 lines
177 B
HTML

<!DOCTYPE html>
<math>
<mtable></mtable>
</math>
<script src="include.js"></script>
<script>
test(() => {
println("PASS (didn't crash)");
});
</script>