WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
276828
Avoid <mo> invalidation for valid MathMLFractionElement/MathMLScriptsElement
https://bugs.webkit.org/show_bug.cgi?id=276828
Summary
Avoid <mo> invalidation for valid MathMLFractionElement/MathMLScriptsElement
Harry Chen
Reported
2024-07-19 11:41:43 PDT
MathMLFractionElement/MathMLScriptsElement inherit from MathMLRowElement in order to fall back to mrow behaviour when invalid [1]. However, even valid MathMLFractionElement/MathMLScriptsElements call MathMLRowElement::childrenChanged, which invalidates <mo> children. Since valid MathMLFractionElement/MathMLScriptsElements should not be calling this at all it would be good to avoid this invalidation. [1]:
https://github.com/WebKit/WebKit/pull/30705
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-07-26 11:42:11 PDT
<
rdar://problem/132586887
>
Frédéric Wang (:fredw)
Comment 2
2024-08-09 00:41:03 PDT
Just to clarify here there are two concept of "invalid": - calling setOperatorFormDirty() on mo children to make sure their properties are properly recomputed. - invalid MathML elements i.e. they don't have the expected number of in-flow children (e.g. numerator and denominator for mfrac).
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