- From: Martin Janecke via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 Mar 2021 21:49:08 +0000
- To: public-css-archive@w3.org
> You don't need to have an `html` tag in the code to set a property on it; dropping a `<style>html { intrinsic-size: auto; }</style>` into the srcdoc string suffices, since the `html` element gets auto-created by the HTML parser.
Ah, good.
Is there a reason why a `srcdoc` should have to explictly opt-in though? The person or script which generates the containing document has also full control over the srcdoc, since it is a part of the containing document. Having to opt-in from inside the srcdoc and from outside seems redundant in this case.
--
GitHub Notification of comment by prlbr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1771#issuecomment-806208058 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 24 March 2021 21:49:09 UTC