Changeset 217241 in webkit


Ignore:
Timestamp:
May 22, 2017 1:12:43 PM (7 years ago)
Author:
mmaxfield@apple.com
Message:

Enable the woff2-variations @font-face format identifier
https://bugs.webkit.org/show_bug.cgi?id=172425

Reviewed by Andreas Kling.

Source/WebCore:

We support woff2, and woff-variations, but not woff2-variations.
https://github.com/w3c/csswg-drafts/commit/5c914a8a0382734bd420090a89bc19b32e6c302d

Test: fast/text/variations/font-face-format-woff2.html

  • platform/graphics/mac/FontCustomPlatformData.cpp:

(WebCore::FontCustomPlatformData::supportsFormat):

LayoutTests:

  • fast/text/variations/font-face-format-woff2-expected.html: Added.
  • fast/text/variations/font-face-format-woff2.html: Added.
  • platform/mac/TestExpectations:
Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r217236 r217241  
     12017-05-22  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        Enable the woff2-variations @font-face format identifier
     4        https://bugs.webkit.org/show_bug.cgi?id=172425
     5
     6        Reviewed by Andreas Kling.
     7
     8        * fast/text/variations/font-face-format-woff2-expected.html: Added.
     9        * fast/text/variations/font-face-format-woff2.html: Added.
     10        * platform/mac/TestExpectations:
     11
    1122017-05-22  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/LayoutTests/platform/mac/TestExpectations

    r217144 r217241  
    12381238# WOFF2 is only supported on certain Operating Systems.
    12391239webkit.org/b/150830 [ Yosemite ElCapitan ] fast/text/woff2.html [ ImageOnlyFailure ]
     1240webkit.org/b/150830 [ Yosemite ElCapitan ] fast/text/variations/font-face-format-woff2.html [ ImageOnlyFailure ]
    12401241
    12411242webkit.org/b/162668 fast/text/woff2-totalsfntsize.html [ ImageOnlyFailure ]
  • trunk/Source/WebCore/ChangeLog

    r217239 r217241  
     12017-05-22  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        Enable the woff2-variations @font-face format identifier
     4        https://bugs.webkit.org/show_bug.cgi?id=172425
     5
     6        Reviewed by Andreas Kling.
     7
     8        We support woff2, and woff-variations, but not woff2-variations.
     9        https://github.com/w3c/csswg-drafts/commit/5c914a8a0382734bd420090a89bc19b32e6c302d
     10
     11        Test: fast/text/variations/font-face-format-woff2.html
     12
     13        * platform/graphics/mac/FontCustomPlatformData.cpp:
     14        (WebCore::FontCustomPlatformData::supportsFormat):
     15
    1162017-05-22  Antoine Quint  <graouts@apple.com>
    217
  • trunk/Source/WebCore/platform/graphics/mac/FontCustomPlatformData.cpp

    r215287 r217241  
    6363#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200)
    6464        || equalLettersIgnoringASCIICase(format, "woff2")
     65#if ENABLE(VARIATION_FONTS)
     66        || equalLettersIgnoringASCIICase(format, "woff2-variations")
     67#endif
    6568#endif
    6669#if ENABLE(VARIATION_FONTS)
Note: See TracChangeset for help on using the changeset viewer.