LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Nov 2006 23:37:43 +0000 (23:37 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Nov 2006 23:37:43 +0000 (23:37 +0000)
commit1cfb387cdc6d8df34bec73c97bff1d989ef5cb4c
treec74bc21f9f2ea940e957d0aed8d41d7d609d7d75
parent3fcaad1352fe067f34e84a0d46b65e90dca63cbb
LayoutTests:

        Reviewed by Oliver

        * editing/pasteboard/paste-unrendered-select-expected.checksum: Added.
        * editing/pasteboard/paste-unrendered-select-expected.png: Added.
        * editing/pasteboard/paste-unrendered-select-expected.txt: Added.
        * editing/pasteboard/paste-unrendered-select.html: Added.

WebCore:

        Reviewed by Oliver

        <rdar://problem/4820026>
        copy/paste of news.google.com yields text from hidden select element options

        We were adding descendants of unrendered select elements.

        * editing/markup.cpp:
        (WebCore::createMarkup): Don't traverse into nodes without renderers, unless
        they are grandfathered in by a rendered select element.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/paste-unrendered-select-expected.checksum [new file with mode: 0644]
LayoutTests/editing/pasteboard/paste-unrendered-select-expected.png [new file with mode: 0644]
LayoutTests/editing/pasteboard/paste-unrendered-select-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/paste-unrendered-select.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/markup.cpp