summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/text-autosizing/first-line-scale-factor.html
blob: 40319fce4c1ed4505d4d516e307499c6ea482ed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=800">
<style>
    html { font-size: 16px; }
    body { width: 800px; margin: 0; overflow: hidden; }
    #pseudo3::first-line { font-size: 32px; color: purple; }
</style>

<script src="resources/autosizingTest.js"></script>
</head>
<body>
    <div id="pseudo3">TheFirstLineOfThisTextShouldBeInPurpleAnd ShouldBeLargerThanTheRestOfTheTextAndThereShouldBeEnoughTextForTheSentenceToAutoSize. This is written without spaces so we don't have platform-specific differences in where exactly the first line cuts off.</div>
</body>
</html>