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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-with-border-in-intrinsic.html

Issue 1496513002: [css-grid] Fix the height computation of grid items with borders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 5 years 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/LayoutBox.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
3 <style>
4 .grid {
5 display: grid;
6 font: 50px/1 Ahem;
7 border: 5px dashed magenta;
8 width: 150px;
9 height: 150px;
10 }
11 .item {
12 border: 50px solid rgba(0, 255, 250, 0.5);
13 }
14 .gridFR {
15 grid: 1fr / 1fr;
16 }
17 .gridMaxContent {
18 grid: max-content / max-content;
19 }
20 .gridMinContent {
21 grid: min-content / min-content;
22 }
23 .gridAuto {
24 grid: auto / auto;
25 }
26 </style>
27 <script src="../../resources/testharness.js"></script>
28 <script src="../../resources/testharnessreport.js"></script>
29 <script src="../../resources/check-layout-th.js"></script>
30
31 <body onload="checkLayout('.grid')">
32 <div id=log></div>
33
34 <div class="grid gridFR" data-expected-width="160" data-expected-height="160" da ta-expected-client-width="150" data-expected-client-height="150">
35 <div class="item" data-expected-width="150" data-expected-height="150" data- expected-client-width="50" data-expected-client-height="50">X</div>
36 </div>
37
38 <div class="grid gridMinContent" data-expected-width="160" data-expected-height= "160" data-expected-client-width="150" data-expected-client-height="150">
39 <div class="item" data-expected-width="150" data-expected-height="150" data- expected-client-width="50" data-expected-client-height="50">X</div>
40 </div>
41
42 <div class="grid gridMaxContent" data-expected-width="160" data-expected-height= "160" data-expected-client-width="150" data-expected-client-height="150">
43 <div class="item" data-expected-width="150" data-expected-height="150" data- expected-client-width="50" data-expected-client-height="50">X</div>
44 </div>
45
46 <div class="grid gridAuto" data-expected-width="160" data-expected-height="160" data-expected-client-width="150" data-expected-client-height="150">
47 <div class="item" data-expected-width="150" data-expected-height="150" data- expected-client-width="50" data-expected-client-height="50">X</div>
48 </div>
49
50 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698