blob: 96a4db5c9896668fb009364d507bf5a55e49d8d4 [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.layoutTestController)
layoutTestController.dumpAsText();
</script>
</head>
<body>
<p>
This is a test for <i>http://bugzilla.opendarwin.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>