Bug 252672

Summary: [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
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: Layout and RenderingAssignee: Sammy Gill <sgill26>
Status: NEW    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/38752
Bug Depends on:    
Bug Blocks: 252357    

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.