- From: zjopy via GitHub <sysbot+gh@w3.org>
- Date: Wed, 15 Jul 2020 21:58:57 +0000
- To: public-css-archive@w3.org
zjopy has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-position-3] Single auto value of offset properties for absolutely positioned elements should not be zero == The [spec](https://drafts.csswg.org/css-position-3/#abspos-insets) reads for absolutely positioned elements > If only one inset property in a given axis is auto, it is set to zero. This would imply, that if the size in the same axis is not specified (i.e. `auto`), then the element would be resized, since now both sides are set to non-`auto` values. For example, I'd expect the following box to be full width instead of `max-content` wide. ```html <div class="abs">Hello World</div> ``` ```css .abs { position: absolute; background-color: lightgrey; left: 0; /* right: 0; */ } ``` Since this is not the case, I expect this formulation is a bug. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5327 using your GitHub account
Received on Wednesday, 15 July 2020 21:58:59 UTC