[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

pfeldman at chromium.org pfeldman at chromium.org
Wed Dec 22 15:23:34 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 8ef6c6ba58744c383e5f05ce3bbc36d916c5ceed
Author: pfeldman at chromium.org <pfeldman at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Nov 2 18:31:44 2010 +0000

    2010-11-02  Pavel Feldman  <pfeldman at chromium.org>
    
            Reviewed by Timothy Hatcher.
    
            Web Inspector: make properties and event listeners look consistent with the styles section.
            https://bugs.webkit.org/show_bug.cgi?id=48827
    
            * inspector/front-end/EventListenersSidebarPane.js:
            * inspector/front-end/PropertiesSection.js:
            (WebInspector.PropertiesSection):
            * inspector/front-end/PropertiesSidebarPane.js:
            (WebInspector.PropertiesSidebarPane.prototype.update.callback):
            (WebInspector.PropertiesSidebarPane.prototype.update):
            * inspector/front-end/inspector.css:
            (.events-pane .section:not(:nth-of-type(1))):
            (.event-bar:first-child):
            (.section .header):
            (.section .header::before):
            (.section.expanded .header::before):
            (.section .header .title, .event-bar .header .title):
            (.section .header .subtitle, .event-bar .header .subtitle):
            (.section.expanded .properties, .event-bar.expanded .event-properties):
            (.properties-tree):
            (.event-bar):
            (.event-bars .event-bar .header):
            (.event-bars .event-bar .header .title):
            (.event-bars .event-bar .header::before):
    
    2010-11-02  Pavel Feldman  <pfeldman at chromium.org>
    
            Reviewed by Timothy Hatcher.
    
            Web Inspector: make properties and event listeners look consistent with the styles section.
            https://bugs.webkit.org/show_bug.cgi?id=48827
    
            * src/js/devTools.css:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71139 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 7ff68db..43f80cc 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,31 @@
+2010-11-02  Pavel Feldman  <pfeldman at chromium.org>
+
+        Reviewed by Timothy Hatcher.
+
+        Web Inspector: make properties and event listeners look consistent with the styles section.
+        https://bugs.webkit.org/show_bug.cgi?id=48827
+
+        * inspector/front-end/EventListenersSidebarPane.js:
+        * inspector/front-end/PropertiesSection.js:
+        (WebInspector.PropertiesSection):
+        * inspector/front-end/PropertiesSidebarPane.js:
+        (WebInspector.PropertiesSidebarPane.prototype.update.callback):
+        (WebInspector.PropertiesSidebarPane.prototype.update):
+        * inspector/front-end/inspector.css:
+        (.events-pane .section:not(:nth-of-type(1))):
+        (.event-bar:first-child):
+        (.section .header):
+        (.section .header::before):
+        (.section.expanded .header::before):
+        (.section .header .title, .event-bar .header .title):
+        (.section .header .subtitle, .event-bar .header .subtitle):
+        (.section.expanded .properties, .event-bar.expanded .event-properties):
+        (.properties-tree):
+        (.event-bar):
+        (.event-bars .event-bar .header):
+        (.event-bars .event-bar .header .title):
+        (.event-bars .event-bar .header::before):
+
 2010-11-02  Dan Bernstein  <mitz at apple.com>
 
         Reviewed by Anders Carlsson.
diff --git a/WebCore/inspector/front-end/EventListenersSidebarPane.js b/WebCore/inspector/front-end/EventListenersSidebarPane.js
index e526b45..bc8bb12 100644
--- a/WebCore/inspector/front-end/EventListenersSidebarPane.js
+++ b/WebCore/inspector/front-end/EventListenersSidebarPane.js
@@ -151,12 +151,6 @@ WebInspector.EventListenersSection.prototype = {
         for (var i = 0; i < length; ++i) {
             var eventListener = filteredEventListeners[i];
             var eventListenerBar = new WebInspector.EventListenerBar(eventListener, this._nodeId);
-            if (i < length - 1) {
-                var connector = document.createElement("div");
-                connector.className = "event-bar-connector";
-                eventListenerBar.element.appendChild(connector);
-            }
-
             this.eventBars.appendChild(eventListenerBar.element);
         }
     },
@@ -178,6 +172,7 @@ WebInspector.EventListenerBar = function(eventListener, nodeId)
     this._setFunctionSubtitle();
     this.editable = false;
     this.element.className = "event-bar"; /* Changed from "section" */
+    this.headerElement.addStyleClass("source-code");
     this.propertiesElement.className = "event-properties properties-tree source-code"; /* Changed from "properties" */
 }
 
diff --git a/WebCore/inspector/front-end/PropertiesSidebarPane.js b/WebCore/inspector/front-end/PropertiesSidebarPane.js
index 75d6a48..b9c212a 100644
--- a/WebCore/inspector/front-end/PropertiesSidebarPane.js
+++ b/WebCore/inspector/front-end/PropertiesSidebarPane.js
@@ -54,7 +54,7 @@ WebInspector.PropertiesSidebarPane.prototype = {
                 var title = prototype.description;
                 if (title.match(/Prototype$/))
                     title = title.replace(/Prototype$/, "");
-                var section = new WebInspector.ObjectPropertiesSection(prototype, title, WebInspector.UIString("Prototype"));
+                var section = new WebInspector.ObjectPropertiesSection(prototype, title);
                 self.sections.push(section);
                 body.appendChild(section.element);
             }
diff --git a/WebCore/inspector/front-end/inspector.css b/WebCore/inspector/front-end/inspector.css
index 55f427e..e47a37f 100644
--- a/WebCore/inspector/front-end/inspector.css
+++ b/WebCore/inspector/front-end/inspector.css
@@ -1311,50 +1311,46 @@ body.inactive .placard.selected {
     margin-top: 1px;
 }
 
-.section:nth-last-of-type(1), .event-bar:nth-last-of-type(1) {
-    margin-bottom: 1px;
-}
-
 .watch-expressions-buttons-container {
     text-align: center;
 }
 
-.event-bar:first-child {
-    margin-top: 1px;
+.events-pane .section:not(:nth-of-type(1)) {
+    border-top: 1px solid rgb(191, 191, 191);
 }
 
-.event-bar:nth-last-of-type(1) .header {
-    border-bottom: 1px solid rgb(163, 163, 163);
+.event-bar:first-child {
+    margin-top: 1px;
 }
 
 .section .header {
-    padding: 2px 8px 4px 18px;
-    border-top: 1px solid rgb(145, 160, 192);
-    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(162, 177, 207)), to(rgb(120, 138, 177)));
+    color: rgb(50, 50, 50);
+    padding: 0 8px 0 18px;
     min-height: 18px;
     white-space: nowrap;
     -webkit-background-origin: padding;
     -webkit-background-clip: padding;
+    opacity: 0.8;
 }
 
 .section .header::before {
     position: absolute;
-    top: 4px;
+    top: 2px;
     left: 7px;
     width: 8px;
     height: 8px;
-    content: url(Images/treeRightTriangleWhite.png);
+    content: url(Images/treeRightTriangleBlack.png);
 }
 
 .section.expanded .header::before {
-    content: url(Images/treeDownTriangleWhite.png);
+    content: url(Images/treeDownTriangleBlack.png);
 }
 
 .section .header .title, .event-bar .header .title {
-    color: white;
     font-weight: bold;
     word-wrap: break-word;
     white-space: normal;
+    font-size: 12px;
 }
 
 .section .header .title.blank-title {
@@ -1371,10 +1367,9 @@ body.inactive .placard.selected {
 
 .section .header .subtitle, .event-bar .header .subtitle {
     float: right;
-    font-size: 10px;
+    font-size: 12px;
     margin-left: 5px;
     max-width: 55%;
-    color: rgba(255, 255, 255, 0.7);
     text-overflow: ellipsis;
     overflow: hidden;
 }
@@ -1389,6 +1384,7 @@ body.inactive .placard.selected {
 
 .section.expanded .properties, .event-bar.expanded .event-properties {
     display: block;
+    padding-left: 18px;
 }
 
 .section.no-affect .properties li {
@@ -1401,7 +1397,7 @@ body.inactive .placard.selected {
 
 .properties-tree {
     margin: 0;
-    padding: 2px 6px 3px;
+    padding: 0 6px 2px;
     list-style: none;
     min-height: 18px;
 }
@@ -1479,37 +1475,20 @@ body.inactive .placard.selected {
 
 .event-bar {
     position: relative;
-}
-
-.event-bar-connector {
-    position: absolute;
-    left: 75%;
-    bottom: -7px;
-    margin-left: -7px;
-    content: url(Images/grayConnectorPoint.png);
-    z-index: 3;
-}
-
-.event-bar.expanded .event-bar-connector {
-    content: url(Images/whiteConnectorPoint.png);
+    left: 12px;
 }
 
 .event-bars .event-bar .header {
-    padding: 2px 8px 4px 18px;
-    border-top: 1px solid rgb(163, 163, 163);
-    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(243, 243, 243)), to(rgb(207, 207, 207)));
-    min-height: 18px;
+    padding: 0 8px 0 18px;
+    min-height: 16px;
+    opacity: 1.0;
     white-space: nowrap;
     -webkit-background-origin: padding;
     -webkit-background-clip: padding;
 }
 
-.event-bars .event-bar.expanded .header {
-    border-bottom: 1px solid rgb(163, 163, 163);
-}
-
 .event-bars .event-bar .header .title {
-    font-weight: bold;
+    font-weight: normal;
     color: #333;
     text-shadow: white 0 1px 0; 
 }
@@ -1520,7 +1499,7 @@ body.inactive .placard.selected {
 
 .event-bars .event-bar .header::before {
     position: absolute;
-    top: 4px;
+    top: 0;
     left: 7px;
     width: 8px;
     height: 8px;
diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index 9c0322b..061e777 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,12 @@
+2010-11-02  Pavel Feldman  <pfeldman at chromium.org>
+
+        Reviewed by Timothy Hatcher.
+
+        Web Inspector: make properties and event listeners look consistent with the styles section.
+        https://bugs.webkit.org/show_bug.cgi?id=48827
+
+        * src/js/devTools.css:
+
 2010-11-01  Tony Chang  <tony at chromium.org>
 
         Reviewed by Kent Tamura.
diff --git a/WebKit/chromium/src/js/devTools.css b/WebKit/chromium/src/js/devTools.css
index 9495fb8..64ea9d5 100644
--- a/WebKit/chromium/src/js/devTools.css
+++ b/WebKit/chromium/src/js/devTools.css
@@ -37,11 +37,6 @@ body.platform-linux #scripts-files {
     line-height: 12px;
 }
 
-.section > .header {
-    border: 1px solid rgb(92, 116, 157);
-    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(105, 133, 180)), to(rgb(92, 116, 157)));
-}
-
 .console-group-messages .section > .header {
     padding: 0 8px 0 0;
     background-image: none;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list