haikuwebkit/LayoutTests/fast/text/hyphenate-limit-lines.html

52 lines
2.0 KiB
HTML

<style>
div {
width: 200px;
font-size: 26px;
-webkit-hyphens: auto;
text-align: justify;
margin: 0 4px;
float: left;
border: solid thin lightblue;
-webkit-locale: "en_US";
}
</style>
<div style="-webkit-hyphenate-limit-lines: no-limit;">
also the division of the mind into the rational, concupiscent, and
irascible elements, or of pleasures and desires into necessary and
unnecessary&mdash;these and other great forms of thought are all of them
to be found in the Republic, and were probably first invented by
Plato.
</div>
<div style="-webkit-hyphenate-limit-lines: 3;">
also the division of the mind into the rational, concupiscent, and
irascible elements, or of pleasures and desires into necessary and
unnecessary&mdash;these and other great forms of thought are all of them
to be found in the Republic, and were probably first invented by
Plato.
</div>
<div style="-webkit-hyphenate-limit-lines: 2;">
also the division of the mind into the rational, concupiscent, and
irascible elements, or of pleasures and desires into necessary and
unnecessary&mdash;these and other great forms of thought are all of them
to be found in the Republic, and were probably first invented by
Plato.
</div>
<div style="-webkit-hyphenate-limit-lines: 1;">
also the division of the mind into the rational, concupiscent, and
irascible elements, or of pleasures and desires into necessary and
unnecessary&mdash;these and other great forms of thought are all of them
to be found in the Republic, and were probably first invented by
Plato.
</div>
<div style="-webkit-hyphenate-limit-lines: 0;">
also the division of the mind into the rational, concupiscent, and
irascible elements, or of pleasures and desires into necessary and
unnecessary&mdash;these and other great forms of thought are all of them
to be found in the Republic, and were probably first invented by
Plato.
</div>