OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title>pre element</title> | 5 <title>pre element</title> |
6 <link rel="author" title="dzenana" href="mailto:dzenana.trenutak@gmail.com"> | 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"> | 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." /> | 8 <meta name="assert" content="Newlines within pre elements separate paragraph
s for the purposes of BIDI." /> |
10 </head> | 9 </head> |
11 <body> | 10 <body> |
12 <h1>Description</h1> | 11 <h1>Description</h1> |
13 <p>This test continues to validate the pre element.</p> | 12 <p>This test continues to validate the pre element.</p> |
14 | 13 |
15 <p>The spec states:</p> | 14 <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> | 15 <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 | 16 |
18 <p>This reftest passes if below you see "ABC ABC" repeated on two separate l
ines below (4 ABCs total):</p> | 17 <p>This reftest passes if below you see "ABC ABC" repeated on two separate l
ines below (4 ABCs total):</p> |
19 | 18 |
20 <pre>ABC ABC | 19 <pre>ABC ABC |
21 ABC ABC</pre> | 20 ABC ABC</pre> |
22 | 21 |
23 </html> | 22 </html> |
OLD | NEW |