-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-position] computed value of inset properties should not be auto in static positioning if another value was specified #3099
Comments
The computed value of |
(Please reopen if I got that wrong) |
This seems good to me but CSS Position says it computes to I can't reopen. |
Oh, right. I think this is a bug in css-position then. |
CSS2 says 10px, and it wins against css-position in any arguments, so just need to update the spec: https://www.w3.org/TR/CSS2/visuren.html#position-props |
According to https://drafts.csswg.org/cssom/#resolved-value-special-case-property-like-top
An element with
position: static
is not positioned, so the resolved value is the computed value.According to https://drafts.csswg.org/css-position-3/#box-offsets-trbl,
So I would expect this:
However, all Firefox, Chromium and WebKit return
"10px"
instead.Either CSSOM or CSS Position is wrong.
The text was updated successfully, but these errors were encountered: