[webkit-reviews] review granted: [Bug 56474] Add WebKit2 API to figure out if an input or textarea was edited : [Attachment 85946] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 16 11:33:13 PDT 2011


Adam Roben (:aroben) <aroben at apple.com> has granted Sam Weinig
<sam at webkit.org>'s request for review:
Bug 56474: Add WebKit2 API to figure out if an input or textarea was edited
https://bugs.webkit.org/show_bug.cgi?id=56474

Attachment 85946: Patch
https://bugs.webkit.org/attachment.cgi?id=85946&action=review

------- Additional Comments from Adam Roben (:aroben) <aroben at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=85946&action=review

> Source/WebCore/html/HTMLTextAreaElement.cpp:428
> +bool HTMLTextAreaElement::lastChangeWasUserEdit() const
> +{
> +    if (!renderer())
> +	   return false;
> +    return toRenderTextControl(renderer())->lastChangeWasUserEdit();

Can someone use -webkit-appearance to make the renderer not a
RenderTextControl?


More information about the webkit-reviews mailing list