Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3942 and marquee problems...
authorbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Jul 2005 20:26:42 +0000 (20:26 +0000)
committerbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Jul 2005 20:26:42 +0000 (20:26 +0000)
commit03a4787acf565cf68c82a9223a5a639baf11827d
tree65e73876d47ae5a455530a8dc8321eceb186a791
parentdc7555cad1e73e1e3fe9cba7ab5109631b8dc610
Fix for bugzilla.opendarwin.org/show_bug.cgi?id=3942 and marquee problems in Radar bug
4172312. Vertical marquees default to 200px, and horizontal marquees do not allow text to be
truncated by a too-small height attribute.

        Reviewed by Hyatt.

        Test cases added: (NONE)

        * khtml/html/html_blockimpl.cpp: deleted former changes to make marquee height work correctly.
        (HTMLMarqueeElementImpl::mapToEntry):
        (HTMLMarqueeElementImpl::parseMappedAttribute):
        * khtml/rendering/render_layer.cpp: this is where the height issues are now addressed
        (Marquee::updateMarqueeStyle):
        * khtml/rendering/render_layer.h:
        (khtml::):
        * khtml/rendering/render_style.h: added function fontSize()
        (khtml::RenderStyle::fontSize):
        * khtml/xml/dom_elementimpl.h: deleted addition of EMarquee hash key
        (DOM::):
        * layout-tests/fast/css/MarqueeLayoutTest-expected.txt:
        * layout-tests/fast/css/MarqueeLayoutTest.html: added vertical marquees to test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/css/MarqueeLayoutTest-expected.txt
LayoutTests/fast/css/MarqueeLayoutTest.html
WebCore/ChangeLog-2005-08-23
WebCore/khtml/html/html_blockimpl.cpp
WebCore/khtml/rendering/render_layer.cpp
WebCore/khtml/rendering/render_layer.h
WebCore/khtml/rendering/render_style.h
WebCore/khtml/xml/dom_elementimpl.h