blob: 65f6c4469ad6ade177b4d2b6b8d32fc5038c430b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>color</title>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#css-styling">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#text-mtext">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#enclose-expression-inside-notation-menclose">
<link rel="match" href="color-004-ref.html"/>
<meta name="assert" content="Verify that the color is used for text and graphical elements of the menclose element.">
</head>
<body>
<p>Test passes if you see a green square.</p>
<div style="background: green; color: red; width: 200px; height: 200px; padding: 1px;">
<math><menclose notation="left" style="color: green"><mn>1</mn></menclose></math>
<math><menclose notation="right" style="color: green"><mn>2</mn></menclose></math>
<math><menclose notation="top" style="color: green"><mn>3</mn></menclose></math>
<math><menclose notation="bottom" style="color: green"><mn>4</mn></menclose></math>
<math><menclose notation="box" style="color: green"><mn>5</mn></menclose></math>
<math><menclose notation="roundedbox" style="color: green"><mn>6</mn></menclose></math>
<math><menclose notation="actuarial" style="color: green"><mn>7</mn></menclose></math>
<math><menclose notation="madruwb" style="color: green"><mn>8</mn></menclose></math>
<math><menclose notation="horizontalstrike" style="color: green"><mn>9</mn></menclose></math>
<math><menclose notation="verticalstrike" style="color: green"><mn>10</mn></menclose></math>
<math><menclose notation="updiagonalstrike" style="color: green"><mn>11</mn></menclose></math>
<math><menclose notation="downdiagonalstrike" style="color: green"><mn>12</mn></menclose></math>
<math><menclose notation="longdiv" style="color: green"><mn>13</mn></menclose></math>
<math><menclose notation="circle" style="color: green"><mn>14</mn></menclose></math>
</div>
<script src="/mathml/support/feature-detection.js"></script>
<script>MathMLFeatureDetection.ensure_for_match_reftest("has_menclose");</script>
</body>
</html>