Skip to content

Commit

Permalink
Document deprecate MathML 1 style attributes on <mstyle> (mdn#20481)
Browse files Browse the repository at this point in the history
* Document deprecate MathML 1 style attributes on <mstyle>

These elements are already listed on [1] and are still
implemented in WebKit. List them on <mstyle> too for completeness.

[1] https://developer.mozilla.org/en-US/docs/Web/MathML/Attribute

* address review comment

* fix typo
  • Loading branch information
fred-wang authored and Himanshu Garg committed Sep 27, 2022
1 parent 8c0b905 commit e605ae2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions files/en-us/web/mathml/element/mstyle/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ The MathML `<mstyle>` element is used to change the style of its children.

This element's attributes include the [global MathML attributes](/en-US/docs/Web/MathML/Global_attributes) as well as the following deprecated attributes:

- `background` {{deprecated_inline}}
- : Use <a href="/en-US/docs/Web/CSS/background-color"><code>background-color</code></a> instead.
- `color` {{deprecated_inline}}
- : Use <a href="/en-US/docs/Web/CSS/color"><code>color</code></a> instead.
- `fontsize` {{deprecated_inline}}
- : Use <a href="/en-US/docs/Web/CSS/font-size"><code>font-size</code></a> instead.
- `fontstyle` {{deprecated_inline}}
- : Use <a href="/en-US/docs/Web/CSS/font-style"><code>font-style</code></a> instead.
- `fontweight` {{deprecated_inline}}
- : Use <a href="/en-US/docs/Web/CSS/font-weight"><code>font-weight</code></a> instead.
- `scriptminsize` {{deprecated_inline}}
- : Specifies a minimum font size allowed due to changes in `scriptlevel`. The default value is `8pt`.
- `scriptsizemultiplier` {{deprecated_inline}}
Expand Down

0 comments on commit e605ae2

Please sign in to comment.