Re: <iframe doc="">

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>

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 16 January 2010 00:38:14 UTC