bug591249_iframe.xul 916 B

12345678910111213141516171819202122232425262728293031323334
  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. <html:body>
  24. <html:h1 id="iframetext">Iframe for Bug 591249</html:h1>
  25. <html:div id="drop-target"
  26. ondrop="return false;"
  27. ondragenter="return false;"
  28. ondragover="return false;">
  29. </html:div>
  30. </html:body>
  31. </window>