Skip to content

Deprecate/Remove merror #70

Closed
Closed

Description

@fred-wang

Opening this to discuss whether we should deprecate/remove merror from MathML core/full.

It seems to me generally people won't publish content with errors, unless they were generated from e.g. LaTeX or Computer Algebra system.

Activity

  1. fred-wang commented on Mar 14, 2019

    @fred-wang
    Author

    My understanding of the status is that

    • We would keep it in MathML Core defined as an mrow algo with additional style
    • Is the suggested merror { outline: solid thin red; background-color: lightYellow; } what we want?
    • Borders will require CSS margin/border/padding compatibility #14
  2. davidcarlisle commented on Mar 14, 2019

    @davidcarlisle
    Collaborator

    That looks good to me.

  3. added
    MathML Core
    MathML 4
    compatibility
    on Mar 18, 2019
  4. added
    need resolution
    on May 16, 2019
  5. fred-wang commented on Jun 4, 2019

    @fred-wang
    Author
  6. added
    need specification update
    need tests
    and removed
    need resolution
    need specification update
    on Jun 4, 2019
  7. removed
    compatibility
    MathML 4
    on Feb 24, 2020
  8. 9 remaining items

  9. bkardell commented on May 22, 2020

    @bkardell
    Collaborator

    This doesn't seem worth bikeshedding as it is at best a suggestion. I'm not sure how there could be something nomative in that? Could there?

  10. fred-wang commented on May 22, 2020

    @fred-wang
    Author

    well, we just need to decide something to put in the UA stylesheet. If everybody is ok with "merror { outline: solid thin red; background-color: lightYellow; } " then we can choose that.

  11. removed
    need resolution
    need specification update
    on May 27, 2020
  12. fred-wang commented on May 27, 2020

    @fred-wang
    Author

    This doesn't seem worth bikeshedding as it is at best a suggestion. I'm not sure how there could be something nomative in that? Could there?

    Also, merror affects some tests so we need to decide a default value. Authors/Users can always change it if they don't like, so I don't think the exact values matters.

    Chromium has the following rules:
    merror {
    color: red;
    background-color: lightYellow;
    }

    Gecko has the following rule:
    merror {
    display: block;
    font-family: sans-serif;
    font-weight: bold;
    white-space: pre;
    margin: 1em;
    padding: 1em;
    border-width: thin;
    border-style: inset;
    border-color: red;
    font-size: 14pt;
    background-color: lightyellow;
    }

    WebKit has this:
    merror {
    outline: solid thin red;
    font-weight: bold;
    font-family: sans-serif;
    background-color: lightYellow;
    }

    It's better not to modify the text style and we don't really explain how to handle outline in the core spec, so a yellow background and border (with optionally padding/margin) seems best.

  13. removed
    need tests
    on May 27, 2020
  14. fred-wang commented on May 27, 2020

    @fred-wang
    Author

    test added

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

    MathML Core

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions