blob: 120077823c29160db30e93e7fb9b5989bf1b4ff5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<link href="resources/flexbox.css" rel="stylesheet">
<style>
div::first-line { line-height: 100px; }
p::first-line { line-height: 100px;}
</style>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<body onload="checkLayout('.flexbox')">
<div id=log></div>
<p>This test flex item should ignore flex container's firstLine pseudo element, but flex item's firstLine should be valid.</p>
<div class="flexbox">
<p data-expected-height=100>The first item.</p>
<p data-expected-height=100>The second item.</p>
</div>
</body>
</html>