Fix <rdar://5563572> SVG image support is turned off
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2007 05:25:37 +0000 (05:25 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2007 05:25:37 +0000 (05:25 +0000)
WebCore:

        Fix <rdar://5563572> SVG image support is turned off

        Turned on SVG images for all platforms.

        Reviewed by Eric.

        * WebCore.vcproj/WebCore.vcproj: Added SVGImage.{cpp,h}
        * loader/CachedImage.cpp:
        (WebCore::CachedImage::createImage): Removed platform checks for
        SVGImage.

LayoutTests:

        Remove a now-passing test from the Windows Skipped file

        Reviewed by Eric.

        * platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27464 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/platform/win/Skipped
WebCore/ChangeLog
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/loader/CachedImage.cpp

index 4fb4fdae4c7d9ba53f8bf0107ebf97d297b78031..d562feeaaac3eba95ba5ee390ebb8c28384374d6 100644 (file)
@@ -1,3 +1,11 @@
+2007-11-05  Adam Roben  <aroben@apple.com>
+
+        Remove a now-passing test from the Windows Skipped file
+
+        Reviewed by Eric.
+
+        * platform/win/Skipped:
+
 2007-11-05  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Oliver Hunt.
index cd4cbf6bec671b431ef6b5b6926afbce4e079d7e..94efba90a2a88357d62d995e80ed364ad42e8537 100644 (file)
@@ -516,9 +516,6 @@ svg/custom/non-opaque-filters.svg
 svg/custom/text-filter.svg
 svg/custom/visibility-override-filter.svg
 
-# SVG image support is turned off <rdar://5563572>
-fast/images/svg-as-image.html
-
 # Window resize tests are failing <rdar://5563578>
 fast/dom/Window/window-resize-nan.html
 fast/dom/Window/window-resize.html
index e7b0fb9996a292f01e6d43c8e2e71cfd5502490f..f26178f97b00b6b157a0b150168ee558b6cded0e 100644 (file)
@@ -1,3 +1,16 @@
+2007-11-05  Adam Roben  <aroben@apple.com>
+
+        Fix <rdar://5563572> SVG image support is turned off
+
+        Turned on SVG images for all platforms.
+
+        Reviewed by Eric.
+
+        * WebCore.vcproj/WebCore.vcproj: Added SVGImage.{cpp,h}
+        * loader/CachedImage.cpp:
+        (WebCore::CachedImage::createImage): Removed platform checks for
+        SVGImage.
+
 2007-11-05  Antti Koivisto  <antti@apple.com>
 
         Reviewed by Darin.
index fe015629d897d3b6adb7aa6c27f8d69f73d77bcf..da8c7ad673d3155f6454440fc86856c3acad8e99 100644 (file)
                                <Filter\r
                                        Name="svg"\r
                                        >\r
+                                       <File\r
+                                               RelativePath="..\platform\graphics\svg\SVGImage.cpp"\r
+                                               >\r
+                                       </File>\r
+                                       <File\r
+                                               RelativePath="..\platform\graphics\svg\SVGImage.h"\r
+                                               >\r
+                                       </File>\r
                                        <File\r
                                                RelativePath="..\platform\graphics\svg\SVGPaintServer.cpp"\r
                                                >\r
index cb5941f2440edae4437fcff3415f7a3ba5c7a7d4..46ae1687aa6c104ebdbab08e653ab9c6ab009259 100644 (file)
 #endif
 
 #if ENABLE(SVG_EXPERIMENTAL_FEATURES)
-#if PLATFORM(MAC) || PLATFORM(QT)
 #include "SVGImage.h"
 #endif
-#endif
 
 using std::max;
 
@@ -152,12 +150,10 @@ inline void CachedImage::createImage()
     }
 #endif
 #if ENABLE(SVG_EXPERIMENTAL_FEATURES)
-#if PLATFORM(MAC) || PLATFORM(QT)
     if (m_response.mimeType() == "image/svg+xml") {
         m_image = new SVGImage(this);
         return;
     }
-#endif
 #endif
     m_image = new BitmapImage(this);
 }