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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-percent-track-scrollbar.html

Issue 1338703002: [css-grid] Percentage columns should remove scrollbar's width (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 | LayoutTests/fast/css-grid-layout/grid-percent-track-scrollbar-expected.txt » ('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 <html>
3 <head>
4 <link href="resources/grid.css" rel="stylesheet">
5 <style>
6 .grid {
7 width: 100px;
8 height: 100px;
9 grid-template-columns: 20% 50% 30%;
10 grid-template-rows: 40% 60%;
11 }
12
13 .scroll {
14 width: 115px;
15 height: 115px;
16 overflow: scroll;
17 }
18
19 </style>
20 <script src="../../resources/check-layout.js"></script>
21 </head>
22 <body onload="checkLayout('.grid');">
23 <p>This test checks that percentage tracks reduce the grid's scrollbars if a ny in order to calculate their breadths.</p>
24
25 <div class="grid">
26 <div data-expected-width="20" data-expected-height="40"></div>
27 <div data-expected-width="50" data-expected-height="40"></div>
28 <div data-expected-width="30" data-expected-height="40"></div>
29 <div data-expected-width="20" data-expected-height="60"></div>
30 <div data-expected-width="50" data-expected-height="60"></div>
31 <div data-expected-width="30" data-expected-height="60"></div>
32 </div>
33
34 <div class="grid scroll">
35 <div data-expected-width="20" data-expected-height="40"></div>
36 <div data-expected-width="50" data-expected-height="40"></div>
37 <div data-expected-width="30" data-expected-height="40"></div>
38 <div data-expected-width="20" data-expected-height="60"></div>
39 <div data-expected-width="50" data-expected-height="60"></div>
40 <div data-expected-width="30" data-expected-height="60"></div>
41 </div>
42
43 </body>
44 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/grid-percent-track-scrollbar-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698