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

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