LayoutTests:
authoraliceli1 <aliceli1@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Sep 2006 02:28:53 +0000 (02:28 +0000)
committeraliceli1 <aliceli1@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Sep 2006 02:28:53 +0000 (02:28 +0000)
commitfcad424035ea5276b942b89e0981f4fdc0004b8f
treebbd8c60946740299546e1d2ee13936fc54676a5f
parent0a79256dc4c09cbd1552650cb073828b3bc8c6dd
LayoutTests:

        Reviewed by Darin.

        Revised expected results for an isindex element because of
        <rdar://problem/4463870> Switch to use new text field implementation for <isindex>
        Now the field is rendered as a textfield

        * fast/dom/isindex-002-expected.checksum:
        * fast/dom/isindex-002-expected.png:
        * fast/dom/isindex-002-expected.txt:

WebCore:

        Reviewed by Darin.

        Fixed <rdar://problem/4463870> Switch to use new text field implementation for <isindex>

        * bindings/objc/DOMHTML.mm:
        (-[DOMHTMLInputElement _isTextField]):
        moved isindex from the list of nonTextInputTypes to the list of textInputTypes
        * css/html4.css:
        added isindex to certain rules that applied to input fields
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::canHaveSelection):
        (WebCore::HTMLInputElement::selectionStart):
        (WebCore::HTMLInputElement::selectionEnd):
        (WebCore::HTMLInputElement::setSelectionStart):
        (WebCore::HTMLInputElement::setSelectionEnd):
        (WebCore::HTMLInputElement::select):
        (WebCore::HTMLInputElement::setSelectionRange):
        (WebCore::HTMLInputElement::createRenderer):
        for the 8 methods above, moved the case for isindex to the same case as text
        * html/HTMLInputElement.h:
        (WebCore::HTMLInputElement::isNonWidgetTextField):
        added isindex to this test
        * html/HTMLIsIndexElement.idl:
        HTMLIsIndexElement inherits from HTMLInputElement
        * rendering/RenderLineEdit.cpp:
        (WebCore::RenderLineEdit::RenderLineEdit):
        removed the case for isindex since we changed the renderer type from a RenderLineEdit
        to a RenderTextControl in WebCore::HTMLInputElement::createRenderer()

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16171 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/isindex-002-expected.checksum
LayoutTests/fast/dom/isindex-002-expected.png
LayoutTests/fast/dom/isindex-002-expected.txt
WebCore/ChangeLog
WebCore/bindings/objc/DOMHTML.mm
WebCore/css/html4.css
WebCore/html/HTMLInputElement.cpp
WebCore/html/HTMLInputElement.h
WebCore/html/HTMLIsIndexElement.idl
WebCore/rendering/RenderLineEdit.cpp