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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/invalidation-with-zero-size-object.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> 2 <script src="resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() 4 function repaintTest()
5 { 5 {
6 document.getElementById('element').style.width = '0'; 6 document.getElementById('element').style.width = '0';
7 document.getElementById('element').style.height = '0'; 7 document.getElementById('element').style.height = '0';
8 } 8 }
9 9
10 onload = runRepaintTest; 10 onload = runRepaintAndPixelTest;
11 </script> 11 </script>
12 <style> 12 <style>
13 #element { 13 #element {
14 width: 200px; 14 width: 200px;
15 height: 200px; 15 height: 200px;
16 background-color: red; 16 background-color: red;
17 } 17 }
18 #inner { 18 #inner {
19 width: 100%; 19 width: 100%;
20 height: 100%; 20 height: 100%;
21 } 21 }
22 </style> 22 </style>
23 <div id='element'> 23 <div id='element'>
24 <div id='inner'></div> 24 <div id='inner'></div>
25 </div> 25 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698