mirror of
https://github.com/servo/servo.git
synced 2025-06-13 19:04:30 +00:00
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.
41 lines
500 B
HTML
41 lines
500 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!-- Tests that basic `text-align: justify` works. -->
|
|
<style>
|
|
section {
|
|
background: blue;
|
|
position: absolute;
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
#a, #d {
|
|
left: 0;
|
|
}
|
|
#a, #b, #c {
|
|
top: 0;
|
|
}
|
|
#d, #e {
|
|
top: 25px;
|
|
}
|
|
#b {
|
|
left: 55px;
|
|
}
|
|
#c {
|
|
left: 110px;
|
|
}
|
|
#e {
|
|
left: 50px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<section id=a></section>
|
|
<section id=b></section>
|
|
<section id=c></section>
|
|
<section id=d></section>
|
|
<section id=e></section>
|
|
</body>
|
|
</html>
|
|
|
|
|