Title: [158897] trunk/Source/WebCore
Revision
158897
Author
[email protected]
Date
2013-11-07 19:07:41 -0800 (Thu, 07 Nov 2013)

Log Message

Make contents layer borders more visible
https://bugs.webkit.org/show_bug.cgi?id=124025

Reviewed by Tim Horton.

Layer borders for contents layers are impossible to see when the
contentsLayer has the same bounds as its parent; make the contents
layer border 4px thick to make it more visible.

* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::setupContentsLayer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (158896 => 158897)


--- trunk/Source/WebCore/ChangeLog	2013-11-08 02:57:58 UTC (rev 158896)
+++ trunk/Source/WebCore/ChangeLog	2013-11-08 03:07:41 UTC (rev 158897)
@@ -1,3 +1,17 @@
+2013-11-07  Simon Fraser  <[email protected]>
+
+        Make contents layer borders more visible
+        https://bugs.webkit.org/show_bug.cgi?id=124025
+
+        Reviewed by Tim Horton.
+
+        Layer borders for contents layers are impossible to see when the
+        contentsLayer has the same bounds as its parent; make the contents
+        layer border 4px thick to make it more visible.
+
+        * platform/graphics/ca/GraphicsLayerCA.cpp:
+        (WebCore::GraphicsLayerCA::setupContentsLayer):
+
 2013-11-07  Andreas Kling  <[email protected]>
 
         InlineFlowBox always has a RenderBoxModelObject, take advantage.

Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (158896 => 158897)


--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2013-11-08 02:57:58 UTC (rev 158896)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2013-11-08 03:07:41 UTC (rev 158897)
@@ -3017,7 +3017,7 @@
 
     if (isShowingDebugBorder()) {
         contentsLayer->setBorderColor(Color(0, 0, 128, 180));
-        contentsLayer->setBorderWidth(1.0f);
+        contentsLayer->setBorderWidth(4);
     }
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to