mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-14 07:02:54 +00:00
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
11 lines
177 B
HTML
11 lines
177 B
HTML
<!DOCTYPE html>
|
|
<math>
|
|
<mtable></mtable>
|
|
</math>
|
|
<script src="include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
println("PASS (didn't crash)");
|
|
|
|
});
|
|
</script>
|