Bug 262336 - [css-grid] Non-orthogonal subgrid's margin, border, and padding is not considered for self-align baseline items in the same alignment context
Summary: [css-grid] Non-orthogonal subgrid's margin, border, and padding is not consid...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sammy Gill
URL:
Keywords: InRadar
Depends on:
Blocks: 260530
  Show dependency treegraph
 
Reported: 2023-09-28 15:39 PDT by Sammy Gill
Modified: 2023-10-04 11:19 PDT (History)
4 users (show)

See Also:


Attachments
Testcase (1.14 KB, text/html)
2023-09-28 15:39 PDT, Sammy Gill
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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