Re: [csswg-drafts] [css-fonts] Add new CSS properties math-script-level and math-style (#3746)

Testcase related to #3906 :

    <math style="font-size: xx-large; font-family: serif">
      <mstyle style="font-family: monospace;">
        <mtext>level 0</mtext>
      </mstyle>
      <mstyle scriptsizemultiplier="0.71" scriptminsize="0pt" scriptlevel="1"
              style="math-script-level: 1; font-family: monospace;">
        <mtext>level 1</mtext>
      </mstyle>
    </math>
    <script>
      var mstyle = document.getElementsByTagName("mstyle");
      for (var i = 0; i < mstyle.length; i++)
        console.log(`${mstyle[i].firstElementChild.innerHTML}: ${getComputedStyle(mstyle[i]).fontSize}`);
    </script>

@emilio @rwlbuis The resolved values I get are 26px and 26px * 0.71 = 18.46px in Igalia's chromium-mathml build ; but 26px and 22.7167px in Firefox.

-- 
GitHub Notification of comment by fred-wang
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3746#issuecomment-491896055 using your GitHub account

Received on Monday, 13 May 2019 16:35:51 UTC