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

Side by Side Diff: LayoutTests/css3/flexbox/flexbox-wordwrap.html

Issue 324073003: Flex box word-wrap is not adhering to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/check-layout.js"></script>
5 <style>
6 .flex{
7 width:600px;
8 display:flex;
9 height:100px;
10 background:gray;
11 margin-bottom:100px;
12 }
13 .item{
14 width:150px;
15 background:yellow;
16 margin:10px;
17 flex:none;
18 }
19 .content1{
20 width:100px;
21 height:150px;
22 background:red;
23 }
24 .content2{
25 width:100px;
26 height:100px;
27 background:red;
28 }
29 .content3{
30 width:100px;
31 height:50px;
32 background:red;
33 }
34 </style>
35 </head>
36 <body onload="checkLayout('.flex')">
37 <p>Test for crbug.com/362848: Flex box word-wrap is not adhering to spec</p>
38 <div class="flex">
39 <div class="item" id="item1" data-expected-height="80"><div class="content1" ></div></div>
40 <div class="item" id="item2" data-expected-height="80"><div class="content2" ></div></div>
41 <div class="item" id="item3" data-expected-height="80"><div class="content3" ></div></div>
42 </div>
43
44 <div class="flex" style="flex-wrap:wrap;">
45 <div class="item" id="item4" data-expected-height="80"><div class="content1" ></div></div>
46 <div class="item" id="item5" data-expected-height="80"><div class="content2" ></div></div>
47 <div class="item" id="item6" data-expected-height="80"><div class="content3" ></div></div>
48 </div>
49
50 <div class="flex" style="flex-wrap:wrap;">
tony 2014/06/10 16:30:21 There should be tests for column flexboxes and it
harpreet.sk 2014/06/11 08:13:16 Done.
51 <div class="item" id="item7" data-expected-height="150"><div class="content1 "></div></div>
52 <div class="item" id="item8" data-expected-height="150"><div class="content2 "></div></div>
53 <div class="item" id="item9" data-expected-height="150"><div class="content3 "></div></div>
54 <div class="item" id="item10" data-expected-height="150"><div class="content 1"></div></div>
55 <div class="item" id="item11" data-expected-height="150"><div class="content 2"></div></div>
56 </div>
57 </body>
58 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/flexbox-wordwrap-expected.txt » ('j') | Source/core/rendering/RenderFlexibleBox.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698