- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Thu, 31 Mar 2022 16:10:16 +0000
- To: public-css-archive@w3.org
@tabatkins, IIUC your comment correctly contain-intrinsic-size should only be an input to the layout of the replaced element. This is the order of operations done during layout : - Get the natural size of the replaced element's content. - Apply object-view-box to this size to compute the intrinsic size used for layout. - Size the element using the above as input. size containment or contain-intrinsic-size, if specified, would ignore the content's natural size (irrespective of whether it was mutated using object-view-box). Once the element has been sized, the object-fit and object-position properties used to paint the element work on the natural size of the element's content (which may have been updated using object-view-box). At paint time, contain-intrinsic-size has no effect. Does that sound right? -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7187#issuecomment-1084795593 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 31 March 2022 16:10:17 UTC