-
Notifications
You must be signed in to change notification settings - Fork 693
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
[cssom] Resolved value for width et al should be computed value for display:contents #482
Comments
Yeah. That also seems to match what Gecko does. |
FYI, the relevant Gecko code is: So, yes, when the element doesn't have a box, or is a non-replaced or SVG inline, A few examples: What do other UAs do in these cases? |
Correction, So, it appears that a specified width:auto always resolves to 'auto' (when there is no box), |
@MatsPalmgren note that, we are changing our behavior of |
Fixed the display:contents case in c65b958. Please open a new issue if there's something that needs to be fixed in the spec for min/max-width/height. |
Reopening per #540 (comment) |
The CSSOM spec currently says this should be the case for display:none. Should probably be the same for display:contents.
The text was updated successfully, but these errors were encountered: