layout/forms/test/test_bug478219.xhtml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <!--
     3 https://bugzilla.mozilla.org/show_bug.cgi?id=478219
     4 -->
     5 <head>
     6   <title>Test for Bug 478219</title>
     7   <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>        
     8   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
     9   <style type="text/css">
    11   </style>
    12 </head>
    14 <body>
    15 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=478219">Mozilla Bug 478219</a>
    16 <input style="overflow: scroll;-moz-binding:url(#xbl);" type="image"/>
    17 <pre id="test">
    18 <script class="testbody" type="text/javascript">
    19   var win = window.open('', '', 'width=100,height=100');
    20   win.close();
    21   is(win.closed, true, "Window should have been opened");
    22   is(win.opener, window, "Opened window should have as opener this window");
    23 </script>
    24 </pre>
    26 <bindings xmlns="http://www.mozilla.org/xbl">
    27 <binding id="xbl" inheritstyle="false">
    28 <content>
    30 <div xmlns="http://www.w3.org/1999/xhtml" contenteditable="true">
    31 <style>style {-moz-binding:url(#xbl);</style>
    32 </div>
    33 <textarea xmlns="http://www.w3.org/1999/xhtml"></textarea>
    34 </content>
    35 </binding>
    36 </bindings>
    37 </body>
    38 </html>

mercurial