Bug 262336

Summary: [css-grid] Non-orthogonal subgrid's margin, border, and padding is not considered for self-align baseline items in the same alignment context
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: Layout and RenderingAssignee: Sammy Gill <sgill26>
Status: RESOLVED FIXED    
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/42340
Bug Depends on:    
Bug Blocks: 260530    
Attachments:
Description Flags
Testcase none

Description Sammy Gill 2023-09-28 15:39:59 PDT
Created attachment 467961 [details]
Testcase

In the attached test case the outer grid item and the item in the subgrid participate in baseline alignment together. The items themselves have the same baseline, but the item in the subgrid should have the subgrid's margin, border, and padding act as an extra layer of margin for the item itself.
Comment 1 Radar WebKit Bug Importer 2023-09-28 15:40:16 PDT
<rdar://problem/116206243>
Comment 2 Sammy Gill 2023-09-28 16:17:28 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18389
Comment 3 EWS 2023-10-03 14:57:25 PDT
Committed 268804@main (d935079e09c4): <https://commits.webkit.org/268804@main>

Reviewed commits have been landed. Closing PR #18389 and removing active labels.
Comment 4 Sammy Gill 2023-10-04 11:19:30 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/42340