dom/events/test/bug591249_iframe.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/events/test/bug591249_iframe.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
     1.6 +<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
     1.7 +<!--
     1.8 +https://bugzilla.mozilla.org/show_bug.cgi?id=591249
     1.9 +-->
    1.10 +<window title="Mozilla Bug 591249"
    1.11 +  xmlns:html="http://www.w3.org/1999/xhtml"
    1.12 +  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.13 +  <html:style type="text/css">
    1.14 +    #drop-target {
    1.15 +      width: 50px;
    1.16 +      height: 50px;
    1.17 +      border: 4px dotted black;
    1.18 +    }
    1.19 +    #drop-target {
    1.20 +      background-color: red;
    1.21 +    }
    1.22 +    #drop-target:-moz-drag-over {
    1.23 +      background-color: yellow;
    1.24 +    }
    1.25 +  </html:style>
    1.26 +
    1.27 +  <html:body>
    1.28 +    <html:h1 id="iframetext">Iframe for Bug 591249</html:h1>
    1.29 +
    1.30 +    <html:div id="drop-target"
    1.31 +         ondrop="return false;"
    1.32 +         ondragenter="return false;"
    1.33 +         ondragover="return false;">
    1.34 +    </html:div>
    1.35 +  </html:body>
    1.36 +</window>

mercurial