[Webkit-unassigned] [Bug 281206] New: Disable some legacy MathML attributes and values in all ports
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 10 01:30:03 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=281206
Bug ID: 281206
Summary: Disable some legacy MathML attributes and values in
all ports
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: MathML
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fred.wang at free.fr
CC: ahmad.saleem792 at gmail.com
Depends on: 196142, 197493, 197494, 197495
Blocks: 195797
The following legacy features are implemented in WebKit but are not available in any other browser for a while:
- numalign/denomalign attributes (*)
- mfrac's linethickness values: thin, medium, thick values (*)
- nonzero unitless values (e.g. 5 to mean 500%) for MathML lengths (*)
- subscriptshift/superscriptshift attributes.
- mstyle attributes: background, color, fontsize, fontstyle, fontweight
- mathsize values: small, normal, big (*)
The features marked as (*) can be disabled via https://searchfox.org/wubkat/rev/168430191bc069c153b23fdddfc818adea1f2992/Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml#2062. On WPE/GTK, we already disable them by default but we might consider doing that for all ports. Be aware though that this preference also disables more things such as named spaces (see https://searchfox.org/wubkat/rev/168430191bc069c153b23fdddfc818adea1f2992/Source/WebCore/mathml/MathMLPresentationElement.cpp#197).
Some WPT tests (probably non-exhaustive):
- https://wpt.fyi/results/mathml/presentation-markup/fractions/frac-numalign-denomalign-001.html
- https://wpt.fyi/results/mathml/presentation-markup/fractions/frac-linethickness-001.html
- https://wpt.fyi/results/mathml/relations/css-styling/lengths-1.html
- https://wpt.fyi/results/mathml/relations/css-styling/lengths-2.html
- https://wpt.fyi/results/mathml/presentation-markup/scripts/subsup-legacy-scriptshift-attributes-001.tentative.html
- https://wpt.fyi/results/mathml/relations/css-styling/attribute-mapping-001.html
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=195797
[Bug 195797] Align WebKit's MathML implementation with the MathML Core spec
https://bugs.webkit.org/show_bug.cgi?id=196142
[Bug 196142] [GTK][WPE] Disable "thin", "thick", "medium" values of mfrac at linethickness at runtime
https://bugs.webkit.org/show_bug.cgi?id=197493
[Bug 197493] [GTK][WPE] Remove keyword values for mathsize
https://bugs.webkit.org/show_bug.cgi?id=197494
[Bug 197494] [GTK][WPE] Remove support for named spaces and nonzero unitless lengths
https://bugs.webkit.org/show_bug.cgi?id=197495
[Bug 197495] [GTK][WPE] Remove support for numalign/denomalign attributes
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241010/cfba739f/attachment-0001.htm>
More information about the webkit-unassigned
mailing list