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

Side by Side Diff: LayoutTests/css3/flexbox/flex-one-sets-flex-basis-to-zero-px.html

Issue 1212753002: Convert tests (except fast/, imported/) using ahem font to ahem.js style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/css3/calc/zoom-with-em.html ('k') | LayoutTests/css3/zoom-coords.xhtml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <link href="resources/flexbox.css" rel="stylesheet"> 3 <link href="resources/flexbox.css" rel="stylesheet">
4 <style> 4 <style>
5 .flexbox > div { 5 .flexbox > div {
6 font-family: Ahem; 6 font-family: Ahem;
7 font-size: 14px; 7 font-size: 14px;
8 } 8 }
9 9
10 .flex-one-one-zero-percent { 10 .flex-one-one-zero-percent {
11 flex: 1 1 0%; 11 flex: 1 1 0%;
12 min-width: 0; 12 min-width: 0;
13 min-height: 0; 13 min-height: 0;
14 } 14 }
15 15
16 .flex-one-one-zero-px { 16 .flex-one-one-zero-px {
17 flex: 1 1 0px; 17 flex: 1 1 0px;
18 min-width: 0; 18 min-width: 0;
19 min-height: 0; 19 min-height: 0;
20 } 20 }
21 21
22 .vertical { 22 .vertical {
23 -webkit-writing-mode: vertical-rl; 23 -webkit-writing-mode: vertical-rl;
24 } 24 }
25 </style> 25 </style>
26 <script src="../../resources/check-layout.js"></script> 26 <script src="../../resources/check-layout.js"></script>
27 <script src="../../resources/ahem.js"></script>
27 <body onload="checkLayout('.flexbox');"> 28 <body onload="checkLayout('.flexbox');">
28 <div class="flexbox column"> 29 <div class="flexbox column">
29 <div class="flex-one" data-expected-height="14">Flex item with flex: 1</div> 30 <div class="flex-one" data-expected-height="14">Flex item with flex: 1</div>
30 </div> 31 </div>
31 32
32 <div class="flexbox column"> 33 <div class="flexbox column">
33 <div class="flex-one-one-zero-percent" data-expected-height="14">Flex item wit h flex: 1 1 0%</div> 34 <div class="flex-one-one-zero-percent" data-expected-height="14">Flex item wit h flex: 1 1 0%</div>
34 </div> 35 </div>
35 36
36 <div class="flexbox column"> 37 <div class="flexbox column">
37 <div class="flex-one-one-zero-px" data-expected-height="0">Flex item with flex : 1 1 0px</div> 38 <div class="flex-one-one-zero-px" data-expected-height="0">Flex item with flex : 1 1 0px</div>
38 </div> 39 </div>
39 40
40 <div class="flexbox column vertical"> 41 <div class="flexbox column vertical">
41 <div class="flex-one" data-expected-width="14">Flex item with flex: 1</div> 42 <div class="flex-one" data-expected-width="14">Flex item with flex: 1</div>
42 </div> 43 </div>
43 44
44 <div class="flexbox column vertical"> 45 <div class="flexbox column vertical">
45 <div class="flex-one-one-zero-percent" data-expected-width="14">Flex item with flex: 1 1 0%</div> 46 <div class="flex-one-one-zero-percent" data-expected-width="14">Flex item with flex: 1 1 0%</div>
46 </div> 47 </div>
47 48
48 <div class="flexbox column vertical"> 49 <div class="flexbox column vertical">
49 <div class="flex-one-one-zero-px" data-expected-width="0">Flex item with flex: 1 1 0px</div> 50 <div class="flex-one-one-zero-px" data-expected-width="0">Flex item with flex: 1 1 0px</div>
50 </div> 51 </div>
51 </body> 52 </body>
52 </html> 53 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/calc/zoom-with-em.html ('k') | LayoutTests/css3/zoom-coords.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698