[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 16:49:55 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=113240
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #194939|review? |review-
Flag| |
--- Comment #5 from Ryosuke Niwa <rniwa at webkit.org> 2013-03-25 16:52:22 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());
> + 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.
--
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