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

Side by Side Diff: LayoutTests/paint/invalidation/fixed-position-with-text.html

Issue 1330993002: Invalidate all non-composited descendants on fixed-position changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Higher expectations Created 5 years, 3 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #div {
6 position: fixed;
7 float: left;
8 z-index: 10;
9 }
10 span {
11 display: inline-block;
12 border: 1px solid black;
13 }
14 span:hover {
15 color: green;
16 }
17 </style>
18 <script src="../../resources/run-after-layout-and-paint.js"></script>
19 <script type="text/javascript">
20 if (window.testRunner)
21 testRunner.waitUntilDone();
22
23 runAfterLayoutAndPaint(function() {
24 document.body.style.height = "300px";
25 document.getElementById("div").style.position = "relative";
26 if (window.testRunner)
27 testRunner.notifyDone();
28 });
29 </script>
30 </head>
31 <body>
32 <div id="div">
33 <span>This text should be in a box</span>
34 </div>
35 </body>
36 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/paint/invalidation/fixed-position-with-text-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698