Changeset 140813 in webkit


Ignore:
Timestamp:
Jan 25, 2013 4:36:03 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Add explanation for Console object expansion behaviour
https://bugs.webkit.org/show_bug.cgi?id=107793

Patch by Sergey Ryazanov <serya@chromium.org> on 2013-01-25
Reviewed by Pavel Feldman.

  • English.lproj/localizedStrings.js:
  • inspector/front-end/ConsoleMessage.js:

(WebInspector.ConsoleMessageImpl.prototype._formatParameterAsArrayOrObject):

  • inspector/front-end/inspector.css:

(.object-info-state-note):
(.object-info-state-note::before):
(.object-info-state-note:hover):
(.section.expanded .object-info-state-note):
(.section.expanded .properties, .event-bar.expanded .event-properties):
(.pane.expanded .properties, .event-bar .event-properties):

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140812 r140813  
     12013-01-25  Sergey Ryazanov  <serya@chromium.org>
     2
     3        Web Inspector: Add explanation for Console object expansion behaviour
     4        https://bugs.webkit.org/show_bug.cgi?id=107793
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * English.lproj/localizedStrings.js:
     9        * inspector/front-end/ConsoleMessage.js:
     10        (WebInspector.ConsoleMessageImpl.prototype._formatParameterAsArrayOrObject):
     11        * inspector/front-end/inspector.css:
     12        (.object-info-state-note):
     13        (.object-info-state-note::before):
     14        (.object-info-state-note:hover):
     15        (.section.expanded .object-info-state-note):
     16        (.section.expanded .properties, .event-bar.expanded .event-properties):
     17        (.pane.expanded .properties, .event-bar .event-properties):
     18
    1192013-01-25  Claudio Saavedra  <csaavedra@igalia.com>
    220
  • trunk/Source/WebCore/English.lproj/localizedStrings.js

    r140798 r140813  
    848848localizedStrings["Mappings"] = "Mappings";
    849849localizedStrings["Add"] = "Add";
     850localizedStrings["Object state below is captured upon first expansion"] = "Object state below is captured upon first expansion";
  • trunk/Source/WebCore/inspector/front-end/ConsoleMessage.js

    r138458 r140813  
    305305        section.enableContextMenu();
    306306        elem.appendChild(section.element);
     307
     308        var note = section.titleElement.createChild("span", "object-info-state-note");
     309        note.title = WebInspector.UIString("Object state below is captured upon first expansion");
    307310    },
    308311
  • trunk/Source/WebCore/inspector/front-end/inspector.css

    r140160 r140813  
    12131213}
    12141214
     1215.object-info-state-note {
     1216    display: none;
     1217    width: 12px;
     1218    height: 12px;
     1219    background-color: rgb(179, 203, 247);
     1220    color: white;
     1221    text-align: center;
     1222    border-radius: 5px;
     1223    line-height: 13px;
     1224    margin: 0 8px;
     1225}
     1226
     1227.object-info-state-note::before {
     1228    content: "i";
     1229}
     1230
     1231.object-info-state-note:hover {
     1232    background-color: rgb(52, 115, 231);
     1233}
     1234
     1235.section.expanded .object-info-state-note {
     1236    display: inline-block;
     1237}
     1238
    12151239.error-message {
    12161240    color: red;
     
    15351559.section.expanded .properties, .event-bar.expanded .event-properties {
    15361560    display: block;
     1561}
     1562
     1563.pane.expanded .properties, .event-bar .event-properties {
    15371564    padding-left: 16px;
    15381565}
Note: See TracChangeset for help on using the changeset viewer.