- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 04 Jun 2021 13:32:34 +0000
- To: public-css-archive@w3.org
This doesn't seem specific of scrollbars, it seems Firefox is not taking borders and margins into account either? Just the padding. [Testcase](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) -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6350#issuecomment-854727344 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 4 June 2021 13:33:15 UTC