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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-content-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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .layout-container {
4 width: 210px;
5 position: relative;
6 }
7 .position-container {
8 position: relative;
9 width: 203px;
10 margin-left: auto;
11 margin-right: auto;
12 }
13
14 #overflow {
15 width: 50%;
16 height: 100px;
17 overflow: scroll;
18 position: absolute;
19 will-change: transform;
20 }
21
22 .spacer {
23 background: #0f0;
24 height: 2000px;
25 width: 100%;
26 }
27 </style>
28
29 <body>
30 <div class="layout-container">
31 <div class="position-container">
32 <div id="overflow">
33 <div class="spacer">
34 </div>
35 </div>
36 </div>
37 </div>
38 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698