Title: [240221] trunk/Source/WebCore
Revision
240221
Author
[email protected]
Date
2019-01-20 19:25:44 -0800 (Sun, 20 Jan 2019)

Log Message

REGRESSION(r240174): Wrong preprocessor guards in RenderImage::paintAreaElementFocusRing
https://bugs.webkit.org/show_bug.cgi?id=193630

Reviewed by Daniel Bates.

r240174 inadvertently disabled this function on non-Apple platforms.

This fixes layout test fast/images/image-map-outline-in-positioned-container.html.

* rendering/RenderImage.cpp:
(WebCore::RenderImage::paintAreaElementFocusRing):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (240220 => 240221)


--- trunk/Source/WebCore/ChangeLog	2019-01-21 01:39:06 UTC (rev 240220)
+++ trunk/Source/WebCore/ChangeLog	2019-01-21 03:25:44 UTC (rev 240221)
@@ -1,3 +1,17 @@
+2019-01-20  Michael Catanzaro  <[email protected]>
+
+        REGRESSION(r240174): Wrong preprocessor guards in RenderImage::paintAreaElementFocusRing
+        https://bugs.webkit.org/show_bug.cgi?id=193630
+
+        Reviewed by Daniel Bates.
+
+        r240174 inadvertently disabled this function on non-Apple platforms.
+
+        This fixes layout test fast/images/image-map-outline-in-positioned-container.html.
+
+        * rendering/RenderImage.cpp:
+        (WebCore::RenderImage::paintAreaElementFocusRing):
+
 2019-01-20  chris fleizach  <[email protected]>
 
         AX: Support returning relative frames for accessibility

Modified: trunk/Source/WebCore/rendering/RenderImage.cpp (240220 => 240221)


--- trunk/Source/WebCore/rendering/RenderImage.cpp	2019-01-21 01:39:06 UTC (rev 240220)
+++ trunk/Source/WebCore/rendering/RenderImage.cpp	2019-01-21 03:25:44 UTC (rev 240221)
@@ -550,7 +550,7 @@
     
 void RenderImage::paintAreaElementFocusRing(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
 {
-#if ENABLE(FULL_KEYBOARD_ACCESS)
+#if !PLATFORM(IOS_FAMILY) || ENABLE(FULL_KEYBOARD_ACCESS)
     if (document().printing() || !frame().selection().isFocusedAndActive())
         return;
     
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to