Title: [246713] trunk/Source/WebInspectorUI
Revision
246713
Author
[email protected]
Date
2019-06-22 11:28:02 -0700 (Sat, 22 Jun 2019)

Log Message

REGRESSION(r241980): Web Inspector: Styles: Pressing Tab/Enter on last property no longer focuses on selector on next rule
https://bugs.webkit.org/show_bug.cgi?id=199125
<rdar://problem/52011182>

Reviewed by Matt Baker.

Since SpreadsheetSelectorField's focus handler was removed in r241980, focusing on the selector element
doesn't start editing it.

* UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js:
(WI.SpreadsheetCSSStyleDeclarationSection.prototype.startEditingRuleSelector):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (246712 => 246713)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-06-22 18:05:29 UTC (rev 246712)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-06-22 18:28:02 UTC (rev 246713)
@@ -1,5 +1,19 @@
 2019-06-22  Nikita Vasilyev  <[email protected]>
 
+        REGRESSION(r241980): Web Inspector: Styles: Pressing Tab/Enter on last property no longer focuses on selector on next rule
+        https://bugs.webkit.org/show_bug.cgi?id=199125
+        <rdar://problem/52011182>
+
+        Reviewed by Matt Baker.
+
+        Since SpreadsheetSelectorField's focus handler was removed in r241980, focusing on the selector element
+        doesn't start editing it.
+
+        * UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js:
+        (WI.SpreadsheetCSSStyleDeclarationSection.prototype.startEditingRuleSelector):
+
+2019-06-22  Nikita Vasilyev  <[email protected]>
+
         Web Inspector: Styles: unbalanced quotes and parenthesis aren't displayed as property closed after editing values
         https://bugs.webkit.org/show_bug.cgi?id=199090
         <rdar://problem/51965431>

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js (246712 => 246713)


--- trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js	2019-06-22 18:05:29 UTC (rev 246712)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js	2019-06-22 18:28:02 UTC (rev 246713)
@@ -145,7 +145,7 @@
         this._shouldFocusSelectorElement = false;
 
         if (this._style.selectorEditable)
-            this._selectorElement.focus();
+            this._selectorTextField.startEditing();
         else
             this._propertiesEditor.startEditingFirstProperty();
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to