Status: FAIL | Duration: 13ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/text-align/text-align-justify-tabs-003.html
<!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 element’s 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	tab 1	tab 2 jklmno<br>pqrs</div> <div class=test>a b c<b>	</b>tab 1<b>	</b>tab 2 jklmno pqrs</div> </body>
/css/css-text/text-align/reference/text-align-justify-tabs-002-ref.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>text-align: justify and preserved tabs - reference</title> <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; } </style> </head> <body> <p>The layout in the two boxes should be the same:</p> <div>a b c	tab 1	tab 2 jklmno<br>pqrs</div> <div>a b c	tab 1	tab 2 jklmno<br>pqrs</div> </body>