Bug 661140 - Make test_bug596350.html test focus on rendered elements instead of display:none; elements. r=mounir
authorHenri Sivonen <hsivonen@iki.fi>
Wed, 01 Jun 2011 16:02:36 +0200
changeset 70451 2d0b50884c7a4e861f36fc7a38c0845d78315d44
parent 70450 9439ffe089a13715e7e9aa5ad1db5c324f3984d1
child 70452 d0423bbf03915d05c8591c3acf755efe5491c447
push id20324
push usermlamouri@mozilla.com
push dateThu, 02 Jun 2011 11:11:19 +0000
treeherdermozilla-central@1e3b54a01913 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmounir
bugs661140, 596350
milestone7.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 661140 - Make test_bug596350.html test focus on rendered elements instead of display:none; elements. r=mounir
content/html/content/test/test_bug596350.html
--- a/content/html/content/test/test_bug596350.html
+++ b/content/html/content/test/test_bug596350.html
@@ -7,17 +7,17 @@ https://bugzilla.mozilla.org/show_bug.cg
   <title>Test for Bug 596350</title>
   <script type="application/javascript" src="/MochiKit/packed.js"></script>
   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=596350">Mozilla Bug 596350</a>
 <p id="display"></p>
-<div id="content" style="display: none">
+<div id="content">
   <object></object>
   <object data="iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMsALGPC/xhBQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9YGARc5KB0XV+IAAAAddEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q72QlbgAAAF1JREFUGNO9zL0NglAAxPEfdLTs4BZM4DIO4C7OwQg2JoQ9LE1exdlYvBBeZ7jqch9//q1uH4TLzw4d6+ErXMMcXuHWxId3KOETnnXXV6MJpcq2MLaI97CER3N0vr4MkhoXe0rZigAAAABJRU5ErkJggg=="></object>
   <object data="data:text/html,foo"></object>
 </div>
 <pre id="test">
 <script type="application/javascript">
 
 /** Test for Bug 596350 **/