Title: [109430] trunk/Source/WebKit/blackberry
Revision
109430
Author
[email protected]
Date
2012-03-01 14:41:56 -0800 (Thu, 01 Mar 2012)

Log Message

Autocomplete attribute should apply to textarea's.
https://bugs.webkit.org/show_bug.cgi?id=79929

Patch by Mike Fenton <[email protected]> on 2012-03-01
Reviewed by Antonio Gomes.

Add local static Qualified name for autocorrect attribute.

* WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::elementSupportsAutocorrect):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/ChangeLog (109429 => 109430)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-03-01 22:41:33 UTC (rev 109429)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-03-01 22:41:56 UTC (rev 109430)
@@ -1,3 +1,15 @@
+2012-03-01  Mike Fenton  <[email protected]>
+
+        Autocomplete attribute should apply to textarea's.
+        https://bugs.webkit.org/show_bug.cgi?id=79929
+
+        Reviewed by Antonio Gomes.
+
+        Add local static Qualified name for autocorrect attribute.
+
+        * WebKitSupport/DOMSupport.cpp:
+        (BlackBerry::WebKit::DOMSupport::elementSupportsAutocorrect):
+
 2012-02-29  Mike Fenton  <[email protected]>
 
         Autocomplete attribute should apply to textarea's.

Modified: trunk/Source/WebKit/blackberry/WebKitSupport/DOMSupport.cpp (109429 => 109430)


--- trunk/Source/WebKit/blackberry/WebKitSupport/DOMSupport.cpp	2012-03-01 22:41:33 UTC (rev 109429)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/DOMSupport.cpp	2012-03-01 22:41:56 UTC (rev 109430)
@@ -180,7 +180,8 @@
 // to the element.
 AttributeState elementSupportsAutocorrect(const Element* element)
 {
-    return elementAttributeState(element, QualifiedName(nullAtom, "autocorrect", nullAtom));
+    DEFINE_STATIC_LOCAL(QualifiedName, autocorrectAttr, (nullAtom, "autocorrect", nullAtom));
+    return elementAttributeState(element, autocorrectAttr);
 }
 
 AttributeState elementSupportsAutocomplete(const Element* element)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to