bug591249_iframe.xhtml (916B)
1 <?xml version="1.0"?> 2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?> 3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?> 4 <!-- 5 https://bugzilla.mozilla.org/show_bug.cgi?id=591249 6 --> 7 <window title="Mozilla Bug 591249" 8 xmlns:html="http://www.w3.org/1999/xhtml" 9 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 10 <html:style type="text/css"> 11 #drop-target { 12 width: 50px; 13 height: 50px; 14 border: 4px dotted black; 15 } 16 #drop-target { 17 background-color: red; 18 } 19 #drop-target:-moz-drag-over { 20 background-color: yellow; 21 } 22 </html:style> 23 24 <html:body> 25 <html:h1 id="iframetext">Iframe for Bug 591249</html:h1> 26 27 <html:div id="drop-target" 28 ondrop="return false;" 29 ondragenter="return false;" 30 ondragover="return false;"> 31 </html:div> 32 </html:body> 33 </window>