Fix http://bugs.webkit.org/show_bug.cgi?id=14374
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Jun 2007 05:09:06 +0000 (05:09 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Jun 2007 05:09:06 +0000 (05:09 +0000)
Bug 14374: Computed Style section should be expanded by default

Reviewed by Sam.

No regression test possible.

* page/inspector/ResourcePanel.js: Expand all style sections.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23757 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/page/inspector/ResourcePanel.js

index 058fb6179e1bb8c99c5f6456bfbf0788752c5356..3c9aea12a09f38736ac87030e0d699aabf7eef55 100644 (file)
@@ -1,3 +1,14 @@
+2007-06-24  Adam Roben  <aroben@apple.com>
+
+        Fix http://bugs.webkit.org/show_bug.cgi?id=14374
+        Bug 14374: Computed Style section should be expanded by default
+
+        Reviewed by Sam.
+
+        No regression test possible.
+
+        * page/inspector/ResourcePanel.js: Expand all style sections.
+
 2007-06-24  Adam Roben  <aroben@apple.com>
 
         Unify the style of enums in the Inspector JS
index 59304a8165bad896926c90119d143cf483ed7722..0fbfb288d988fad22f17440f2b58ca85ffbbeeed 100644 (file)
@@ -701,8 +701,7 @@ WebInspector.ResourcePanel.prototype = {
                 var selectorText = styleRules[i].selectorText;
 
                 var section = new WebInspector.PropertiesSection(selectorText);
-                if (!styleRules[i].isComputedStyle)
-                    section.expanded = true;
+                section.expanded = true;
 
                 if (!styleRules[i].isComputedStyle) {
                     var sheet;