1
0
Fork 0
firefox/testing/web-platform/tests/css/css-text/text-align/text-align-justify-tabs-004.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

33 lines
1,002 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: justify and preserved tabs</title>
<link rel='match' href='reference/text-align-justify-tabs-002-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<link rel='help' href='https://www.w3.org/TR/css-text-4/#text-align-property'>
<meta name="assert" content="If an elements white space is not collapsible ...
ensure that tab stops continue to line up as required by the white space processing rules.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
div {
font: 25px Ahem, monospace;
width: 30ch;
white-space: pre-wrap;
tab-size: 8;
border: 1px solid gray;
padding: 2px;
margin: 2px;
}
.test {
text-align: justify;
}
</style>
</head>
<body>
<p>The layout in the two boxes should be the same:</p>
<div>a b c&#9;tab 1&#9;tab 2 jklmno<br>pqrs</div>
<div class=test>a b c&#9;<span><span>tab 1<b>&#9;</b>tab 2</span> jklmno</span> pqrs</div>
</body>