WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
276360
Remove legacy padding/margin rules from MathML UA stylesheet
https://bugs.webkit.org/show_bug.cgi?id=276360
Summary
Remove legacy padding/margin rules from MathML UA stylesheet
Frédéric Wang (:fredw)
Reported
2024-07-09 01:08:30 PDT
There are legacy rules that were used in earlier MathML implementations, for fine-tuning rendering or something, but they are arbitrary and not aligned with the MathML Core spec: mi { padding-inline-end: 0.1em; } msub > mi:first-child, msubsup > mi:first-child { padding-inline-end: 0; } msubsup > mi:first-child + * + * { margin-inline-start: 0.14em; /* This is larger than 0.1em because the child's font-size is smaller than the <msubsup>'s. */ } These are making mi tests for padding-002.html fail.
Attachments
Add attachment
proposed patch, testcase, etc.
Frédéric Wang (:fredw)
Comment 1
2024-07-09 01:25:53 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/30599
EWS
Comment 2
2024-07-09 11:44:26 PDT
Committed
280785@main
(a80eb4d127b1): <
https://commits.webkit.org/280785@main
> Reviewed commits have been landed. Closing PR #30599 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-07-09 11:45:16 PDT
<
rdar://problem/131399293
>
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