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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/vertical-align-length2-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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>
3 <script>
4 function repaintTest()
5 {
6 document.getElementById('target').style.verticalAlign = 'middle';
7 }
8 window.onload = runRepaintTest;
9 </script>
10 <style> 2 <style>
11 body { 3 body {
12 margin: 0; 4 margin: 0;
13 } 5 }
14 .other { 6 .other {
15 width: 200px; 7 width: 200px;
16 height: 200px; 8 height: 200px;
17 background-color: blue; 9 background-color: blue;
18 display: inline-block; 10 display: inline-block;
19 } 11 }
20 #target { 12 #target {
21 width: 100px; 13 width: 100px;
22 height: 100px; 14 height: 100px;
23 background-color: green; 15 background-color: green;
24 display: inline-block; 16 display: inline-block;
17 vertical-align: 50px;
25 } 18 }
26 </style> 19 </style>
27 <div class="other"></div><div id="target"></div><div class="other"></div> 20 <div class="other"></div><div id="target"></div><div class="other"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698