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

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-background-fractional-offset.html

Issue 2727223002: Round the subpixel accumulation used for composited scrolling content (Closed)
Patch Set: Merge and remove subpixel adjustment for transformed fragments. Created 3 years, 7 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/compositing/overflow/overflow-scroll-background-fractional-offset.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-background-fractional-offset.html b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-background-fractional-offset.html
new file mode 100644
index 0000000000000000000000000000000000000000..233fb9782cad40501636b3cf794dd2c40f2c3cb2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-background-fractional-offset.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<style>
+.layout-container {
+ width: 210px;
+ position: relative;
+}
+.position-container {
+ position: relative;
+ width: 203px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+#overflow {
+ width: 50%;
+ height: 100px;
+ overflow: scroll;
+ position: absolute;
+ background: #0f0;
+ will-change: transform;
+}
+
+.spacer {
+ height: 2000px;
+}
+</style>
+
+<body>
+ <div class="layout-container">
+ <div class="position-container">
+ <div id="overflow">
+ <div class="spacer">
+ </div>
+ </div>
+ </div>
+ </div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698