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

Unified Diff: LayoutTests/fast/images/do-not-paint-below-image-baseline.html

Issue 251783004: Don't paint below image's baseline unless it is selected. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/images/do-not-paint-below-image-baseline.html
diff --git a/LayoutTests/fast/images/do-not-paint-below-image-baseline.html b/LayoutTests/fast/images/do-not-paint-below-image-baseline.html
new file mode 100644
index 0000000000000000000000000000000000000000..0e05a3fe325e31815244d2890ca58851843434e7
--- /dev/null
+++ b/LayoutTests/fast/images/do-not-paint-below-image-baseline.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script src="../repaint/resources/text-based-repaint.js"></script>
+ <script>
+ function repaintTest()
+ {
+ var things = document.getElementsByClassName("before");
+ while (things.length)
+ things[0].classList.remove("before");
+ }
+ </script>
+ <style>
+ img {
+ margin: 50px;
+ }
+ body {
+ margin: 0px;
+ }
+ .before {
+ background-color: green;
+ }
+ </style>
+ </head>
+ <body onload="runRepaintTest()">
+ <img class="before" src="resources/59.jpg">
Julien - ping for review 2014/05/02 00:23:35 You know that I like description and expected resu
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698