Skip to content
  • Frédéric Wang's avatar
    Bug 1575542 - Add counter and warnings for deprecated MathML lengths. r=emilio · 8f3b2a92
    Frédéric Wang authored
    This commit introduces new counters and deprecation warnings for the following
    MathML features:
    * mathspace names (bug 1575542)
    * mathsize names (bug 1548527)
    * linethickness names (bug 1548529)
    
    Note: helper parsing functions for mfrac and mpadded are changed to non-static
    in order to pass the document parameter needed to log warnings to the console.
    
    Change manually tested with
        <math>
          <mspace width="thinmathspace"></mspace>
          <mpadded width="2thickmathspace"></mpadded>
          <mfrac linethickness="thin"><mn>1</mn><mn>2</mn></mfrac>
          <mtext mathsize="big">3</mtext>
        </math>
    
    Differential Revision: https://phabricator.services.mozilla.com/D42890
    
    --HG--
    extra : moz-landing-system : lando
    8f3b2a92