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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/vertical-align-length2.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 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
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() 4 function repaintTest()
5 { 5 {
6 document.getElementById('target').style.verticalAlign = '50px'; 6 document.getElementById('target').style.verticalAlign = '50px';
7 } 7 }
8 window.onload = runRepaintAndPixelTest; 8 window.onload = runRepaintAndPixelTest;
9 </script> 9 </script>
10 <style> 10 <style>
11 body { 11 body {
12 margin: 0; 12 margin: 0;
13 } 13 }
14 .other { 14 .other {
15 width: 200px; 15 width: 200px;
16 height: 200px; 16 height: 200px;
17 background-color: blue; 17 background-color: blue;
18 display: inline-block; 18 display: inline-block;
19 } 19 }
20 #target { 20 #target {
21 width: 100px; 21 width: 100px;
22 height: 100px; 22 height: 100px;
23 background-color: green; 23 background-color: green;
24 display: inline-block; 24 display: inline-block;
25 vertical-align: 20px; 25 vertical-align: 20px;
26 } 26 }
27 </style> 27 </style>
28 <div class="other"></div><div id="target"></div><div class="other"></div> 28 <div class="other"></div><div id="target"></div><div class="other"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698