41 lines
1.3 KiB
HTML
41 lines
1.3 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-002-ref.html"/>
|
|
<link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.mtable"/>
|
|
<script>
|
|
document.documentElement.addEventListener("TestRendered", () => {
|
|
// Remove attribute frame="dashed" from mtable.
|
|
// Note that the default value is "none" so this change also affects
|
|
// whether mtable@framespacing applies.
|
|
mtable.removeAttribute("frame");
|
|
document.documentElement.removeAttribute("class");
|
|
});
|
|
</script>
|
|
<math>
|
|
<mtable id="mtable" frame="dashed">
|
|
<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>
|