Title: [117794] trunk/Source/WebCore
Revision
117794
Author
[email protected]
Date
2012-05-21 09:36:10 -0700 (Mon, 21 May 2012)

Log Message

Web Inspector: [Styles] Cannot tab from selector of inherited rule, which in turn has leading inherited properties
https://bugs.webkit.org/show_bug.cgi?id=87014

Reviewed by Yury Semikhatsky.

* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype._moveEditorFromSelector):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (117793 => 117794)


--- trunk/Source/WebCore/ChangeLog	2012-05-21 16:24:06 UTC (rev 117793)
+++ trunk/Source/WebCore/ChangeLog	2012-05-21 16:36:10 UTC (rev 117794)
@@ -1,3 +1,13 @@
+2012-05-21  Alexander Pavlov  <[email protected]>
+
+        Web Inspector: [Styles] Cannot tab from selector of inherited rule, which in turn has leading inherited properties
+        https://bugs.webkit.org/show_bug.cgi?id=87014
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/front-end/StylesSidebarPane.js:
+        (WebInspector.StylePropertiesSection.prototype._moveEditorFromSelector):
+
 2012-05-21  Greg Billock  <[email protected]>
 
         Add suggestions field to web intents API.

Modified: trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js (117793 => 117794)


--- trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2012-05-21 16:24:06 UTC (rev 117793)
+++ trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2012-05-21 16:36:10 UTC (rev 117794)
@@ -1301,6 +1301,8 @@
         if (moveDirection === "forward") {
             this.expand();
             var firstChild = this.propertiesTreeOutline.children[0];
+            while (firstChild && firstChild.inherited)
+                firstChild = firstChild.nextSibling;
             if (!firstChild)
                 this.addNewBlankProperty().startEditing();
             else
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to