Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Side by Side Diff: LayoutTests/fast/layers/inline-dirty-z-order-lists.html

Issue 196573042: Remove display() from more layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove video-frame-size-change test Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <p> 1 <p>
2 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=23848">https:// bugs.webkit.org/show_bug.cgi?id=23848</a> REGRESSION: Crash when mouse cursor mo ves over a link on www.opportuno.de</i>. 2 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=23848">https:// bugs.webkit.org/show_bug.cgi?id=23848</a> REGRESSION: Crash when mouse cursor mo ves over a link on www.opportuno.de</i>.
3 </p> 3 </p>
4 <p> 4 <p>
5 This tests that changing the z-index of an inline correctly invalidates its 5 This tests that changing the z-index of an inline correctly invalidates its
6 layer&rsquo;s and its stacking context&rsquo;s z-index lists. 6 layer&rsquo;s and its stacking context&rsquo;s z-index lists.
7 </p> 7 </p>
8 <span id="outer" style="position: relative; z-index: 100;"> 8 <span id="outer" style="position: relative; z-index: 100;">
9 <div id="inner" style="position: absolute; height: 50px; width: 50px; backgr ound-color: blue;"> 9 <div id="inner" style="position: absolute; height: 50px; width: 50px; backgr ound-color: blue;">
10 </div> 10 </div>
11 </span> 11 </span>
12 <script src="../../resources/run-after-display.js"></script>
12 <script> 13 <script>
13 function test() 14 if (window.testRunner)
14 { 15 testRunner.waitUntilDone();
16 runAfterDisplay(function() {
15 document.getElementById("outer").style.removeProperty("z-index"); 17 document.getElementById("outer").style.removeProperty("z-index");
16 document.getElementById("inner").style.display = "none"; 18 document.getElementById("inner").style.display = "none";
17 } 19 if (window.testRunner)
18 20 testRunner.notifyDone();
19 if (window.testRunner) { 21 });
20 document.body.offsetTop;
21 testRunner.display();
22 test();
23 } else
24 setTimeout(test, 0);
25 </script> 22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698