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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/margin.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
(Empty)
1 <!-- Based on fast/repaint/margin.html -->
2 <!DOCTYPE HTML>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 function paintInvalidationTest()
6 {
7 // Margin change will visually move the content of the div.
8 // Should repaint the old position and the new position.
9 document.getElementById('target').style.margin = '20px';
10 }
11 window.onload = runPaintInvalidationTest;
12 </script>
13 <style>
14 body {
15 margin: 0;
16 }
17 div {
18 width: 100px;
19 height: 100px;
20 position: absolute;
21 background-color: green;
22 }
23 </style>
24 <div id="target"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698