[Webkit-unassigned] [Bug 68684] spec change - option.label should be reflected like option.value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 5 09:36:30 PDT 2011


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #109770|review?, commit-queue?      |review+, commit-queue+
               Flag|                            |




--- Comment #25 from Darin Adler <darin at apple.com>  2011-10-05 09:36:30 PST ---
(From update of attachment 109770)
View in context: https://bugs.webkit.org/attachment.cgi?id=109770&action=review

> Source/WebCore/html/HTMLOptionElement.cpp:228
> +    label = collectOptionInnerText(this).stripWhiteSpace(isHTMLSpace);
> +    label = label.simplifyWhiteSpace(isHTMLSpace);
> +
> +    return label;

I think this would read better without the local variable:

    return collectOptionInnerText(this).stripWhiteSpace(isHTMLSpace).simplifyWhiteSpace(isHTMLSpace);

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