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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/relative-margin-change-repaint.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/relative-margin-change-repaint.html -->
2 <!DOCTYPE HTML>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <style>
5 body {
6 margin: 0;
7 }
8 #container {
9 position: relative;
10 top: 40px;
11 width: 200px;
12 height: 400px;
13 }
14 #test {
15 position: relative;
16 background-color: green;
17 width: 100px;
18 height: 100px;
19 }
20 </style>
21 <script>
22 function paintInvalidationTest()
23 {
24 document.getElementById("test").style['margin-top'] = '20px';
25 }
26 window.onload = runPaintInvalidationTest;
27 </script>
28 <div id="container">
29 <div id="test"></div>
30 </div>
31 <!-- Tests the repainting of relative element when margin-top changes. -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698