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

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-with-sub-pixel-offset-positioning.html

Issue 1583063002: Snap the positioning area size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT-ed Created 4 years, 11 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-with-sub-pixel-offset-positioning.html
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-with-sub-pixel-offset-positioning.html b/third_party/WebKit/LayoutTests/fast/backgrounds/background-with-sub-pixel-offset-positioning.html
new file mode 100644
index 0000000000000000000000000000000000000000..7c835848fefb1bd6902190140f57474ade3ca2fb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-with-sub-pixel-offset-positioning.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+#float {
+ background: url('resources/bgimg1x50.png') 100% 0px no-repeat #FFF;
+ height: 1px;
+ width: 1.5px;
+ position: relative;
+ left: 50px;
+ transform: scale(50);
+}
+#container {
+ margin-left: 1.5px;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+}
+</style>
+<div id="container">
+ <div id="float"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698