2011-02-14 Kenichi Ishibashi <bashi@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Feb 2011 13:13:49 +0000 (13:13 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Feb 2011 13:13:49 +0000 (13:13 +0000)
commit91240eacd55458297d1bc12873b304e358b85a1b
tree0b50277c9ae1fbb800be823cca962298b11b1a73
parent80627122aa0895742a182c4a7b971787e8c99705
2011-02-14  Kenichi Ishibashi  <bashi@chromium.org>

        Reviewed by Andreas Kling.

        css style="max-width:none" works wrong
        https://bugs.webkit.org/show_bug.cgi?id=53743

        Adds a test to ensure style 'max-width: none' works correctly.

        * fast/css/max-width-none-expected.txt: Added.
        * fast/css/max-width-none.html: Added.
2011-02-14  Kenichi Ishibashi  <bashi@chromium.org>

        Reviewed by Andreas Kling.

        css style="max-width:none" works wrong
        https://bugs.webkit.org/show_bug.cgi?id=53743

        Fix a bug that "max-width:none" works wrong.
        See also: http://trac.webkit.org/changeset/13462

        Test: fast/css/max-width-none.html

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty): For max-width of none,
        set it to Length(undefinedLength, Fixed), which is the correct
        value.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/max-width-none-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/max-width-none.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSStyleSelector.cpp