Reviewed by eseidel.
authorrwlbuis <rwlbuis@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Sep 2006 20:29:10 +0000 (20:29 +0000)
committerrwlbuis <rwlbuis@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Sep 2006 20:29:10 +0000 (20:29 +0000)
commita33e8a26bb7a89fc1b6c379ac7d018c12801bd48
tree3f74c1ab3cbdc31325c1083356dccefa9e705b18
parent6ae5223bf9cd329ad1495818a80f6863c789716e
    Reviewed by eseidel.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=11015
        SVG handles em units incorrectly

        Calculate viewport coordinates at layout time, since
        at this point the font size is known and lengths depending
        on font sizes can be calculated correctly.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/custom/viewport-em-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/viewport-em-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/viewport-em-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/viewport-em.svg [new file with mode: 0644]
LayoutTests/svg/custom/viewport-update2-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/viewport-update2-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/viewport-update2-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/viewport-update2.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/kcanvas/RenderSVGContainer.cpp
WebCore/kcanvas/RenderSVGContainer.h
WebCore/ksvg2/svg/SVGLength.cpp
WebCore/ksvg2/svg/SVGMarkerElement.cpp
WebCore/ksvg2/svg/SVGSVGElement.cpp
WebCore/ksvg2/svg/SVGSVGElement.h