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

Side by Side Diff: LayoutTests/fast/css-grid-layout/fixed-width-intrinsic-width-should-exclude-scrollbar-width-in-grid.html

Issue 532203002: Test: Don't add scrollbar width to intrinsic width of fixed-width grid items (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More variety in test coverage Created 6 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <link href="resources/grid.css" rel="stylesheet">
4 <style>
5 .grid {
6 grid-template-columns: 400px 500px;
7 grid-template-rows: 200px 300px;
8 }
9
10 .gridItemScrollOverflow {
11 width: 50px;
12 height: 50px;
13 overflow: scroll;
14 }
15
16 </style>
17 <script src="../../resources/check-layout.js"></script>
18 <body onload="checkLayout('.grid')">
19
20 <p>This test checks that scrollbar width should not be added to the width of fix ed-width grid items.</p>
21
22 <div class="grid">
23 <div class="firstRowFirstColumn gridItemScrollOverflow" data-expected-width= "50" data-expected-height="50"></div>
24 <div class="firstRowSecondColumn gridItemScrollOverflow" data-expected-width ="50" data-expected-height="50"></div>
25 <div class="secondRowFirstColumn gridItemScrollOverflow" data-expected-width ="50" data-expected-height="50"></div>
26 <!-- Grid item itself being a grid container-->
27 <div class="grid secondRowSecondColumn gridItemScrollOverflow" data-expected -width="50" data-expected-height="50"></div>
28 </div>
29
30 </body>
31 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/fixed-width-intrinsic-width-should-exclude-scrollbar-width-in-grid-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698