3 ms·
Looks like you've made sure any recursion only goes one deep? (Awesome) http://scratchpad.io/5mqq98D51P http://scratchpad.io/5mqq98D51P Every change forces a
by meric 14y ago
Looks like you've made sure any recursion only goes one deep? (Awesome)
http://scratchpad.io/5mqq98D51P http://scratchpad.io/5mqq98D51P
Every change forces a reload on the iframe. I wonder if there's a way to prevent that.
<html>
<body>
<h1>Heading</h1>
<iframe width="640" height="480"
src="http://scratchpad.io/5mqq98D51P">
</iframe>
</body>
</html>
- laughinghan 14y agoThat has nothing to do with Scratchpad, it's in the spec for HTML frames: "Infinite recursion is prevented. Any frame that attempts to assign as its SRC a URL used by any of its ancestors is treated as if it has no SRC URL at all (basically a blank frame)." http://www.w3.org/TR/WD-frames-970331 http://www.w3.org/TR/WD-frames-970331