flexbox_flex-none-wrappable-content.html (693B)
1 <!DOCTYPE html> 2 <title>Specifying flex:none on wrappable content should give content its full width</title> 3 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-common"> 4 <meta name="assert" content="When content has flex:none, it should be given its full width"> 5 <link rel="match" href="flexbox_flex-none-wrappable-content-ref.html"> 6 7 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 8 <style> 9 span { 10 font-family: Ahem; 11 color: green; 12 } 13 </style> 14 15 <div style="display: flex; width: 5px;"> 16 <div style="flex: none;"> 17 <span>XXX XXX XXX</span> 18 </div> 19 </div> 20 21 <div style="margin-top: 1em;">You should see three green rectangles above, all on the same line.</div>