servo/tests/ref/outlines_wrap_ref.html
Patrick Walton 5fdaba05a6 layout: Implement text-align: justify and text-justify per
CSS-TEXT-3 § 7.3.

`text-justify: distribute` is not supported.

The behavior of `text-justify: none` does not seem to match what Firefox
and Chrome do, but it seems to match the spec.

Closes #213.
2015-01-29 17:00:41 -08:00

19 lines
336 B
HTML

<!DOCTYPE html>
<html>
<!-- Tests that outlines draw on all four sides on word wrapped edges. -->
<style>
section {
width: 100px;
height: 100px;
border: solid black 2px;
font-size: 36px;
}
span {
outline: solid red 2px;
}
</style>
<body>
<section><span>I like</span> <span>truffles</span></section>
</body>
</html>