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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/fractional-sized-scrolling-layer.html

Issue 2416453006: Use the pixelSnappedScrollWidth/Height for contentsSize (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #contents {
4 height: 500px;
5 background-color: rgb(0,255,0);
6 }
7 #container {
8 overflow-y: scroll;
9 height: 200px;
10 width: 50%;
11 background-color: red;
12 }
13 #outercontainer {
14 position: absolute;
15 left: 0px;
16 width: 575.06px;
flackr 2016/10/13 21:07:43 If we can set fractional widths, then is the outer
Stephen Chennney 2016/10/13 21:27:41 Turns out it is necessary. There is clearly some d
17 padding-left: 40px;
18 padding-right: 0px;
19 background-color: black;
20 }
21 </style>
22 <div id="outercontainer">
23 <div id="container">
24 <div id="contents">
25 </div>
26 </div>
27 </div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698