You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, with the current spec I'd expect the following box to be full width instead of max-content wide. In other words, it would be equivalent to having uncommented the line right: 0.
Since this is not the case, I suppose this is a bug in the spec.
The text was updated successfully, but these errors were encountered:
vwkd
changed the title
[css-position-3] Single auto value of offset properties for absolutely positioned elements should not be zero
[css-position-3] Single auto value of offset properties for absolutely positioned elements should not compute to zero
Jul 15, 2020
@vwkd Fixed in 4c785f3
Thanks for catching the error, and please let us know if there's anything still wrong.
Also, how would you like to be credited in the spec?
The spec reads for absolutely positioned elements
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, with the current spec I'd expect the following box to be full width instead of
max-content
wide. In other words, it would be equivalent to having uncommented the lineright: 0
.Since this is not the case, I suppose this is a bug in the spec.
The text was updated successfully, but these errors were encountered: