Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=990340
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test for Bug 990340</title>
9 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
11 <script type="application/javascript">
13 /** Test for Bug 990340 **/
15 function testbug990340() {
16 ok(document.querySelector('#bug990340 span').clientHeight < 100,
17 "'height' is in transition")
18 SimpleTest.finish();
19 }
21 SimpleTest.waitForExplicitFinish();
22 </script>
23 </head>
24 <body>
25 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=990340">Mozilla Bug 990340</a>
26 <p id="display"></p>
27 <div id="content" style="display: none">
29 </div>
30 <pre id="test">
31 <style type="text/css">
33 #bug990340::before {
34 content: ":before";
35 }
37 #bug990340 span {
38 display: inline-block;
39 border:1px solid blue;
40 height: 20px;
41 transition: height 30s;
42 }
44 #bug990340.s span {
45 height: 100px;
46 }
47 </style>
48 <div id="bug990340" style="overflow:scroll">
49 <span>Transition height</span>
50 </div>
51 </pre>
53 <script>
54 document.body.offsetHeight;
55 document.querySelector('#bug990340').className='s';
56 testbug990340()
57 </script>
59 </body>
60 </html>