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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/percent-size-image-resize-container.html

Issue 2010243002: Remove paint/invalidation/spv2 (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
(Empty)
1 <!-- Based on fast/repaint/percent-size-image-resize-container.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 function paintInvalidationTest() {
6 var div = document.getElementsByTagName('div')[0];
7 div.style.width = '100px';
8 div.style.height = '200px';
9 }
10 onload = runPaintInvalidationTest;
11 </script>
12 <style>
13 div {
14 position: absolute;
15 top: 50px;
16 left: 0px;
17 width: 150px;
18 height: 150px;
19 }
20 img {
21 position: absolute;
22 width: 100%;
23 height: 100%;
24 }
25 </style>
26 The percent-sized image should be fully repainted on container's resize. Passes if there is a whole apple after resize.
27 <div>
28 <img src="../../../fast/repaint/resources/apple.jpg">
29 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698