grouping-pre-reftest-001-ref.html (982B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>pre element</title> 6 <link rel="author" title="dzenana" href="mailto:dzenana.trenutak@gmail.com"> 7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-pre-element"> 8 <meta name="assert" content="Newlines within pre elements separate paragraphs for the purposes of BIDI." /> 9 </head> 10 <body> 11 <h1>Description</h1> 12 <p>This test continues to validate the pre element.</p> 13 14 <p>The spec states:</p> 15 <blockquote>"A newline in a pre element should separate paragraphs for the purposes of the Unicode bidirectional algorithm. This requirement may be implemented indirectly through the style layer. For example, an HTML+CSS user agent could implement these requirements by implementing the CSS 'unicode-bidi' property."</blockquote> 16 17 <p>This reftest passes if below you see "ABC ABC" repeated on two separate lines below (4 ABCs total):</p> 18 19 <pre>ABC ABC 20 ABC ABC</pre> 21 22 </html>