[Webkit-unassigned] [Bug 55987] input type=email and multiple is not compliant

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 27 22:48:53 PDT 2011


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





--- Comment #17 from Kent Tamura <tkent at chromium.org>  2011-06-27 22:48:53 PST ---
(From update of attachment 98861)
View in context: https://bugs.webkit.org/attachment.cgi?id=98861&action=review

> Source/WebCore/html/parser/HTMLParserIdioms.cpp:69
> +String stripHTMLLineBreaks(const String& string)
> +{
> +    unsigned length = string.length();
> +    if (!length)
> +        return String();
> +
> +    unsigned i;
> +    for (i = 0; i < length; i++) {
> +        if (isHTMLLineBreak(string[i]))

I'm sorry that I have just remembered we have String::removeCharacters().
So, we can replace stipHTMLLineBreaks() calls with proposedValue.removeCharacters(isHTMLLineBreak), and need no stripHTMLLineBreaks().

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