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

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: WIP Patch Created 6 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 | 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 <style>
3 .flexbox {
4 display: flex;
5 background-color: #aaa;
6 position: relative;
7 }
8
9 .flexitem {
10 background-color:red;
11 -webkit-aspect-ratio: 1 / 2;
tony 2014/06/23 16:50:57 We should have a test case where the flex item is
harpreet.sk 2014/06/26 14:41:48 I have added the test case where the flex item is
12 }
13 </style>
14 <script src="../../resources/check-layout.js"></script>
15 <body onload="checkLayout('.flexbox')">
16 <p>Test for crbug.com/249112: In Flexbox, allow intrinsic aspect ratios to infor m the main-size calculation</p>
17 <div class="flexbox">
18 <div class="flexitem" style="height:100px" data-expected-width="50" data-expec ted-height="100"></div>
tony 2014/06/23 16:50:57 We should also have a test case where the height i
harpreet.sk 2014/06/26 14:41:48 I have also added this test case in the new patch.
19 </div>
20 <div class="flexbox" style="height:200px">
21 <div class="flexitem" style="height:50%" data-expected-width="50" data-expecte d-height="100"></div>
22 </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