blob: 41e729c5b45ae78cf0e568e0da4a36645805404f [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>This tests that we don't use simple line layout when webkit-line-box-contain: glyphs is set and the glyphs overflow the line vertically.</title>
<meta name="fuzzy" content="maxDifference=0-6; totalPixels=0-68" />
<style>
div {
-webkit-line-box-contain: glyphs;
line-height: 10px;
}
</style>
<script>
if (window.internals) {
internals.settings.setLegacyLineLayoutVisualCoverageEnabled(true);
}
</script>
</head>
<body>
<div>foobar</div>
</body>
</html>