Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/text-justify/text-justify-none-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text 7.4. Justification Method: text-justify: none</title>
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel='match' href='text-justify-none-001-ref.html'>
<meta name="assert" content="text-justify:none means justification is disabled: there are no justification opportunities within the text.">
<style type='text/css'>
p {
font-size: 1.5em;
border: 1px solid black;
padding: 10px;
margin-right: 310px;
}
.test {
text-align-last: justify;
text-justify: none;
}
</style>
</head>
<body>
<p lang="en" class="test">Latin text</p>
<p lang="ja" class="test">日本 文字</p>
<p lang="th" class="test">อักษรไทย อักษรไทย</p>
</body>
</html>