Skip to content
  • bdash's avatar
    2007-02-01 Nicholas Shanks <webkit@nickshanks.com> · 64ac78c2
    bdash authored
            Reviewed by Mark.
    
            Add support for CSS2 font-stretch property.
    
            * css/CSSComputedStyleDeclaration.cpp:
            (WebCore::):
            (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
            * css/cssparser.cpp:
            (WebCore::CSSParser::parseValue):
            * css/cssstyleselector.cpp:
            (WebCore::CSSStyleSelector::applyDeclarations):
            (WebCore::CSSStyleSelector::applyProperty):
            * platform/FontCache.cpp:
            (WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey):
            (WebCore::FontPlatformDataCacheKey::operator==):
            (WebCore::computeHash):
            (WebCore::FontPlatformDataCacheKeyTraits::deletedValue):
            (WebCore::FontPlatformDataCacheKeyTraits::emptyValue):
            (WebCore::FontCache::getCachedFontPlatformData):
            * platform/FontDescription.h:
            (WebCore::):
            (WebCore::FontDescription::FontDescription):
            (WebCore::FontDescription::stretch):
            (WebCore::FontDescription::narrowerStretch):
            (WebCore::FontDescription::widerStretch):
            (WebCore::FontDescription::setStretch):
            (WebCore::FontDescription::operator==):
            * platform/mac/FontCacheMac.mm:
            (WebCore::FontCache::createFontPlatformData):
            * platform/mac/WebFontCache.mm:
            (acceptableChoice):
            (betterChoice):
            (+[WebFontCache fontWithFamily:traits:size:]):
    
    2007-02-01  Nicholas Shanks  <webkit@nickshanks.com>
    
            Reviewed by Mark.
    
            CSS2 font-stretch property; uses American Typewriter and Helvetica Neue fonts,
            requiring Regular, Condensed, Bold and Bold Condensed faces.
    
            * fast/css/computed-style-expected.txt: Updated.
            * fast/css/font-stretch-expected.checksum: Added.
            * fast/css/font-stretch-expected.png: Added.
            * fast/css/font-stretch-expected.txt: Added.
            * fast/css/font-stretch.html: Added.
    
    2007-02-01  Nicholas Shanks  <webkit@nickshanks.com>
    
            Reviewed by Mark.
    
            Add support for CSS2 font-stretch property.
    
            * WebInspector/webInspector/inspector.js:
            * WebView/WebHTMLView.mm:
            (-[WebHTMLView _addToStyle:fontA:fontB:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    64ac78c2