W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Re: <iframe doc="">

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sat, 16 Jan 2010 10:39:28 +0100
Message-ID: <4B518950.3030502@gmx.de>
To: Ian Hickson <ian@hixie.ch>
CC: Karl Dubost <karl+w3c@la-grange.net>, public-html@w3.org
Ian Hickson wrote:
> On Fri, 15 Jan 2010, Karl Dubost wrote:
>> Le 12 janv. 2010 à 20:58, Ian Hickson a écrit :
>>> Maciej, I will be adding a specification for the oft-discussed doc="" 
>>> attribute on <iframe> to the HTML5 spec in the near future.
>> Would it be possible to have a markup example? (I mean the content of the attribute).
> The details depend on ongoing discussions, but e.g.:
>           <iframe seamless sandbox="allow-scripts allow-forms" doc="
>             Read my blog!
>             <a href='#' onclick='alert(document.cookie)'>Click here</a>
>           "></iframe>

I thought markup in attributes was a super-anti-pattern.

How about adding one level of indirection?

           <iframe seamless sandbox="allow-scripts allow-forms" 


           <span id=x><a href='#' onclick='alert(document.cookie)'>Click 

BR, Julian
Received on Saturday, 16 January 2010 09:40:13 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:57 UTC