Title: [147461] trunk/Source/WebCore
Revision
147461
Author
[email protected]
Date
2013-04-02 11:04:18 -0700 (Tue, 02 Apr 2013)

Log Message

Web Inspector: resource preview of html/js/css types should be on a grey background
https://bugs.webkit.org/show_bug.cgi?id=113791

Patch by Andrey Lushnikov <[email protected]> on 2013-04-02
Reviewed by Pavel Feldman.

No new tests.

- Add a css rule to set grey background for SourceFrame in resource view.
- Add "fill" style to SourceFrame element to setup its height.

* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame):
* inspector/front-end/resourceView.css:
(.resource-view .script-view):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (147460 => 147461)


--- trunk/Source/WebCore/ChangeLog	2013-04-02 18:04:04 UTC (rev 147460)
+++ trunk/Source/WebCore/ChangeLog	2013-04-02 18:04:18 UTC (rev 147461)
@@ -1,5 +1,22 @@
 2013-04-02  Andrey Lushnikov  <[email protected]>
 
+        Web Inspector: resource preview of html/js/css types should be on a grey background
+        https://bugs.webkit.org/show_bug.cgi?id=113791
+
+        Reviewed by Pavel Feldman.
+
+        No new tests.
+
+        - Add a css rule to set grey background for SourceFrame in resource view.
+        - Add "fill" style to SourceFrame element to setup its height.
+
+        * inspector/front-end/SourceFrame.js:
+        (WebInspector.SourceFrame):
+        * inspector/front-end/resourceView.css:
+        (.resource-view .script-view):
+
+2013-04-02  Andrey Lushnikov  <[email protected]>
+
         Web Inspector: [CodeMirror] Editor doesn't have yellow background in DivergedFromVM state
         https://bugs.webkit.org/show_bug.cgi?id=113783
 

Modified: trunk/Source/WebCore/inspector/front-end/SourceFrame.js (147460 => 147461)


--- trunk/Source/WebCore/inspector/front-end/SourceFrame.js	2013-04-02 18:04:04 UTC (rev 147460)
+++ trunk/Source/WebCore/inspector/front-end/SourceFrame.js	2013-04-02 18:04:18 UTC (rev 147461)
@@ -37,6 +37,7 @@
 {
     WebInspector.View.call(this);
     this.element.addStyleClass("script-view");
+    this.element.addStyleClass("fill");
 
     this._url = contentProvider.contentURL();
     this._contentProvider = contentProvider;

Modified: trunk/Source/WebCore/inspector/front-end/resourceView.css (147460 => 147461)


--- trunk/Source/WebCore/inspector/front-end/resourceView.css	2013-04-02 18:04:04 UTC (rev 147460)
+++ trunk/Source/WebCore/inspector/front-end/resourceView.css	2013-04-02 18:04:18 UTC (rev 147461)
@@ -49,6 +49,10 @@
     padding: 15px;
 }
 
+.resource-view .script-view {
+    background-color: rgb(240, 240, 240);
+}
+
 .resource-view.image > .image {
     padding: 20px 20px 10px 20px;
     text-align: center;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to