- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Jul 2020 23:59:21 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed ``[css-sizing-4] Should aspect-ratio be used for abspos `top: 0; bottom: 0;`?``, and agreed to the following: * `RESOLVED: Accept proposal` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: [css-sizing-4] Should aspect-ratio be used for abspos `top: 0; bottom: 0;`?<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/5151<br> <tantek> just going to note that existing OS UI use of color is insufficient to determine feature flexibility, new OS's may and will do new things with colors etc.<br> <astearns> PR: https://github.com/w3c/csswg-drafts/commit/9594b70729ff481ea933a3e3d07a85423122e0eb<br> <dael> fantasai: Issue raised was if you have abspos element with top, bottom, left set non-auto but right is auto should that use aspect-ratio in sizing width. TabAtkins and I thought it made sense so drafted spec fot hat.<br> <dael> fantasai: If width and height are both auto we ignore a-r for width and use it for height. In this case it's easy to determine. Width has only one constraint so it's variable and makes sense to use height for deterministic value<br> <fantasai> https://github.com/w3c/csswg-drafts/commit/9594b70729ff481ea933a3e3d07a85423122e0eb<br> <dael> fantasai: Drafted wording into positioning spec. Wanted to check with WG if it's acceptable<br> <dael> Rossen_: Would align-stretch work the same or have same behavior in this case?<br> <dael> fantasai: Don't remember which align-stretch does<br> <dael> Rossen_: My understanding is align-stretch should behave same as if fixed height which should then have the same expected behavior for a-r, wouldn't it?<br> <dael> Rossen_: Not sure if this is related to position spec<br> <dael> fantasai: align-stretch takes prescience over a-r. Neight is stretch, width and heigh auto, but can stretch b/c top:- bottom:0. Take that as a definite height where we can calculate the width<br> <fantasai> s/prescience/precedence/<br> <fantasai> s/Neight/If neither/<br> <dael> Rossen_: Back to top and bottom 0. Other opinions or reasons why the aspect-ratio shouldn't behave this way?<br> <dael> cbiesinger: On behalf of Chrome I support<br> <dael> Rossen_: This isn't just about top:0 bottom:0 it would be same with top:10.<br> <dael> fantasai: Right. It's non-auto<br> <dael> dholbert: This is any element with an aspect ratio?<br> <dael> fantasai: Problem is we have compat requirements for images. For a replaced element it's slightly different. Replaced elements don't stretch between constrained insets and we can't change due to compat. aspect-ratio on non-replaced we figured we can do the thing that makes most sense.<br> <dael> fantasai: Question is do we use it to resolve height or width in this case since height can come from size of containing block.<br> <dael> Rossen_: Objections or other comments?<br> <dael> RESOLVED: Accept proposal<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5151#issuecomment-652702595 using your GitHub account
Received on Wednesday, 1 July 2020 23:59:23 UTC