NEW252672
[rhythmic-sizing] Add half of block-step-size (rounded up) space to each block margin for non-orthogonal in flow elements with display: block no margin collapsing
https://bugs.webkit.org/show_bug.cgi?id=252672
Summary [rhythmic-sizing] Add half of block-step-size (rounded up) space to each bloc...
Sammy Gill
Reported 2023-02-21 09:57:12 PST
https://drafts.csswg.org/css-rhythm/#block-step-size This is the simplest case for block-step-size 1.) We compute the rounded (up) value for the margin box that the box should have 2.) Compute the difference: this is the amount of margin needed so that the box margin box size is equal to the computed value from 1 3.) Split the difference equally between the block start and block end margins Later properties will influence this slightly
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-21 09:57:36 PST
Sammy Gill
Comment 2 2023-02-23 15:00:54 PST
Sammy Gill
Comment 3 2023-02-28 13:55:33 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/38752
Note You need to log in before you can comment on or make changes to this bug.