<div dir="ltr">On Mon, Aug 18, 2008 at 2:19 PM, Ian Hickson <span dir="ltr"><ian@hixie.ch></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Mon, 18 Aug 2008, Robert O'Callahan wrote:<br>
><br>
> IE7, FF3 and Opera 9.51 compress whitespace when getting document.title.<br>
> \t and \n (at least) are converted to spaces, runs of consecutive spaces<br>
> are compressed to a single space, and leading and trailing spaces are<br>
> stripped. Safari 3.1 follows the spec and does none of this.<br>
<br>
</div>Do you mean for the purposes of the interface? Or in the API?<br>
<font color="#888888"></font></blockquote><div><br>The API, if I understand your question correctly. To be precise: the rendering of this tescase:<br></div></div><br><head><br> <title><br>Hello Kitty<br>Kitty </title><br>
</head><br><body><br><p>Title: <span id="s" style="white-space:pre; background:yellow;"></span><br><script><br>document.getElementById("s").innerHTML = document.title;<br>
</script><br clear="all"><br>Rob<br>-- <br>"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]<br>
</div>