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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-intrinsic-dimensions/fit-content-min-width-with-zero-width-container-should-not-crash.html

Issue 2065243003: [css-sizing] Ensure positive available size on replaced elements Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <link href="resources/width-keyword-classes.css" rel="stylesheet">
3 <style>
4 .container {
5 position: relative;
6 border: 2px solid red;
7 }
8 .float { float: left; }
9 .positioned { position: absolute; }
10 .width-0 { width: 0px; }
11 </style>
12 <script src="../../resources/js-test.js"></script>
mstensho (USE GERRIT) 2016/08/09 11:35:26 Nothing is tested in this test, apart from the cra
jfernandez 2016/08/18 19:21:10 I think we can remove it, indeed.
13
14 <p>Ensure that intrinsic min-width size does not crash because of negative avail able width assertions.</p>
15
16 <div class="container float">
17 <canvas class="min-width-fit-content"></canvas>
18 </div>
19
20 <div class="container width-0">
21 <canvas class="min-width-fit-content"></canvas>
22 </div>
23
24 <div class="container width-0">
25 <div class="min-width-fit-content positioned"></div>
26 </div>
27
28 <div class="container float">
29 <div class="min-width-fit-content positioned"></div>
30 </div>
31
32 <div class="container width-0">
33 <div class="min-width-fit-content"></div>
34 </div>
35
36 <div class="container float">
37 <div class="min-width-fit-content"></div>
38 </div>
39
40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698