testing/web-platform/tests/mathml/presentation-markup/fractions/frac-visibility-001.html
author Frédéric Wang <fred.wang@free.fr>
Wed, 06 Mar 2019 10:35:50 +0000
changeset 464612 bd2cb43949529ad7ac51543dc135495d8f110188
parent 464278 3f9c54ed7d2c21d7bb6433db6f5f4cb888bbbdac
child 464339 b8250121c2bc78402f5416d028507579c0ec4fd3
permissions -rw-r--r--
Bug 1526881 [wpt PR 15302] - Add MathML to check the painting of fraction bars and the effect of C…, a=testonly Automatic update from web-platform-tests Add MathML to check the painting of fraction bars and the effect of C… (#15302) * Add MathML to check the painting of fraction bars and the effect of CSS color and visibility on it. -- wpt-commits: afcd81505a695d8c4f64687466732aebf4bef991 wpt-pr: 15302

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Fraction bar visibility</title>
    <link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
    <meta name="assert" content="The CSS visible property affects the rendering of the fraction bar.">
    <link rel="match" href="frac-visibility-001-ref.html">
  </head>
  <body>
    <p>This test passes if you see a green square and no red.</p>
    <div style="background: green; width: 200px; height: 200px;">
      <math>
        <mfrac style="visibility: hidden; color: red">
          <mspace width="200px" height="20px"></mspace>
          <mspace width="200px" height="20px"></mspace>
        </mfrac>
      </math>
    </div>
  </body>
</html>