[Webkit-unassigned] [Bug 31580] Rewrite the test fast/parser/comment-in-textarea to use dumpAsText

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 18 10:00:20 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31580





--- Comment #4 from Darin Adler <darin at apple.com>  2009-11-18 10:00:20 PST ---
(From update of attachment 43410)
> +<div id="console"></div>
> +<script>
> +function log(msg)
> +{
> +    document.getElementById('console').appendChild(document.createTextNode(msg + '\n'));
> +}

I'm not sure why you're including a newline in a text node you're putting
inside a <div>. The newline will just be treated the same way as any other
whitespace. It won't cause the next item to move to a new line.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list