blob: fb25eaf421250ac5fa467a5d6f7105860859b68a [file] [log] [blame]
<!doctype html><!-- webkit-test-runner [ InlineFormattingContextIntegrationEnabled=false ] -->
<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>
<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>