42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
<!doctype html><!-- webkit-test-runner [ CoreMathMLEnabled=false ] -->
|
|
<html>
|
|
<head>
|
|
<title>background, color</title>
|
|
<meta charset="utf-8"/>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- This verifies the effect of the mathcolor attribute and of the
|
|
deprecated color attribute. These MathML elements should appear in
|
|
blue. Since they are drawn on a blue background, they should not be
|
|
visible. -->
|
|
<div style="background: blue; padding: 1px;">
|
|
<math>
|
|
<mo mathcolor="#00F">∑</mo>
|
|
<mfrac mathcolor="blue"><mi>x</mi><mi>y</mi></mfrac>
|
|
<mn mathcolor="#00F">1</mn>
|
|
<msqrt mathcolor="#0000FF"><mn>2</mn></msqrt>
|
|
</math>
|
|
<math>
|
|
<mfrac color="blue"><mi>x</mi><mi>y</mi></mfrac>
|
|
</math>
|
|
</div>
|
|
|
|
<!-- This verifies the effect of the mathbackground attribute and of the
|
|
deprecated background attribute. The following elements should appear
|
|
in blue on an orange background. -->
|
|
<div>
|
|
<math mathbackground="orange">
|
|
<mo mathcolor="#00F">∑</mo>
|
|
<mfrac mathcolor="blue"><mi>x</mi><mi>y</mi></mfrac>
|
|
<mn mathcolor="#00F">1</mn>
|
|
<msqrt mathcolor="#0000FF"><mn>2</mn></msqrt>
|
|
</math>
|
|
<math background="orange">
|
|
<mfrac color="blue"><mi>x</mi><mi>y</mi></mfrac>
|
|
</math>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|