Summary: | Add WebKit2 API to figure out if an input or textarea was edited | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||
Component: | New Bugs | Assignee: | Sam Weinig <sam> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Sam Weinig
2011-03-16 11:22:00 PDT
Created attachment 85946 [details]
Patch
Comment on attachment 85946 [details] Patch 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? |