- From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 Jun 2023 21:26:35 +0000
- To: public-css-archive@w3.org
> Then we use the 300px as the size of the content area of the grid container. There is also a padding: 10%, but per https://drafts.csswg.org/css-sizing-3/#min-percentage-contribution it resolves to 0. This is likely the crux of the issue. I think this part of the spec is incorrect and likely should change this. Blink/Webkit will resolve percentages if they are resolvable (e.g. we'll resolve the %-padding for the top-most container). And if un-resolvable - they'll resolve against zero. E.g. this yeilds better results for cases like: https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=11788 (In firefox you'll end up with something not-square for the above case). %-padding on the container almost never matters, except for height resolution, and now in grid as its resolving min/max widths. -- GitHub Notification of comment by bfgeek Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8963#issuecomment-1590047845 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 13 June 2023 21:26:37 UTC