Skip to content

Reset font-style and font-weight on the <math> root #36

Closed

Description

@fred-wang

Typically these can be inherited when you put inline math in an italic or bold paragraph. This can potentially cause poor rendering (since bold and italic fonts generally don't have MATH tables or good unicode coverage). Should we reset them in the mathml.css stylesheet? I think Gecko and WebKit do that at least for font-style.

https://bugs.webkit.org/show_bug.cgi?id=160074

"* Some properties give poor rendering in math formulas or are confusing
with the mathvariant style. They should be reset too. This includes at
least font-style or font-weight."
original report: https://lists.w3.org/Archives/Public/www-math/2016Jul/0025.html

https://trac.webkit.org/browser/trunk/Source/WebCore/css/mathml.css
https://dxr.mozilla.org/mozilla-central/source/layout/mathml/mathml.css

Activity

  1. added
    MathML Core
    css / html5
    need tests
    on Feb 22, 2019
  2. added
    need resolution
    on May 16, 2019
  3. NSoiffer commented on Aug 18, 2020

    @NSoiffer
    Contributor

    Discussed at Aug 17 meeting. @rwlbuis confirmed initial bug report was resolved and tests exist.

  4. removed
    MathML Core
    css / html5
    need resolution
    need tests
    on Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions