Changeset 127413 in webkit


Ignore:
Timestamp:
Sep 3, 2012 2:42:20 AM (12 years ago)
Author:
pfeldman@chromium.org
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:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r127412 r127413  
     12012-09-03  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Web Inspector: paint grid on top of box highlight.
     4        https://bugs.webkit.org/show_bug.cgi?id=95676
     5
     6        Reviewed by Alexander Pavlov.
     7
     8        Otherwise, ruler numbers are not visible when selecting body.
     9
     10        * inspector/InspectorOverlayPage.html:
     11
    1122012-08-31  Pavel Feldman  <pfeldman@chromium.org>
    213
  • trunk/Source/WebCore/inspector/InspectorOverlayPage.html

    r127240 r127413  
    346346function drawNodeHighlight(highlight)
    347347{
    348     _drawGrid(highlight);
    349 
    350     if (!highlight.quads.length)
     348    if (!highlight.quads.length) {
     349        _drawGrid(highlight);
    351350        return;
     351    }
    352352
    353353    context.save();
     
    388388        drawOutlinedQuad(contentQuad, highlight.contentColor, highlight.contentOutlineColor);
    389389
     390    _drawGrid(highlight);
    390391    _drawElementTitle(highlight);
    391392    _drawRulers(highlight);
Note: See TracChangeset for help on using the changeset viewer.