blob: 0e6fa52f637e67fb827fcb8380cfbe3a621bf8f0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.internals) {
internals.settings.setMinimumFontSize(32);
}
</script>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body style="font-size: 16px;">
<div id="target" style="font-size: 0px; line-height: 1rem;">Hi</div>
<script>
shouldBeTrue("document.getElementById('target').offsetHeight < 100");
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>