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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/border-radius-with-outline.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 <!-- Based on fast/repaint/border-radius-with-outline.html --> 1 <!-- Based on fast/repaint/border-radius-with-outline.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
4 <script> 4 <script>
5 <!-- Should full repaint because the actual border radius changes. --> 5 <!-- Should full repaint because the actual border radius changes. -->
6 window.expectedPaintInvalidationObjects = [
7 "LayoutBlockFlow (positioned) DIV id='target'",
8 ];
9 function paintInvalidationTest() 6 function paintInvalidationTest()
10 { 7 {
11 document.getElementById('target').style.width = '200px'; 8 document.getElementById('target').style.width = '200px';
12 } 9 }
13 window.onload = runPaintInvalidationTest; 10 window.onload = runPaintInvalidationTest;
14 </script> 11 </script>
15 <style> 12 <style>
16 body { 13 body {
17 margin: 0; 14 margin: 0;
18 } 15 }
19 div { 16 div {
20 position: absolute; 17 position: absolute;
21 width: 80px; 18 width: 80px;
22 height: 200px; 19 height: 200px;
23 top: 100px; 20 top: 100px;
24 left: 100px; 21 left: 100px;
25 background-color: green; 22 background-color: green;
26 border-radius: 50px; 23 border-radius: 50px;
27 outline: 5px solid green; 24 outline: 5px solid green;
28 outline-offset: 50px; 25 outline-offset: 50px;
29 } 26 }
30 </style> 27 </style>
31 <div id="target"></div> 28 <div id="target"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698