fontstyle/fontweight attributes should not cancel automatic mathvariant transform on single-char mi
Categories
(Core :: MathML, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: fredw, Assigned: fredw)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
This is another cleanup similar to bug 1788645.
This hack was introduced in bug 1027354 to make the MathML1 fontweight/fontstyle attributes work even when we have automatic mathvariant.
We can now remove that now that fontweight/fontstyle are completely removed.
Attached is a testcase that works in Chrome (exp web platform features enabled) but not in Firefox.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Sorry the desc is incorrect, actually reading the code it's attributes fontstyle="normal" and fontweight="bold" which incorrectly cancel automatic mathvariant italic.
The testcase was probably failing because we need https://phabricator.services.mozilla.com/D156174
Assignee | ||
Comment 2•2 years ago
|
||
Some code was introduced in [1] to fix a regression with deprecated
fontstyle/fontweight attributes. However, this is no longer needed since
implementation for these attributes have been completely removed [2] and
may prevent automatic mathvariant italicization on single-char <mi>.
Also add a WPT test to check for this.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1027354
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1783841
Comment 5•2 years ago
|
||
bugherder |
Description
•