Bug 262789

Summary: Sync and add missing 'UA' Stylesheet rules for 'fractions' in mathml.css
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: MathMLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.