W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

Re: [csswg-drafts] [selectors] Styling Content in <img> Elements (#3730)

From: Henrik <sysbot+gh@w3.org>
Date: Thu, 14 Mar 2019 22:11:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-473085265-1552601464-sysbot+gh@w3.org>
Personally I want the option to traverse the document boundary in scripting. The `HTMLIFrameElement` interface already has a `contentDocument` attribute, so this isn't totally unheard of. A copy and paste job could be done for the `HTMLImageElement` and `HTMLObjectElement` interfaces.

More troublesome would be the way of exposing the Document interface for images used by CSS, such as backgrounds. And yes, I have some shenanigans in mind if this was available.

-- 
GitHub Notification of comment by henke37
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3730#issuecomment-473085265 using your GitHub account
Received on Thursday, 14 March 2019 22:11:06 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:05 UTC