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

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: Rebaselined test. Created 3 years, 11 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/testharness.js"></script>
13 <script src="../../resources/testharnessreport.js"></script>
14 <div class="container float">
15 <canvas class="min-width-fit-content"></canvas>
16 </div>
17
18 <div class="container float">
19 <canvas class="min-width-fit-content width-0"></canvas>
20 </div>
21
22 <div class="container width-0">
23 <canvas class="min-width-fit-content"></canvas>
24 </div>
25
26 <div class="container width-0">
27 <div class="min-width-fit-content positioned"></div>
28 </div>
29
30 <div class="container float">
31 <div class="min-width-fit-content positioned"></div>
32 </div>
33
34 <div class="container width-0">
35 <div class="min-width-fit-content"></div>
36 </div>
37
38 <div class="container float">
39 <div class="min-width-fit-content"></div>
40 </div>
41
42 <script>
43 test(() => {}, 'Ensure that intrinsic min-width size does not crash because of n egative available width assertions.');
44 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698