W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [css-contain] specified column/row sizes on grid containers should contribute to contain:size

From: Manuel Rego Casasnovas via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 Jun 2018 09:49:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-400249293-1530006575-sysbot+gh@w3.org>
> Here's one:
>
> ```css
> div {
>	position: absolute;
>	columns: 2 50px;
> }
>```

So I guess that if you add `contain: size` to this example, the width should be 100px.
This is another bug in Chromium, but as it's only for widths I guess it'd be easy to fix.

Any example where the intrinisic height can be defined from CSS in an element without contents?

> Maybe because they have only fixed tracks, and they trust the browser to do the math and don't want to (redundantly) define the total size manually?

Mmmm, I guess that if it's only for fixed sized tracks we could try to do something special for this, reading the information from the style and avoid running the track sizing algorithm twice.

-- 
GitHub Notification of comment by mrego
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2804#issuecomment-400249293 using your GitHub account
Received on Tuesday, 26 June 2018 09:49:42 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 19 September 2019 01:18:58 UTC