Patch contributed by Niels Leenheer <niels.leenheer@gmail.com>
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jun 2005 22:27:55 +0000 (22:27 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jun 2005 22:27:55 +0000 (22:27 +0000)
commitdd7a395b9371c01c1985b018b87f540ef12f4b67
treee5b759297df7c6ffcc9c03acce5c1e7b8098a23d
parented5d2e4b7ea60d5a9aa066d90a7cb201a6966e9c
    Patch contributed by Niels Leenheer <niels.leenheer@gmail.com>

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3370
        (Safari can't handle strange frame dimensions)

        Reviewed by Darin.

        * khtml/dom/dom_string.cpp:
        (DOM::DOMString::toCoordsArray):
        * khtml/dom/dom_string.h:
        * khtml/html/html_imageimpl.cpp:
        (HTMLAreaElementImpl::parseMappedAttribute):
        * khtml/xml/dom_atomicstring.h:
        (DOM::AtomicString::toCoordsArray):
        * khtml/xml/dom_stringimpl.cpp:
        (DOM::parseLength):
        (DOM::DOMStringImpl::toCoordsArray):
        (DOM::DOMStringImpl::toLengthArray):
        * khtml/xml/dom_stringimpl.h:

        Test cases added:
        * layout-tests/fast/frames/invalid-expected.txt: Added.
        * layout-tests/fast/frames/invalid.html: Added.
        * layout-tests/fast/frames/valid-expected.txt: Added.
        * layout-tests/fast/frames/valid.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/frames/invalid-expected.txt [new file with mode: 0644]
LayoutTests/fast/frames/invalid.html [new file with mode: 0644]
LayoutTests/fast/frames/valid-expected.txt [new file with mode: 0644]
LayoutTests/fast/frames/valid.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/dom/dom_string.cpp
WebCore/khtml/dom/dom_string.h
WebCore/khtml/html/html_imageimpl.cpp
WebCore/khtml/xml/dom_atomicstring.h
WebCore/khtml/xml/dom_stringimpl.cpp
WebCore/khtml/xml/dom_stringimpl.h