Changeset 28555 in webkit


Ignore:
Timestamp:
Dec 7, 2007 5:48:50 PM (16 years ago)
Author:
mitz@apple.com
Message:

WebCore:

Reviewed by Sam Weinig.

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.

  • 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.
Location:
trunk
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r28524 r28555  
     12007-12-07  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        - test for http://bugs.webkit.org/show_bug.cgi?id=16348
     6          @font-face does not affect the default style
     7
     8        * fast/css/font-face-default-font.html: Added.
     9        * platform/mac-leopard/fast/css: Added.
     10        * platform/mac-leopard/fast/css/font-face-default-font-expected.checksum: Added.
     11        * platform/mac-leopard/fast/css/font-face-default-font-expected.png: Added.
     12        * platform/mac/fast/css/font-face-default-font-expected.txt: Added.
     13
    1142007-12-07  Darin Adler  <darin@apple.com>
    215
  • trunk/WebCore/ChangeLog

    r28544 r28555  
     12007-12-07  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=16348
     6          @font-face does not affect the default style
     7
     8        Test: fast/css/font-face-default-font.html
     9
     10        * dom/Document.cpp:
     11        (WebCore::Document::recalcStyle): Pass our font selector to
     12        Font::update() if we already have one.
     13
    1142007-12-07  Darin Adler  <darin@apple.com>
    215
  • trunk/WebCore/dom/Document.cpp

    r28354 r28555  
    10841084
    10851085        _style->setFontDescription(fontDescription);
    1086         _style->font().update(0);
     1086        _style->font().update(m_styleSelector->fontSelector());
    10871087        if (inCompatMode())
    10881088            _style->setHtmlHacks(true); // enable html specific rendering tricks
Note: See TracChangeset for help on using the changeset viewer.