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

@chrishtr The use case I was mentioning earlier basically the opposite. Containers often determine the width of their child. So what I want is:

```html
<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">
</main>
```

-- 
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