https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 093b0b3d5d041c16ef342790acaf3e9c1b5e01e6 authored by Hayato Ito on 28 March 2018, 12:08:08 UTC
Keep track of all pending slot assignments, and recalc all before UpdateStyle phase
Tip revision: 093b0b3
webkit-text-fill-color-property-004.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>webkit-text-fill-color should take effect while rendering MathML</title>
<link rel="author" title="Jeremy Chen" href="jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://compat.spec.whatwg.org/#the-webkit-text-fill-color">
<meta name="assert" content="The color of MathML should be green">
<link rel="match" href="webkit-text-fill-color-property-004-ref.html">
<style>
math {
  font-size: 50px;
  color: red;
  -webkit-text-fill-color: green;
}
</style>
<body>
<p>Pass if color of operators and operands are all green!!!</p>
  <math>
    <mrow>
      <mrow>
        <msup>
          <mi>a</mi>
          <mn>2</mn>
        </msup>
        <mo>+</mo>
        <msup>
          <mi>b</mi>
          <mn>2</mn>
        </msup>
      </mrow>
      <mo>=</mo>
      <msup>
        <mi>c</mi>
        <mn>2</mn>
      </msup>
    </mrow>
  </math>
</body>
back to top