WebCore:
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Sep 2007 09:45:13 +0000 (09:45 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Sep 2007 09:45:13 +0000 (09:45 +0000)
commit47e840e7c08e16fb96ba09b0b825813009661547
treeb5986d63ed0d891e05865b2ba0fde16e0ede8bcc
parentb6abd95682add19b39ffc098c3e104d14db2b871
WebCore:

        Reviewed by Maciej.

        Fix <rdar://problem/5488539>
        (9A550) iPhone Banner on O2.UK site not clickable with Safari due to styled noscript element

        Don't create renderer for noscript if scripts are enabled.

        Test: fast/dom/noscript-style.html

        * html/HTMLElement.cpp:
        (WebCore::HTMLElement::mapToEntry):
        (WebCore::HTMLElement::parseMappedAttribute):
        (WebCore::HTMLElement::checkDTD):
        (WebCore::HTMLElement::rendererIsNeeded):
        (WebCore::HTMLElement::createRenderer):
        * html/HTMLElement.h:

LayoutTests:

        Reviewed by Maciej.

        Test for <rdar://problem/5488539>
        (9A550) iPhone Banner on O2.UK site not clickable with Safari due to styled noscript element

        * fast/dom/noscript-style-expected.txt: Added.
        * fast/dom/noscript-style.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/noscript-style-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/noscript-style.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLElement.cpp
WebCore/html/HTMLElement.h