-
Notifications
You must be signed in to change notification settings - Fork 719
[css-sizing-3][css-images-3] Distinguish intrinsic size's two definitions with two terms #4961
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
Comments
Related discussion #5032 (comment) |
In Servo code we’ve been using "intrinsic sizes" for the optional width, optional height, and optional ratio inherent to replaced elements, and "content sizes" for |
HTML spec seems to use the term “natural width” and “natural height” for the first concept, so maybe “natural size” for the intrinsic size of replaced elements and “intrinsic size”for the content-based sizes? A few other options from the thesaurus include “inherent”, “innate”, “essential”, and “inbuilt”. Maybe “inbuilt” since we're talking about sizing information built into the replaced element...? |
I think I've been using natural size when describing replaced elements, certainly when teaching in person/online. "The natural size of the image ..." referring to the actual dimensions of the the thing. It may be that came from reading the HTML spec at some point if that is how they are described there. So I'd agree with @fantasai to use natural size for replaced elements and intrinsic size for content. |
Natural size sounds good to me, and consistency with HTML seems worthwhile. HTML defines natural size as density-corrected. I think we want that.
This is based on a css-images definition, so changing that may require coordination with HTML. The density in question is from |
The CSS Working Group just discussed
The full IRC log of that discussion |
… per #4961. Part 1 of further edits...
…aspect ratio/size' to 'natural', per #4961.
Tab and I made the edits for this today. Will need to republish css-images-3 first so that other TR specs can cross-link to it correctly when they're also republished. |
We have used the term “intrinsic size” to refer to two slightly different concepts (that overlap) in our spec:
We need to have separate terms for these so there's no confusion.
The text was updated successfully, but these errors were encountered: