blob: a039236660f21da1bf4e13be66c24623d6c5c19e [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ InlineFormattingContextIntegrationEnabled=false ] -->
<html>
<head>
<title>This tests that simple and normal line layout produce the same lines with hyphenate-limit-lines</title>
<style>
div {
display: inline-block;
-webkit-hyphens: auto;
width: 40px;
border: 1px solid green;
margin-right: 100px;
vertical-align: top;
}
</style>
</head>
<body>
<div style="-webkit-hyphenate-limit-lines: 0;">foobarness foobarnessability</div>
<div style="-webkit-hyphenate-limit-lines: 1;">foobarness foobarnessability</div>
<div style="-webkit-hyphenate-limit-lines: 2;">foobarness foobarnessability</div>
<div style="-webkit-hyphenate-limit-lines: 3;">foobarness foobarnessability</div>
<div style="-webkit-hyphenate-limit-lines: 4;">foobarness foobarnessability</div>
<div style="-webkit-hyphenate-limit-lines: 5;">foobarness foobarnessability</div>
</body>
</html>