Bug 262789
Summary: | Sync and add missing 'UA' Stylesheet rules for 'fractions' in mathml.css | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | MathML | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | fred.wang, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=276218 |
Ahmad Saleem
Hi Team,
I think we cannot add all rules, which are below as per web-spec:
/* Fractions */
mfrac {
padding-inline-start: 1px;
padding-inline-end: 1px;
}
mfrac > * {
math-depth: auto-add;
math-style: compact;
}
mfrac > :nth-child(2) {
math-shift: compact;
}
.. We are lacking support for 'math-shift' and 'math-depth'. So I will add whatever I can in this bug.
mfrac {
padding-inline-start: 1px;
padding-inline-end: 1px;
}
mfrac > * {
math-style: compact;
}
_____-
Just raising so I can fix it and progress (if any) WPT test cases.
Thanks!
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/116922348>
EWS
Committed 271337@main (612aa962c630): <https://commits.webkit.org/271337@main>
Reviewed commits have been landed. Closing PR #21012 and removing active labels.