LayoutTests:
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2007 19:18:58 +0000 (19:18 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2007 19:18:58 +0000 (19:18 +0000)
commit4f0a6dcb5f2599d0000210d30df49b1424c4f9ec
tree173087501fa59fbc33147ae34fce6e1dc3ab52f4
parent90684e603e08fd440096fe1f097656ef58a87b9c
LayoutTests:

        Reviewed by Darin.

        Add test for <rdar://problem/5143183>
        Air Mail postmark shows up wrong in Firefox due to use of CSS background-position-x/y

        Also update a few tests to expect background-position instead of background-position-x/y

        * fast/css/background-position-serialize-expected.txt: Added.
        * fast/css/background-position-serialize.html: Added.
        * fast/css/computed-style-expected.txt:
        * fast/css/computed-style-without-renderer-expected.txt:
        * fast/css/remove-shorthand-expected.txt:

WebCore:

        Reviewed by Darin.

        Fix <rdar://problem/5143183>
        Air Mail postmark shows up wrong in Firefox due to use of CSS background-position-x/y

        Safari was using non-standard background-position-x/y properties when serializing style, both normal
        and computed. As a result Safari generated CSS would not render correctly in Firefox.

        Use standard background-position property instead.

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::):
        * css/CSSMutableStyleDeclaration.cpp:
        (WebCore::CSSMutableStyleDeclaration::cssText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/background-position-serialize-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/background-position-serialize.html [new file with mode: 0644]
LayoutTests/fast/css/computed-style-expected.txt
LayoutTests/fast/css/computed-style-without-renderer-expected.txt
LayoutTests/fast/css/remove-shorthand-expected.txt
WebCore/ChangeLog
WebCore/css/CSSComputedStyleDeclaration.cpp
WebCore/css/CSSMutableStyleDeclaration.cpp