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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-cover-rounding.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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/backgrounds/background-cover-rounding-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .covers {
6 /*data URI of full green 97x43 PNG*/
7 background: red url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGEAAAA rCAIAAADnp3H+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMREiYUszPbTwAAABl0RVh0Q29 tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABOSURBVGje7dAxAQAACAOgaXKj28DbAyJQmXBrBY4 cOXLkyJEjHDly5MiRI0eOcOTIkSNHjhzhyJEjR44cOXKEI0eOHDly5AhHjhw5emMB9PAA1iv0hcsAAAA ASUVORK5CYII=") no-repeat 0 0 / cover;
8 border: 5px solid gray;
9 margin: 10px;
10 }
11 .contains {
12 /*data URI of full green 97x43 PNG*/
13 background: white url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGEAA AArCAIAAADnp3H+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMREiYUszPbTwAAABl0RVh0Q 29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABOSURBVGje7dAxAQAACAOgaXKj28DbAyJQmXBrB Y4cOXLkyJEjHDly5MiRI0eOcOTIkSNHjhzhyJEjR44cOXKEI0eOHDly5AhHjhw5emMB9PAA1iv0hcsAA AAASUVORK5CYII=") no-repeat 0 0 / contain;
14 border: 5px solid gray;
15 margin: 10px;
16 }
17 </style>
18 </head>
19 <body>
20 <div class="covers" style="width: 120px; height: 50px;"></div>
21 <div class="covers" style="width: 50px; height: 120px;"></div>
22 <div class="contains" style="width: 150px; height: 49px;"></div>
23 <div class="contains" style="width: 50px; height: 50px;"></div>
24 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/backgrounds/background-cover-rounding-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698