LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Aug 2006 00:48:40 +0000 (00:48 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Aug 2006 00:48:40 +0000 (00:48 +0000)
commit5748d7c1b4f0595abaaf52259878a209b4885ad1
treec201c01a7e6853923e003bffa3ac5ab4a7e87e1e
parentef61d681b8e0bf222ad739894561ada8638a7280
LayoutTests:

        Reviewed by Hyatt.

        - test for <rdar://problem/4701494> REGRESSION: Scrollbar on EPSN widget doesn't scroll (also affects Widgets widget, web inspector)

        * fast/css/computed-style-negative-top-expected.txt: Added.
        * fast/css/computed-style-negative-top.html: Added.

WebCore:

        Reviewed by Hyatt.

        - fix <rdar://problem/4701494> REGRESSION: Scrollbar on EPSN widget doesn't scroll (also affects Widgets widget, web inspector)

        The bug was that we would return "none" for computed style properties when they were
        exactly "-1px".

        Test: fast/css/computed-style-negative-top.html

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::valueForLength): Moved special case for "undefined length" out of here.
        (WebCore::valueForMaxLength): Moved it into here.
        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Use valueForMaxLength
        only for max-height and max-width.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/computed-style-negative-top-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/computed-style-negative-top.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/CSSComputedStyleDeclaration.cpp