- From: Craig Francis via GitHub <sysbot+gh@w3.org>
- Date: Thu, 25 Nov 2021 02:34:42 +0000
- To: public-css-archive@w3.org
I like the use of attributes, so the width/height can be provided to the iframe as soon as the HTML is received... out of interest, would there be any benefit to using a single attribute, like `requestedsize="300 400"`, in the same way that the `srcset` attribute contains multiple values (maybe string parsing would be an unnecessary complication, and future values like "300 auto-on-load" might be a bit weird)? I like the [auto-on-load](https://github.com/domenic/cooperatively-sized-iframes#but-what-about-auto-resizing) suggestion, and I'm happy to wait for that to be introduced in the future (this proposal would help the main issue today, to include 3rd party content, which nearly always uses JS anyway; delaying that for everyone to agree on how an auto value should work, probably isn't a good idea). Thank you for writing this up, and providing examples to show how it can be used. -- GitHub Notification of comment by craigfrancis Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1771#issuecomment-978768292 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 25 November 2021 02:34:44 UTC