tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

grouping-pre-reftest-001.html (1056B)


      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    <link rel="match" href="grouping-pre-reftest-001-ref.html" />
      9    <meta name="assert" content="Newlines within pre elements separate paragraphs for the purposes of BIDI." />
     10 </head>
     11 <body>
     12    <h1>Description</h1>
     13    <p>This test continues to validate the pre element.</p>
     14 
     15    <p>The spec states:</p>
     16    <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>
     17 
     18    <p>This reftest passes if below you see "ABC ABC" repeated on two separate lines below (4 ABCs total):</p>
     19 
     20    <pre>&#x202E CBA CBA
     21 ABC ABC</pre>
     22 
     23 </html>