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