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

Side by Side Diff: LayoutTests/css3/flexbox/aspect-ratios-main-size-calculation.html

Issue 343103003: Flexbox: Allow intrinsic aspect ratios to inform main-size calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/aspect-ratios-main-size-calculation-expected.txt » ('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/flexbox.css" rel="stylesheet">
3 <style>
4 .flexbox {
5 background-color: #aaa;
6 }
7 </style>
8 <script src="../../resources/check-layout.js"></script>
9 <body onload="checkLayout('.flexbox');">
10 <p>Test for crbug.com/249112: In Flexbox, allow intrinsic aspect ratios to infor m the main-size calculation</p>
11 <div class="flexbox">
12 <img src="../images/resources/green-100x50.png" style="height: 100px;" data-ex pected-width="200" data-expected-height="100">
13 </div>
14
15 <div class="flexbox" style="height: 80px">
16 <img src="../images/resources/green-100x50.png" style="height: 50%" data-expec ted-width="80" data-expected-height="40">
17 </div>
18
19 <div class="flexbox" style="height: 40px">
20 <img src="../images/resources/green-100x50.png" data-expected-width="80" dat a-expected-height="40">
21 </div>
22
23 <div class="flexbox column">
24 <img src="../images/resources/green-100x50.png" style="width: 50px" data-expec ted-width="50" data-expected-height="25">
25 </div>
26
27 <div class="flexbox column" style="width: 80px">
28 <img src="../images/resources/green-100x50.png" style="width: 50%" data-expect ed-width="40" data-expected-height="20">
29 </div>
30
31 <div class="flexbox column" style="width: 40px">
32 <img src="../images/resources/green-100x50.png" data-expected-width="40" dat a-expected-height="20">
33 </div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/aspect-ratios-main-size-calculation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698