2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / dom / inner-text-rtl.html
blob96a4db5c9896668fb009364d507bf5a55e49d8d4
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html>
3 <head>
4 <title>plainText() returning partial result</title>
5 <script type="text/javascript">
6 if (window.layoutTestController)
7 layoutTestController.dumpAsText();
8 </script>
9 </head>
10 <body>
11 <p>
12 This is a test for <i>http://bugzilla.opendarwin.org/show_bug.cgi?id=6029
13 plainText() returns a partial result when the node contains RTL text</i>.
14 </p>
15 <p>
16 The following lines should be identical.
17 </p>
18 <hr>
19 <p id="target">&#x05d1;&#x05d1;&#x05e7;&#x05e9;&#x05d4; select
20 and copy this sentence.</p>
21 <p><script type="text/javascript">
22 document.write(document.getElementById('target').innerText);
23 </script></p>
24 </body>
25 </html>