From e605ae26d0e1173017491850fe250b91a663f851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Fri, 9 Sep 2022 15:31:58 +0200 Subject: [PATCH] Document deprecate MathML 1 style attributes on (#20481) * Document deprecate MathML 1 style attributes on These elements are already listed on [1] and are still implemented in WebKit. List them on too for completeness. [1] https://developer.mozilla.org/en-US/docs/Web/MathML/Attribute * address review comment * fix typo --- files/en-us/web/mathml/element/mstyle/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/files/en-us/web/mathml/element/mstyle/index.md b/files/en-us/web/mathml/element/mstyle/index.md index 81b1f31a2069a72..ac526beedd8dc2a 100644 --- a/files/en-us/web/mathml/element/mstyle/index.md +++ b/files/en-us/web/mathml/element/mstyle/index.md @@ -19,6 +19,16 @@ The MathML `` 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 background-color instead. +- `color` {{deprecated_inline}} + - : Use color instead. +- `fontsize` {{deprecated_inline}} + - : Use font-size instead. +- `fontstyle` {{deprecated_inline}} + - : Use font-style instead. +- `fontweight` {{deprecated_inline}} + - : Use font-weight instead. - `scriptminsize` {{deprecated_inline}} - : Specifies a minimum font size allowed due to changes in `scriptlevel`. The default value is `8pt`. - `scriptsizemultiplier` {{deprecated_inline}}