haikuwebkit/LayoutTests/fast/line-grid/line-grid-inside-columns.html

49 lines
2.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<style>
.grid { -webkit-line-grid: simple; -webkit-line-snap: baseline;
font-size:36px; }</style>
</head>
<body>
<div style="height:500px; border:2px solid red; -webkit-column-count:2; -webkit-column-fill:auto; column-count:2; column-fill:auto;">
<div class="grid">
<div style="font-size:16px">
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
</div>
<div style="font-size:24px">
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
</div>
<div style="font-size:10px">
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
</div>
<div style="font-size:18px">
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
All of this text even though it's smaller should be on the 36px
grid. The grid should reset at the top of the second column.<br>
</div>
</div>
</div>
</div>
</body>
</html>