[EFL] Fix execution of exif-orientation-image-document.html on EFL Wk2 bot
authordominik.rottsches@intel.com <dominik.rottsches@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Nov 2012 08:40:34 +0000 (08:40 +0000)
committerdominik.rottsches@intel.com <dominik.rottsches@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Nov 2012 08:40:34 +0000 (08:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=101343

Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Add Cairo to the list of backends that support shouldRespectImageOrientation.

No new tests, fixes exif-orientation-image-document.html.

* rendering/RenderObject.cpp:
(WebCore::RenderObject::shouldRespectImageOrientation):

LayoutTests:

Unskipping exif-orientation-image-document.html now that respecting
orientation is default enabled for image documents.

* platform/efl-wk2/TestExpectations:

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

LayoutTests/ChangeLog
LayoutTests/platform/efl-wk2/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderObject.cpp

index e2cc44b3f13f5e8083ba5399e8b69086cdc8763a..01ee4a3dfb5c661565b30169d95b5a4f669815e4 100644 (file)
@@ -1,3 +1,15 @@
+2012-11-07  Dominik Röttsches  <dominik.rottsches@intel.com>
+
+        [EFL] Fix execution of exif-orientation-image-document.html on EFL Wk2 bot
+        https://bugs.webkit.org/show_bug.cgi?id=101343
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Unskipping exif-orientation-image-document.html now that respecting
+        orientation is default enabled for image documents.
+
+        * platform/efl-wk2/TestExpectations:
+
 2012-11-06  Yury Semikhatsky  <yurys@chromium.org>
 
         Console not displaying all properties of an Object once native Constructor overwritten
index a39e12a9d173e7d9c93f401d6cd4026bc1c2e0ed..40ce9ac2ffd31adc2b7b1daef859ba90879d5c6e 100644 (file)
@@ -256,9 +256,6 @@ webkit.org/b/98740 plugins/npruntime/delete-plugin-within-hasProperty-return-fal
 webkit.org/b/98740 plugins/npruntime/delete-plugin-within-hasProperty-return-true.html [ Failure ]
 webkit.org/b/98740 plugins/npruntime/delete-plugin-within-setProperty.html [ Failure ]
 
-# Test fails because WebKit is in shouldRespectImageOrientation=0 mode.
-webkit.org/b/101343 fast/images/exif-orientation-image-document.html [ Failure ]
-
 # Http plugin test failures.
 webkit.org/b/99561 http/tests/plugins/plugin-document-has-focus.html [ Failure ]
 webkit.org/b/99562 http/tests/plugins/post-url-file.html [ Failure ]
index 3990a7a6fe1bb952b5b82bbf1d19a04fc8c8667f..6774cfe7f1aceda08f5256e4e05d4e5262a31894 100644 (file)
@@ -1,3 +1,17 @@
+2012-11-07  Dominik Röttsches  <dominik.rottsches@intel.com>
+
+        [EFL] Fix execution of exif-orientation-image-document.html on EFL Wk2 bot
+        https://bugs.webkit.org/show_bug.cgi?id=101343
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Add Cairo to the list of backends that support shouldRespectImageOrientation.
+
+        No new tests, fixes exif-orientation-image-document.html.
+
+        * rendering/RenderObject.cpp:
+        (WebCore::RenderObject::shouldRespectImageOrientation):
+
 2012-11-06  Yury Semikhatsky  <yurys@chromium.org>
 
         Console not displaying all properties of an Object once native Constructor overwritten
index 98d0c3ddf64c47dd1f487d2540eeba7c8d7ad3a2..4bb0a3dcdb32a4b4dfc4b2916c9cdcabb370ca96 100644 (file)
@@ -2227,7 +2227,7 @@ RespectImageOrientationEnum RenderObject::shouldRespectImageOrientation() const
     // Respect the image's orientation if it's being used as a full-page image or it's
     // an <img> and the setting to respect it everywhere is set.
     return
-#if USE(CG) || PLATFORM(CHROMIUM)
+#if USE(CG) || PLATFORM(CHROMIUM) || USE(CAIRO)
         // This can only be enabled for ports which honor the orientation flag in their drawing code.
         document()->isImageDocument() ||
 #endif