WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Dec 2007 07:04:30 +0000 (07:04 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Dec 2007 07:04:30 +0000 (07:04 +0000)
commit036e9e46fc494dc214f8884b3f5121e80828afdb
treea987dd40263ff13008e8ff4197915cfe9be20019
parent032c87da0751a9f622994f251bad9db19b06c5ae
WebCore:

        Reviewed by Oliver Hunt.

        - fix <rdar://problem/5074620> text with font:initial; fails to appear (causes fast/text/font-initial.html to fail)

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty): When the font property is
        set to 'initial', set the font size to its initial value, 'medium',
        and the font family to the standard family.

LayoutTests:

        Reviewed by Oliver Hunt.

        - updated results and skipped tests file for
          <rdar://problem/5074620> text with font:initial; fails to appear (causes fast/text/font-initial.html to fail)

        * platform/mac-leopard/fast/text/font-initial-expected.checksum: Copied from LayoutTests/platform/mac/fast/text/font-initial-expected.checksum.
        * platform/mac-leopard/fast/text/font-initial-expected.png: Copied from LayoutTests/platform/mac/fast/text/font-initial-expected.png.
        * platform/mac/fast/text/font-initial-expected.checksum: Removed.
        * platform/mac/fast/text/font-initial-expected.png: Removed.
        * platform/mac/fast/text/font-initial-expected.txt:
        * platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac-leopard/fast/text/font-initial-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac-leopard/fast/text/font-initial-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/font-initial-expected.checksum [deleted file]
LayoutTests/platform/mac/fast/text/font-initial-expected.png [deleted file]
LayoutTests/platform/mac/fast/text/font-initial-expected.txt
LayoutTests/platform/win/Skipped
WebCore/ChangeLog
WebCore/css/CSSStyleSelector.cpp