WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
279978
Children of `display: math` elements should not be taken out-of-flow when `float` is set
https://bugs.webkit.org/show_bug.cgi?id=279978
Summary
Children of `display: math` elements should not be taken out-of-flow when `fl...
Harry Chen
Reported
2024-09-19 07:02:18 PDT
According to the spec [1]:
> The float property does not create floating of elements whose parent's computed display value is block math or inline math, and does not take them out-of-flow.
[1]:
https://w3c.github.io/mathml-core/#css-styling
Attachments
Add attachment
proposed patch, testcase, etc.
Frédéric Wang (:fredw)
Comment 1
2024-09-19 07:12:35 PDT
Alternative, maybe we can temporarily do that "if the parent is a MathML element" but not sure how easy it will be. Also for grid/flex we force computed value of float to none for flex and grid displays in the style adjuster, maybe we can temporarily do that for MathML too:
https://github.com/WebKit/WebKit/pull/31676#discussion_r1741769280
Radar WebKit Bug Importer
Comment 2
2024-09-26 07:03:14 PDT
<
rdar://problem/136752023
>
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