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

Side by Side Diff: LayoutTests/fast/repaint/repaint-descandant-on-ancestor-layer-move.html

Issue 354613003: Properly repaint RenderLayer's descendants when it moves (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use a flag instead of a seperate tree walk. Created 6 years, 6 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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 body {
4 position: absolute;
5 left: 0px;
6 top: 0px;
7 right: 0px;
8 bottom: 0px;
9 }
10 body > div {
11 position: absolute;
12 left: 400px; top: 10px; opacity: 1;
13 }
14 div > div {
15 position: relative;
16 display: inline-block;
17 left: 20px;
18 top: 20px;
19 width: 300px;
20 background-color: papayawhip;
21 }
22 </style>
23 <body onload="runRepaintTest();">
24 <div id="container">
25 <div>
26 There should only be one copy of this text.
27 </div>
28 </div>
29
30 <script src="resources/text-based-repaint.js"></script>
31 <script>
32 function repaintTest() {
33 var container = document.getElementById('container');
34 container.style.left = '0px';
35 };
36 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698