[Webkit-unassigned] [Bug 110740] Should not return WebTextInputTypeNone for date input element.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 26 04:05:19 PST 2013


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


Kent Tamura (ooo until Mar 15) <tkent at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #190189|review?                     |review-
               Flag|                            |




--- Comment #8 from Kent Tamura (ooo until Mar 15) <tkent at chromium.org>  2013-02-26 04:07:42 PST ---
(From update of attachment 190189)
View in context: https://bugs.webkit.org/attachment.cgi?id=190189&action=review

> Source/WebKit/chromium/ChangeLog:18
> +        With this patch, textInputInfo fills type filed regardless of editable or not, but it is
> +        safe because textInputType returns editable type only for known editable element.
> +
> +        * src/WebViewImpl.cpp:
> +        (WebKit::WebViewImpl::textInputInfo):

The paragraph should be on the function list like:

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::textInputInfo): Fills type filed regardless of editable or not. It is safe because textInputType returns editable type only for known editable element.

> Source/WebKit/chromium/src/WebViewImpl.cpp:2391
> +    if (node->isElementNode()) {
> +        HTMLElement* element = static_cast<HTMLElement*>(node);

The code should be:

if (node->isHTMLElement()) {
    HTMLElement* element = toHTMLElement(node);

or

if (node->isElementNode()) {
    Element* element = toElement(node);

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