LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Jun 2006 05:55:22 +0000 (05:55 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Jun 2006 05:55:22 +0000 (05:55 +0000)
commitf3dcc7d802928e0a06a42787d964f9845b53518f
tree6a385a54d7c74274c66410894d0d4c92fde8c0e0
parent92b4f2b3513658d27e5fae97a988e50451c8591a
LayoutTests:

        Reviewed by Maciej and Adele

        Tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=8398
        Updated and extended select/option form tests

        * fast/forms/HTMLOptionElement_label01.html:
        * fast/forms/HTMLOptionElement_label01-expected.txt:
        * fast/forms/HTMLOptionElement_label01-expected.png:
        * fast/forms/HTMLOptionElement_label02.html:
        * fast/forms/HTMLOptionElement_label02-expected.txt:
        * fast/forms/HTMLOptionElement_label02-expected.png:
        * fast/forms/HTMLOptionElement_label03.html:
        * fast/forms/HTMLOptionElement_label03-expected.txt:
        * fast/forms/HTMLOptionElement_label03-expected.png
        * fast/forms/HTMLOptionElement_label04.html:
        * fast/forms/HTMLOptionElement_label04-expected.txt:
        * fast/forms/HTMLOptionElement_label04-expected.png
        * fast/forms/HTMLOptionElement_label05.html:
        * fast/forms/HTMLOptionElement_label05-expected.txt:
        * fast/forms/HTMLOptionElement_label05-expected.png:
        Updated to reflect success and added some description

        * fast/forms/HTMLOptionElement_label06.html:
        * fast/forms/HTMLOptionElement_label06-expected.txt:
        * fast/forms/HTMLOptionElement_label05-expected.png:
        * fast/forms/HTMLOptionElement_label07.html:
        * fast/forms/HTMLOptionElement_label07-expected.txt:
        * fast/forms/HTMLOptionElement_label07-expected.png:
        Added.

WebCore:

        Reviewed by Maciej and Adele

        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8398
        REGRESSION: LABEL in OPTION element is clobbering display #TEXT
        Patch provided by Darin.

        * rendering/RenderSelect.cpp
        (RenderSelect::updateFromElement):
        Changed to use the containing text by default, and not the label text

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
31 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/forms/HTMLOptionElement_label01-expected.checksum
LayoutTests/fast/forms/HTMLOptionElement_label01-expected.png
LayoutTests/fast/forms/HTMLOptionElement_label01-expected.txt
LayoutTests/fast/forms/HTMLOptionElement_label01.html
LayoutTests/fast/forms/HTMLOptionElement_label02-expected.checksum
LayoutTests/fast/forms/HTMLOptionElement_label02-expected.png
LayoutTests/fast/forms/HTMLOptionElement_label02-expected.txt
LayoutTests/fast/forms/HTMLOptionElement_label02.html
LayoutTests/fast/forms/HTMLOptionElement_label03-expected.checksum
LayoutTests/fast/forms/HTMLOptionElement_label03-expected.png
LayoutTests/fast/forms/HTMLOptionElement_label03-expected.txt
LayoutTests/fast/forms/HTMLOptionElement_label03.html
LayoutTests/fast/forms/HTMLOptionElement_label04-expected.checksum
LayoutTests/fast/forms/HTMLOptionElement_label04-expected.png
LayoutTests/fast/forms/HTMLOptionElement_label04-expected.txt
LayoutTests/fast/forms/HTMLOptionElement_label04.html
LayoutTests/fast/forms/HTMLOptionElement_label05-expected.checksum
LayoutTests/fast/forms/HTMLOptionElement_label05-expected.png
LayoutTests/fast/forms/HTMLOptionElement_label05-expected.txt
LayoutTests/fast/forms/HTMLOptionElement_label05.html
LayoutTests/fast/forms/HTMLOptionElement_label06-expected.checksum [new file with mode: 0644]
LayoutTests/fast/forms/HTMLOptionElement_label06-expected.png [new file with mode: 0644]
LayoutTests/fast/forms/HTMLOptionElement_label06-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/HTMLOptionElement_label06.html [new file with mode: 0644]
LayoutTests/fast/forms/HTMLOptionElement_label07-expected.checksum [new file with mode: 0644]
LayoutTests/fast/forms/HTMLOptionElement_label07-expected.png [new file with mode: 0644]
LayoutTests/fast/forms/HTMLOptionElement_label07-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/HTMLOptionElement_label07.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderSelect.cpp