[whatwg] Stripping newlines from URI attributes

On Fri, Jul 31, 2009 at 1:34 PM, Alex Henrie <alexhenrie24 at gmail.com> wrote:

> RFC 3986, which is referenced in the Web addresses specification, states
> "In some cases, extra whitespace (spaces, line-breaks, tabs, etc.) may have
> to be added to break a long URI across lines. The whitespace should be
> ignored when the URI is extracted." Firefox's behavior appears to be
> consistent with this.
>

You may be observing that Gecko's line breaking algorithm is aware of URIs
and will break them across lines, but that doesn't change the DOM and is
unrelated to how we handle URIs which already have newlines in them.

Rob
-- 
"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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090731/6800556a/attachment.htm>

Received on Thursday, 30 July 2009 20:29:05 UTC