W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] [css-conditional] [css-contain] `srcset` and `sizes` interaction with container queries (#5889)

From: Malte Ubl via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Jan 2021 22:14:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-769434134-1611872064-sysbot+gh@w3.org>
@chrishtr The use case I was mentioning earlier basically the opposite. Containers often determine the width of their child. So what I want is:

<main sizes="50vw">
  <img srcset="1.avif 1920w, 2.avif640w"><!-- no redundant sizes attribute on children of main -->
  <img srcset="1.avif 1920w, 2.avif 640w">
  <img srcset="1.avif 1920w, 2.avif 640w">

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 28 January 2021 22:14:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:26 UTC