Changeset 251182 in webkit


Ignore:
Timestamp:
Oct 16, 2019 2:00:55 AM (5 years ago)
Author:
clopez@igalia.com
Message:

image/apng not recognized in source tag
https://bugs.webkit.org/show_bug.cgi?id=202785

Reviewed by Dean Jackson.

Source/WebCore:

Add image/apng as supported mime type for images on Mac/iOS and
on all the other platforms that enable apng support.

This fixes the test imported/w3c/web-platform-tests/apng/supported-in-source-type.html

  • platform/MIMETypeRegistry.cpp:

(WebCore::MIMETypeRegistry::supportedImageMIMETypes):

LayoutTests:

  • TestExpectations: Remove test imported/w3c/web-platform-tests/apng/supported-in-source-type.html

from the list of expected failures.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r251176 r251182  
     12019-10-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        image/apng not recognized in source tag
     4        https://bugs.webkit.org/show_bug.cgi?id=202785
     5
     6        Reviewed by Dean Jackson.
     7
     8        * TestExpectations: Remove test imported/w3c/web-platform-tests/apng/supported-in-source-type.html
     9        from the list of expected failures.
     10
    1112019-10-15  Kate Cheney  <katherine_cheney@apple.com>
    212
  • trunk/LayoutTests/TestExpectations

    r251163 r251182  
    38833883webkit.org/b/200209 imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-radial.html [ ImageOnlyFailure ]
    38843884webkit.org/b/202813 imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html [ ImageOnlyFailure ]
    3885 
    3886 webkit.org/b/202785 imported/w3c/web-platform-tests/apng/supported-in-source-type.html [ Failure ]
  • trunk/Source/WebCore/ChangeLog

    r251177 r251182  
     12019-10-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        image/apng not recognized in source tag
     4        https://bugs.webkit.org/show_bug.cgi?id=202785
     5
     6        Reviewed by Dean Jackson.
     7
     8        Add image/apng as supported mime type for images on Mac/iOS and
     9        on all the other platforms that enable apng support.
     10
     11        This fixes the test imported/w3c/web-platform-tests/apng/supported-in-source-type.html
     12
     13        * platform/MIMETypeRegistry.cpp:
     14        (WebCore::MIMETypeRegistry::supportedImageMIMETypes):
     15
    1162019-10-15  Ryosuke Niwa  <rniwa@webkit.org>
    217
  • trunk/Source/WebCore/platform/MIMETypeRegistry.cpp

    r250369 r251182  
    7676        "image/vnd.microsoft.icon"_s,
    7777        "image/jp2"_s,
     78        "image/apng"_s,
    7879        "image/png"_s,
    7980        "image/bmp"_s,
     
    136137        "image/x-icon"_s, // ico
    137138        "image/x-xbitmap"_s, // xbm
     139#if ENABLE(APNG)
     140        "image/apng"_s,
     141#endif
    138142#if USE(OPENJPEG)
    139143        "image/jp2"_s,
Note: See TracChangeset for help on using the changeset viewer.