haikuwebkit/LayoutTests/fast/text/line-height-minimumFontSize...

33 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<script>
if (window.internals) {
internals.settings.setMinimumFontSize(32);
internals.setTextZoomFactor(2);
}
</script>
<style>
.test {
display: inline-block;
width: 100px;
border: 2px solid black;
}
</style>
</head>
<body style="font-size: 16px;">
<div class="test" style="font-size: 8px; line-height: normal;">Hello World</div>
<div class="test" style="font-size: 20px; line-height: normal;">Hello World</div>
<div class="test" style="font-size: x-small; line-height: normal;">Hello World</div>
<div class="test" style="font-size: 8px; line-height: 12px;">Hello World</div>
<div class="test" style="font-size: 20px; line-height: 25px;">Hello World</div>
<div class="test" style="font-size: x-small; line-height: 15px;">Hello World</div>
<div class="test" style="font-size: 8px; line-height: 150%;">Hello World</div>
<div class="test" style="font-size: 20px; line-height: 150%;">Hello World</div>
<div class="test" style="font-size: x-small; line-height: 150%;">Hello World</div>
<div class="test" style="font-size: 8px; line-height: 1.5;">Hello World</div>
<div class="test" style="font-size: 20px; line-height: 1.5;">Hello World</div>
<div class="test" style="font-size: x-small; line-height: 1.5;">Hello World</div>
</body>
</html>