1
0
Fork 0
firefox/testing/web-platform/mozilla/tests/mathml/tables/mtable-dynamic-frame-attribute-003.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

39 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<title>Test dynamic change of the frame attribute</title>
<link rel="match" href="mtable-dynamic-frame-attribute-003-ref.html"/>
<link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.mtable"/>
<script>
document.documentElement.addEventListener("TestRendered", () => {
// Modify the value of mtable's frame attribute.
mtable.setAttribute("frame", "dashed");
document.documentElement.removeAttribute("class");
});
</script>
<math>
<mtable id="mtable" frame="solid">
<mtr>
<mtd>
<mspace width="10px" height="10px" style="background: blue"/>
</mtd>
<mtd>
<mspace width="10px" height="10px" style="background: blue"/>
</mtd>
<mtd>
<mspace width="10px" height="10px" style="background: blue"/>
</mtd>
</mtr>
<mtr>
<mtd>
<mspace width="10px" height="10px" style="background: blue"/>
</mtd>
<mtd>
<mspace width="10px" height="10px" style="background: blue"/>
</mtd>
<mtd>
<mspace width="10px" height="10px" style="background: blue"/>
</mtd>
</mtr>
</mtable>
</math>
</html>