blob: e6a4af967cf3a90fb38a87a44826f87f49013f58 [file] [log] [blame] [edit]
<!DOCTYPE html>
<html>
<link href="resources/flexbox.css" rel="stylesheet">
<style>
.container::first-letter { line-height: 100px; }
.flexboxFirstLetter::first-letter { line-height: 200px; }
p { line-height: 20px; }
</style>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<body onload="checkLayout('.container')">
<div id=log></div>
<p>Flexboxes do not generate a first formatted line. As a result, the container does not have a first formatted line.</p>
<div class="container">
<div class="flexbox flexboxFirstLetter">
<p data-expected-height=20>The first item.</p>
<p data-expected-height=20>The second item.</p>
</div>
<p data-expected-height=20>Out of flex.</p>
</div>
<div class="container">
<div class="flexbox">
<p data-expected-height=20>The first item.</p>
<p data-expected-height=20>The second item.</p>
</div>
<p data-expected-height=20>Out of flex.</p>
</div>
</body>
</html>