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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/background/background-right-bottom-subpixel-position.html

Issue 2167323002: Fix the positioning of backgrounds positioned right and bottom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .background1 {
6 position: absolute;
7 top: 20px;
8 left: 48.828125px;
9 width: 35.5469px;
10 height: 40.3125px;
11 margin: 0px;
12 padding: 0px;
13 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAE AAABkCAIAAADITs03AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AcUEzYUOm312wAAABl0RVh 0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAATSURBVBjTY2BoYGBiYBjFgwQDAGNPAUcILSY cAAAAAElFTkSuQmCC");
14 background-position: bottom right;
15 background-repeat: no-repeat;
16 }
17 .background2 {
18 position: absolute;
19 top: 20.828125px;
20 left: 100px;
21 width: 40px;
22 height: 35.55px;
23 margin: 0px;
24 padding: 0px;
25 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADI AAAABCAIAAAATs2rlAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AcVEwcj/DEwAwAAABl0RVh 0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAOSURBVAjXY2RoYBiEAABLrgCCBjI+jgAAAAB JRU5ErkJggg==");
26 background-position: bottom right;
27 background-repeat: no-repeat;
28 }
29 </style>
30 </head>
31 <body>
32 <div class="background1">
33 </div>
34 <div class="background2">
35 </div>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698