Skip to content

Best Practices for Authoring MathML in EPUB: Deprecated attributes are not deprecated #78

@samimaattaCelia

Description

@samimaattaCelia

Thank you for your work on the document! I noticed the section "deprecated attributes" to be incorrect (or then I don't know what the source is for the information). The section in question:

Avoid using deprecated MathML attributes for visual styling. These attributes impact the adaptability of visual formatting to user preferences and may not be supported in future implementations:

  • mathcolor
  • mathbackground
  • mathsize
  • displaystyle
  • scriptlevel

The attributes displaystyle and scriptlevel are in MathML Core. Especially the displaystyle attribute is important for marking up math as inline-block, which can't be done using the display attribute. I also tested (only on Firefox) that it's not possible to use CSS styling to get math into inline-block. I wouldn't say they are deprecated.

The other attributes are also not deprecated in any of the MathML specifications, but it is advised that CSS styling is used for mathcolor, mathbackground and mathsize. So, I wouldn't call it a big mistake, but it is incorrect to say they are deprecated.

If you have better information on why these would be deprecated, I appreciate the it!

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