blob: cd9c6015cce8605691797b98ed5691a2e3577709 [file] [log] [blame]
<!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">&#x05d1;&#x05d1;&#x05e7;&#x05e9;&#x05d4; select
and copy this sentence.</p>
<p><script type="text/javascript">
document.write(document.getElementById('target').innerText);
</script></p>
</body>
</html>