WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 281210
Ignore legacy mstyle attributes (background, color, fontsize, fontstyle, fontweight) when CoreMathML is enabled
https://bugs.webkit.org/show_bug.cgi?id=281210
Summary
Ignore legacy mstyle attributes (background, color, fontsize, fontstyle, font...
Frédéric Wang (:fredw)
Reported
2024-10-10 01:46:09 PDT
I guess it will be enough to make MathMLElement::hasPresentationalHintsForAttribute return false for these attributes when CoreMathML is enabled here:
https://searchfox.org/wubkat/rev/168430191bc069c153b23fdddfc818adea1f2992/Source/WebCore/mathml/MathMLElement.cpp#112
Test:
https://wpt.fyi/results/mathml/relations/css-styling/attribute-mapping-001.html
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2024-10-10 04:00:21 PDT
Yes - I tested this yesterday and deleting them make us pass below WPT.
Radar WebKit Bug Importer
Comment 2
2024-10-17 01:47:18 PDT
<
rdar://problem/138099409
>
Ahmad Saleem
Comment 3
2024-10-17 18:57:38 PDT
I am assigning it to myself to do draft PR to get feedback.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug