Bug 308277

Summary: Handle lspace/rspace as per MathML Core
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eri
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=2018114
Bug Depends on:    
Bug Blocks: 195797    
Attachments:
Description Flags
Testcase
none
Screenshot (chromium)
none
Screenshot (webkit) none

Frédéric Wang (:fredw)
Reported 2026-02-20 00:39:06 PST
Created attachment 478417 [details] Testcase In MathML Core, lspace/rspace to calculate child spacing during mrow layout: https://w3c.github.io/mathml-core/#layout-of-mrow WebKit instead adds lspace/rspace to the inline size of core operator.
Attachments
Testcase (440 bytes, text/html)
2026-02-20 00:39 PST, Frédéric Wang (:fredw)
no flags
Screenshot (chromium) (10.31 KB, image/jpeg)
2026-02-20 00:39 PST, Frédéric Wang (:fredw)
no flags
Screenshot (webkit) (12.57 KB, image/jpeg)
2026-02-20 00:39 PST, Frédéric Wang (:fredw)
no flags
Frédéric Wang (:fredw)
Comment 1 2026-02-20 00:39:23 PST
Created attachment 478418 [details] Screenshot (chromium)
Frédéric Wang (:fredw)
Comment 2 2026-02-20 00:39:40 PST
Created attachment 478419 [details] Screenshot (webkit)
Frédéric Wang (:fredw)
Comment 3 2026-02-20 00:40:35 PST
Note that Firefox does not follow MathML Core and is different from WebKit, see https://bugzilla.mozilla.org/show_bug.cgi?id=2018114 for the Mozilla bug
Note You need to log in before you can comment on or make changes to this bug.