Bug 262789 - Sync and add missing 'UA' Stylesheet rules for 'fractions' in mathml.css
Summary: Sync and add missing 'UA' Stylesheet rules for 'fractions' in mathml.css
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-06 09:05 PDT by Ahmad Saleem
Modified: 2023-11-30 06:33 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-10-06 09:05:35 PDT
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!
Comment 1 Radar WebKit Bug Importer 2023-10-13 09:06:14 PDT
<rdar://problem/116922348>
Comment 2 EWS 2023-11-30 06:33:35 PST
Committed 271337@main (612aa962c630): <https://commits.webkit.org/271337@main>

Reviewed commits have been landed. Closing PR #21012 and removing active labels.