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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/do-not-paint-below-image-baseline.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/images/do-not-paint-below-image-baseline.html -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <script src="resources/paint-invalidation-test.js"></script>
6 <script>
7 function paintInvalidationTest()
8 {
9 var things = document.getElementsByClassName("before");
10 while (things.length)
11 things[0].classList.remove("before");
12 }
13 </script>
14 <style>
15 img {
16 margin: 50px;
17 }
18 body {
19 margin: 0px;
20 }
21 .before {
22 background-color: green;
23 }
24 </style>
25 </head>
26 <body onload="runPaintInvalidationTest()">
27 <img class="before" src="../../../fast/images/resources/59.jpg">
28 <p> When painting an inline image, do not paint below its baseline unless it s selected.
29 The invalidation rect should not extend outside the content rect of the image. </p>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698