[Webkit-unassigned] [Bug 113240] TextIterator emits LF for a br element inside an empty textarea element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 25 17:17:15 PDT 2013


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





--- Comment #6 from Aurimas Liutikas <aurimas at chromium.org>  2013-03-25 17:19:42 PST ---
(From update of attachment 194939)
View in context: https://bugs.webkit.org/attachment.cgi?id=194939&action=review

>> Source/WebCore/editing/TextIterator.cpp:757
>> +    return emitsOriginalText || !(node->isInShadowTree() && (node->shadowHost()->toInputElement() || isHTMLTextAreaElement(node->shadowHost())));
> 
> How does this work? This code change will make it so that we never emit new lines for BRs inside textarea.
> We need to emit BRs between lines.

In Chromium each new line seems to be a new text node. Is that not the case for Safari?

-- 
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