Title: [127413] trunk/Source/WebCore
- Revision
- 127413
- Author
- [email protected]
- Date
- 2012-09-03 02:42:20 -0700 (Mon, 03 Sep 2012)
Log Message
Web Inspector: paint grid on top of box highlight.
https://bugs.webkit.org/show_bug.cgi?id=95676
Reviewed by Alexander Pavlov.
Otherwise, ruler numbers are not visible when selecting body.
* inspector/InspectorOverlayPage.html:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (127412 => 127413)
--- trunk/Source/WebCore/ChangeLog 2012-09-03 08:54:43 UTC (rev 127412)
+++ trunk/Source/WebCore/ChangeLog 2012-09-03 09:42:20 UTC (rev 127413)
@@ -1,3 +1,14 @@
+2012-09-03 Pavel Feldman <[email protected]>
+
+ Web Inspector: paint grid on top of box highlight.
+ https://bugs.webkit.org/show_bug.cgi?id=95676
+
+ Reviewed by Alexander Pavlov.
+
+ Otherwise, ruler numbers are not visible when selecting body.
+
+ * inspector/InspectorOverlayPage.html:
+
2012-08-31 Pavel Feldman <[email protected]>
Web Inspector: get rid of context execution id fallback.
Modified: trunk/Source/WebCore/inspector/InspectorOverlayPage.html (127412 => 127413)
--- trunk/Source/WebCore/inspector/InspectorOverlayPage.html 2012-09-03 08:54:43 UTC (rev 127412)
+++ trunk/Source/WebCore/inspector/InspectorOverlayPage.html 2012-09-03 09:42:20 UTC (rev 127413)
@@ -345,10 +345,10 @@
function drawNodeHighlight(highlight)
{
- _drawGrid(highlight);
-
- if (!highlight.quads.length)
+ if (!highlight.quads.length) {
+ _drawGrid(highlight);
return;
+ }
context.save();
@@ -387,6 +387,7 @@
if (hasContent)
drawOutlinedQuad(contentQuad, highlight.contentColor, highlight.contentOutlineColor);
+ _drawGrid(highlight);
_drawElementTitle(highlight);
_drawRulers(highlight);
context.restore();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes