-
Notifications
You must be signed in to change notification settings - Fork 687
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
[css2] Percentages used to compute to auto; now compute to a percentage but are used as auto #1051
Comments
We resolved in today's call to add some text in css-sizing to emcompass the notion of "height behaving as auto" that other specs can use and link to, so it is extra clear that ignored percentages are in fact considered in those cases where we currently incorrectly wrote "compute to auto". We also need to edit at least css-sizing and css-text to refer to that concept (and maybe css 2?) |
Hi there, I'm not clear on the outcome here. Have y'all agreed to revert the erratum? |
No the errata will stay, but we agreed the other specs needs to be updated so they take the errata in consideration. This was just forgotten when the errata was made, but the errata didn't intend to change the meaning of those specs. Btw the errata seems supported in all browsers as this test shows: This was the only expected effect of the errata. Anything else is probably a spec that needs to be updated. |
OK, so nothing for me to do in crbug.com/687551 that prompted this issue? |
@mwenge You should work on returning to the old Chrome behavior that is also interoperable with other browsers. I will update the spec with the new wording as soon as @tabatkins has some cycle to update css-sizing and I can link to that. |
…/behaves behavior for width/height. Part of #1051.
@FremyCompany Okay, added the term "behaves as auto" (and its obvious conjugations) to Sizing, and made sure that Sizing used the term where appropriate (only one spot in Sizing 3). Feel free to link to it in Tables now. |
@tabatkins Thanks, will do 👍 |
It seems the group accepted an errata in 2013 regarding the computed value of the "height" property. I think that was a mistake and would like to revert that errata. It was applied in those two commits.
This change requires to complexify all other specs in order to deal with the case of "broken percentages" everywhere we want to deal with the "auto" case. Since most specs didn't this is bound to continue to cause issues when developers reimplement specs or part of specs, like what happened in this Chrome issue.
Other specs continue to assume the old behavior, like css-sizing (in multiple places). Furthermore, it specifies this behavior for other values like fill-content etc when they can't resolve, like we do for percentages.
cc @tabatkins @fantasai @dbaron @SimonSapin @bert-github
The text was updated successfully, but these errors were encountered: