Re: [csswg-drafts] [css-sizing-3][css-images-3] Distinguish intrinsic size's two definitions with two terms (#4961)

Natural size sounds good to me, and consistency with HTML seems worthwhile.

HTML defines natural size as [density-corrected](https://html.spec.whatwg.org/multipage/images.html#density-corrected-intrinsic-width-and-height). I *think* we want that.

> When an img element has a current pixel density that is not 1.0, the element's image data must be treated as if its resolution, in device pixels per CSS pixels, was the current pixel density. The image's density-corrected intrinsic width and height are the [intrinsic width and height](https://drafts.csswg.org/css-images/#intrinsic-dimensions) after taking into account the current pixel density.

This is based on a css-images definition, so changing that may require coordination with HTML.

The density in question is [from `srcset`](https://html.spec.whatwg.org/multipage/images.html#pixel-density-descriptor) (through [update image data](https://html.spec.whatwg.org/multipage/images.html#updating-the-image-data:current-pixel-density) and [select an image source](https://html.spec.whatwg.org/multipage/images.html#select-an-image-source) algorithms).

-- 
GitHub Notification of comment by SimonSapin
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4961#issuecomment-708221545 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 14 October 2020 07:39:12 UTC