RESOLVED FIXED 217643
[Subpixel] imported/w3c/web-platform-tests/css/css-flexbox/auto-margins-001.html fails at certain font sizes
https://bugs.webkit.org/show_bug.cgi?id=217643
Summary [Subpixel] imported/w3c/web-platform-tests/css/css-flexbox/auto-margins-001.h...
zalan
Reported 2020-10-12 18:00:50 PDT
<div class="flexbox" style="width: 4em; height: 4em; background: silver"> <p id="ok" style="margin: auto; font-family: Ahem">OK</p> </div> and <div style="width: 4em; height: 4em; background: silver"> <table style="width: 100%; height: 100%;"><tr><td style="text-align: center; font-family: Ahem;">OK</td></tr></table> </div> are not compatible when it comes to inline content vertical positioning due to the different rounding strategies (at block level). This test fails for example when font-size is set to 20px.
Attachments
swapping between test and expected (714.08 KB, video/quicktime)
2020-10-12 18:02 PDT, zalan
no flags
Patch (1.71 KB, patch)
2022-02-22 10:25 PST, zalan
no flags
zalan
Comment 1 2020-10-12 18:02:36 PDT
Created attachment 411183 [details] swapping between test and expected
Radar WebKit Bug Importer
Comment 2 2020-10-19 18:01:15 PDT
zalan
Comment 3 2022-02-22 10:23:27 PST
This seems to have progressed
zalan
Comment 4 2022-02-22 10:25:20 PST
EWS
Comment 5 2022-02-23 11:27:25 PST
Committed r290385 (247700@main): <https://commits.webkit.org/247700@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 452885 [details].
Note You need to log in before you can comment on or make changes to this bug.