servo/tests/ref/text_align_justify_a.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

22 lines
307 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style>
p {
text-align: justify;
width: 135px;
font-size: 25px;
color: blue;
position: absolute;
top: 0;
left: 0;
margin: 0;
}
</style>
</head>
<body>
<p>X X X X X</p>
</body>
</html>