[csswg-drafts] [css-grid-2] Specify behaviour when a sub grids margin/border/padding is larger than the edge tracks maximum size (#7072)

mattwoodrow has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid-2] Specify behaviour when a sub grids margin/border/padding is larger than the edge tracks maximum size ==
It appears that the abs-pos-002/3.html subgrid tests, as well as subgrid-mbp-overflow-001/2/3/4 all expect that the padding of the subgrid item is capped at the size of the edge track spanned by the subgrid item.

Minimised testcase showing capping in Gecko: https://jsfiddle.net/r3n0zt6v/

My reading of the spec suggests that we probably shouldn't do this, but there's a lot of tests requiring this behaviour.

It'd be good to clarify the intent here, and figure out how to adjust the tests.

I filed a WPT pull request for some of the tests, but the subgrid-mbp-overflow ones are significantly more involved - https://github.com/web-platform-tests/wpt/pull/32611

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7072 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 21 February 2022 06:08:10 UTC