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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/css3/background/background-right-bottom-subpixel-position.html
diff --git a/third_party/WebKit/LayoutTests/css3/background/background-right-bottom-subpixel-position.html b/third_party/WebKit/LayoutTests/css3/background/background-right-bottom-subpixel-position.html
new file mode 100644
index 0000000000000000000000000000000000000000..10a0a2ab70a1a052ac227b006a4ef0482d2737bf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/background/background-right-bottom-subpixel-position.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ .background1 {
+ position: absolute;
+ top: 20px;
+ left: 48.828125px;
+ width: 35.5469px;
+ height: 40.3125px;
+ margin: 0px;
+ padding: 0px;
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAIAAADITs03AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AcUEzYUOm312wAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAATSURBVBjTY2BoYGBiYBjFgwQDAGNPAUcILSYcAAAAAElFTkSuQmCC");
+ background-position: bottom right;
+ background-repeat: no-repeat;
+ }
+ .background2 {
+ position: absolute;
+ top: 20.828125px;
+ left: 100px;
+ width: 40px;
+ height: 35.55px;
+ margin: 0px;
+ padding: 0px;
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAABCAIAAAATs2rlAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AcVEwcj/DEwAwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAOSURBVAjXY2RoYBiEAABLrgCCBjI+jgAAAABJRU5ErkJggg==");
+ background-position: bottom right;
+ background-repeat: no-repeat;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="background1">
+ </div>
+ <div class="background2">
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698