OLD | NEW |
(Empty) | |
| 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-eleme
nt"> |
| 8 <link rel="match" href="grouping-pre-reftest-001.html" /> |
| 9 <meta name="assert" content="Newlines within pre elements separate paragraph
s 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 p
urposes of the Unicode bidirectional algorithm. This requirement may be implemen
ted indirectly through the style layer. For example, an HTML+CSS user agent coul
d 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 l
ines below (4 ABCs total):</p> |
| 19 |
| 20 <pre>ABC ABC |
| 21 ABC ABC</pre> |
| 22 |
| 23 </html> |
OLD | NEW |