Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2779fb3ee52b3cffb8f101fd65964a347876bc07
      
https://github.com/WebKit/WebKit/commit/2779fb3ee52b3cffb8f101fd65964a347876bc07
  Author: Vitor Roriz <[email protected]>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

  Changed paths:
    M LayoutTests/platform/ios/TestExpectations
    M LayoutTests/platform/mac/TestExpectations
    M Source/WebCore/css/CSSFontFaceSource.cpp
    M Source/WebCore/loader/FontLoadRequest.h
    M Source/WebCore/loader/cache/CachedFont.cpp
    M Source/WebCore/loader/cache/CachedFont.h
    M Source/WebCore/loader/cache/CachedFontLoadRequest.h
    M Source/WebCore/loader/cache/CachedSVGFont.cpp
    M Source/WebCore/loader/cache/CachedSVGFont.h
    M Source/WebCore/platform/graphics/Font.cpp
    M Source/WebCore/platform/graphics/FontCustomPlatformData.h
    M 
Source/WebCore/platform/graphics/coretext/FontCustomPlatformDataCoreText.cpp
    M 
Source/WebCore/platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
    M Source/WebCore/platform/graphics/skia/FontCustomPlatformDataSkia.cpp
    M 
Source/WebCore/platform/graphics/win/cairo/FontCustomPlatformDataWinCairo.cpp
    M Source/WebCore/workers/WorkerFontLoadRequest.cpp
    M Source/WebCore/workers/WorkerFontLoadRequest.h

  Log Message:
  -----------
  font-synthesis: Avoid synthesis outside of variable range
https://bugs.webkit.org/show_bug.cgi?id=316123
rdar://178550149

Reviewed by Brent Fulgham.

As per resolution [1] we should avoid synthesizing bold
outside the declared (even if implicit) or supported range of a
variable font.

[1] https://github.com/w3c/csswg-drafts/issues/7999

* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
* Source/WebCore/platform/graphics/coretext/FontCustomPlatformDataCoreText.cpp:
(WebCore::fontHasWeightVariationAxis):
(WebCore::FontCustomPlatformData::fontPlatformData):

Canonical link: https://commits.webkit.org/314537@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to