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

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-cover-rounding-expected.html

Issue 1823593003: Fix for lack of cover with background-size: cover (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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: third_party/WebKit/LayoutTests/fast/backgrounds/background-cover-rounding-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-cover-rounding-expected.html b/third_party/WebKit/LayoutTests/fast/backgrounds/background-cover-rounding-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..af63a810111d40cbca79955d9c8696bf5fb9c350
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-cover-rounding-expected.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ .covers {
+ /*data URI of full green 97x43 PNG*/
+ background: red url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGEAAAArCAIAAADnp3H+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMREiYUszPbTwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABOSURBVGje7dAxAQAACAOgaXKj28DbAyJQmXBrBY4cOXLkyJEjHDly5MiRI0eOcOTIkSNHjhzhyJEjR44cOXKEI0eOHDly5AhHjhw5emMB9PAA1iv0hcsAAAAASUVORK5CYII=") repeat;
+ border: 5px solid gray;
+ margin: 10px;
+ }
+ .containsWide {
+ /*data URI of full green 110x49 PNG*/
+ background: white url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAAAxCAIAAAC04QuOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMREx4TOwqYIAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABXSURBVGje7dAxAQAACAOgaXKjW8LDAyJQmXCiFahUqRKVKlWqRKVKlahUqVIlKlWqRKVKlSpRqVIlKlWqVIlKlSpRqVKlSlSqVIlKlSpVolKlSlSqfGkBDtoA4vMqI7YAAAAASUVORK5CYII=") repeat-y;
+ border: 5px solid gray;
+ margin: 10px;
+ }
+ .containsTall {
+ /*data URI of full green 50x22 PNG*/
+ background: white url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAWCAIAAAANYFjGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMREx8PNhD1LgAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAqSURBVEjH7c4xAQAACAOgaXKjW8LDAxJQmTzUiZaWlpaWlpaWlpaW1pUFpt8ArH8g1RcAAAAASUVORK5CYII=") repeat-x;
+ border: 5px solid gray;
+ margin: 10px;
+ }
+
+ </style>
+</head>
+<body>
+<div class="covers" style="width: 120px; height: 50px;"></div>
+<div class="covers" style="width: 50px; height: 120px;"></div>
+<div class="containsWide" style="width: 150px; height: 49px;"></div>
+<div class="containsTall" style="width: 50px; height: 50px;"></div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698