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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-intrinsic-dimensions/fill-available-with-zero-width.html

Issue 2022033003: [css-sizing] Adding border and padding to fill-available width (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New approach and tests case. Created 4 years, 6 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/LayoutTests/fast/css-intrinsic-dimensions/fill-available-with-zero-width-expected.html » ('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 <link href="resources/width-keyword-classes.css" rel="stylesheet">
3 <style>
4 .block {
5 width: 0px;
6 font: 10px/1 Ahem;
7 }
8
9 .flex {
10 display: flex;
11 }
12
13 .grid {
14 display: grid;
15 grid-template-columns: 0px;
16 }
17
18 .item {
19 border: 5px solid magenta;
20 background: cyan;
21 }
22 </style>
23
24 <p>Checking out that 'min-width' as 'fill-available' respects border and padding sizes when container size is 0px, behaving like min-width: auto.</p>
25
26 <h2>block</h2>
27
28 <div class="block">
29 <div class="item min-width-fill-available">item</div>
30 </div>
31
32 <hr>
33
34 <h2>flex</h2>
35
36 <div class="block flex">
37 <div class="item min-width-fill-available">item</div>
38 </div>
39
40 <hr>
41
42 <h2>grid</h2>
43
44 <div class="block grid">
45 <div class="item min-width-fill-available">item</div>
46 </div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-intrinsic-dimensions/fill-available-with-zero-width-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698