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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/flexbox/flex-grow-less-than-one.html

Issue 1375163002: Flex grow wrongly calculated for value between 0 and 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/css3/flexbox/flex-grow-less-than-one-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 .container {
5 height: 100px;
6 width: 100px;
7 border: 1px solid black;
8 }
9
10 .child-flex-grow-0-5 {
11 background-color: green;
12 flex-grow: 0.5;
13 }
14
15 .child-flex-grow-0-25 {
16 background-color: red;
17 flex-grow: 0.25;
18 }
19
20 .basis {
21 flex-basis: 30px;
22 }
23
24 .vertical {
25 -webkit-writing-mode: vertical-rl;
26 }
27 </style>
28 <script src="../../resources/check-layout.js"></script>
29 <body onload="checkLayout('.flexbox');">
30
31 <div class="flexbox container">
32 <div class="child-flex-grow-0-5" data-expected-width="50"></div>
33 </div>
34
35 <div class="flexbox container">
36 <div class="child-flex-grow-0-5" data-expected-width="50"></div>
37 <div class="child-flex-grow-0-25" data-expected-width="25"></div>
38 </div>
39
40 <div class="flexbox container column">
41 <div class="child-flex-grow-0-5" data-expected-height="50"></div>
42 <div class="child-flex-grow-0-25" data-expected-height="25"></div>
43 </div>
44
45 <div class="flexbox container column vertical">
46 <div class="child-flex-grow-0-5 " data-expected-width="50"></div>
47 <div class="child-flex-grow-0-25 " data-expected-width="25"></div>
48 </div>
49
50 <div class="flexbox container vertical">
51 <div class="child-flex-grow-0-5 " data-expected-height="50"></div>
52 <div class="child-flex-grow-0-25 " data-expected-height="25"></div>
53 </div>
54
55 <div class="flexbox container">
56 <div class="child-flex-grow-0-5 basis" data-expected-width="50"></div>
57 <div class="child-flex-grow-0-25 basis" data-expected-width="40"></div>
58 </div>
59
60 <div class="flexbox container column">
61 <div class="child-flex-grow-0-5 basis" data-expected-height="50"></div>
62 <div class="child-flex-grow-0-25 basis" data-expected-height="40"></div>
63 </div>
64
65 <div class="flexbox container vertical">
66 <div class="child-flex-grow-0-5 basis" data-expected-height="50"></div>
67 <div class="child-flex-grow-0-25 basis" data-expected-height="40"></div>
68 </div>
69
70 <div class="flexbox container column vertical">
71 <div class="child-flex-grow-0-5 basis" data-expected-width="50"></div>
72 <div class="child-flex-grow-0-25 basis" data-expected-width="40"></div>
73 </div>
74 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/flexbox/flex-grow-less-than-one-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698