Re: [csswg-drafts] [css-grid-2] Subgrid and scrollbars (#6350)

> @aethanyc The first case in [here](http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cstyle%3E%0A%23grid%20%7B%0A%20%20display%3A%20grid%3B%0A%20%20width%3A%20max-content%3B%0A%20%20border%3A%20solid%3B%0A%7D%0A%23subgrid%20%7B%0A%20%20display%3A%20grid%3B%0A%20%20grid-template-columns%3A%20subgrid%3B%0A%7D%0A%23item%20%7B%0A%20%20height%3A%20100px%3B%0A%20%20width%3A%20100px%3B%0A%20%20border%3A%205px%20solid%20lime%3B%0A%20%20box-sizing-border-box%3B%0A%7D%0A%3C%2Fstyle%3E%0ABAD%3F%0A%3Cdiv%20id%3Dgrid%3E%0A%20%20%3Cdiv%20id%3Dsubgrid%20style%3D%22overflow%3A%20scroll%3B%22%3E%0A%20%20%20%20%3Cdiv%20id%3Ditem%3E%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3Cdiv%20id%3Dgrid%3E%0A%20%20%3Cdiv%20id%3Dsubgrid%20style%3D%22border%3A%205px%20solid%20orange%3B%20overflow%3A%20hidden%3B%22%3E%0A%20%20%20%20%3Cdiv%20id%3Ditem%3E%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3Cdiv%20id%3Dgrid%3E%0A%20%20%3Cdiv%20id%3Dsubgrid%20style%3D%22border%3A%2015px%20solid%20orange%3B%20overflow%3A%20hidden%3B%22%3E%0A%20%20%20%20%3Cdiv%20id%3Ditem%3E%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3Cdiv%20id%3Dgrid%3E%0A%20%20%3Cdiv%20id%3Dsubgrid%20style%3D%22margin%3A%2015px%3B%20overflow%3A%20hidden%3B%22%3E%0A%20%20%20%20%3Cdiv%20id%3Ditem%3E%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3Cbr%3EGOOD%3F%0A%3Cdiv%20id%3Dgrid%3E%0A%20%20%3Cdiv%20id%3Dsubgrid%20style%3D%22padding%3A%2015px%3B%20overflow%3A%20hidden%3B%22%3E%0A%20%20%20%20%3Cdiv%20id%3Ditem%3E%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E) still seems wrong, though? Also, unstable layout if I add/remove a border dynamically.

@Loirooriol Thanks! I filed [bug 1715178](https://bugzilla.mozilla.org/show_bug.cgi?id=1715178).


-- 
GitHub Notification of comment by aethanyc
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6350#issuecomment-856389332 using your GitHub account


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

Received on Tuesday, 8 June 2021 02:29:07 UTC