WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Dec 2007 01:48:50 +0000 (01:48 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Dec 2007 01:48:50 +0000 (01:48 +0000)
commit201cb47d75e01a2294981279a052b08c257dd5c2
treecdb0d4c407d2300ca704660d8dac55ca5899eb05
parent2ad0bbfb1032306a55892367878eaa0aab05dd2e
WebCore:

        Reviewed by Sam Weinig.

        - fix http://bugs.webkit.org/show_bug.cgi?id=16348
          @font-face does not affect the default style

        Test: fast/css/font-face-default-font.html

        * dom/Document.cpp:
        (WebCore::Document::recalcStyle): Pass our font selector to
        Font::update() if we already have one.

LayoutTests:

        Reviewed by Sam Weinig.

        - test for http://bugs.webkit.org/show_bug.cgi?id=16348
          @font-face does not affect the default style

        * fast/css/font-face-default-font.html: Added.
        * platform/mac-leopard/fast/css: Added.
        * platform/mac-leopard/fast/css/font-face-default-font-expected.checksum: Added.
        * platform/mac-leopard/fast/css/font-face-default-font-expected.png: Added.
        * platform/mac/fast/css/font-face-default-font-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/font-face-default-font.html [new file with mode: 0644]
LayoutTests/platform/mac-leopard/fast/css/font-face-default-font-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac-leopard/fast/css/font-face-default-font-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/css/font-face-default-font-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/Document.cpp