| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html> |
| <head> |
| <title>plainText() returning partial result</title> |
| <script type="text/javascript"> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| </script> |
| </head> |
| <body> |
| <p> |
| This is a test for <i>https://bugs.webkit.org/show_bug.cgi?id=6029 |
| plainText() returns a partial result when the node contains RTL text</i>. |
| </p> |
| <p> |
| The following lines should be identical. |
| </p> |
| <hr> |
| <p id="target">בבקשה select |
| and copy this sentence.</p> |
| <p><script type="text/javascript"> |
| document.write(document.getElementById('target').innerText); |
| </script></p> |
| </body> |
| </html> |