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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/resize-with-border-clipped-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, 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 document.getElementById('target').style.width = '300px';
6 document.getElementById('target').style.height = '300px';
7 }
8 window.onload = runRepaintTest;
9 </script>
10 <style> 2 <style>
11 body { 3 body {
12 margin: 0; 4 margin: 0;
13 } 5 }
14 #container { 6 #container {
15 position: absolute; 7 position: absolute;
16 top: 100px; 8 top: 100px;
17 left: 100px; 9 left: 100px;
18 width: 200px; 10 width: 200px;
19 height: 200px; 11 height: 200px;
20 overflow: hidden; 12 overflow: hidden;
21 } 13 }
22 #target { 14 #target {
23 width: 100px; 15 width: 300px;
24 height: 100px; 16 height: 300px;
25 border: green 10px solid; 17 border: green 10px solid;
26 background-color: blue; 18 background-color: blue;
27 } 19 }
28 </style> 20 </style>
29 Tests invalidation when a box with border is resized within a clipping container . 21 Tests invalidation when a box with border is resized within a clipping container .
30 Passes if the result paint rects don't exceed the container. 22 Passes if the result paint rects don't exceed the container.
31 <div id="container"> 23 <div id="container">
32 <div id="target"></div> 24 <div id="target"></div>
33 </div> 25 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698