Changeset 228232 in webkit
- Timestamp:
- Feb 7, 2018 11:01:16 AM (6 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r228216 r228232 1 2018-02-07 Nikita Vasilyev <nvasilyev@apple.com> 2 3 Web Inspector: Styles: completion popover doesn't hide when switching panels 4 https://bugs.webkit.org/show_bug.cgi?id=182464 5 <rdar://problem/37202763> 6 7 Reviewed by Timothy Hatcher. 8 9 Hide completion popover by triggering blur event on the focused text field. 10 Removing text fields from the DOM tree would hide the completion popovers as well, 11 but switching sidebar panels doesn't remove them from the DOM. 12 13 * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js: 14 (WI.SpreadsheetCSSStyleDeclarationEditor.prototype.hidden): 15 * UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js: 16 (WI.SpreadsheetCSSStyleDeclarationSection.prototype.hidden): 17 * UserInterface/Views/SpreadsheetRulesStyleDetailsPanel.js: 18 (WI.SpreadsheetRulesStyleDetailsPanel.prototype.hidden): 19 * UserInterface/Views/SpreadsheetStyleProperty.js: 20 (WI.SpreadsheetStyleProperty.prototype.hidden): 21 1 22 2018-02-06 Devin Rousso <webkit@devinrousso.com> 2 23 -
trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js
r228216 r228232 106 106 } 107 107 108 hidden() 109 { 110 for (let propertyView of this._propertyViews) 111 propertyView.hidden(); 112 } 113 108 114 get style() 109 115 { -
trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js
r227370 r228232 120 120 } 121 121 122 hidden() 123 { 124 this._propertiesEditor.hidden(); 125 } 126 122 127 startEditingRuleSelector() 123 128 { -
trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetRulesStyleDetailsPanel.js
r227228 r228232 148 148 } 149 149 150 hidden() 151 { 152 for (let section of this._sections) 153 section.hidden(); 154 155 super.hidden(); 156 } 157 150 158 scrollToSectionAndHighlightProperty(property) 151 159 { -
trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js
r228214 r228232 75 75 } 76 76 77 hidden() 78 { 79 if (this._nameTextField && this._nameTextField.editing) 80 this._nameTextField.element.blur(); 81 else if (this._valueTextField && this._valueTextField.editing) 82 this._valueTextField.element.blur(); 83 } 84 77 85 highlight() 78 86 {
Note: See TracChangeset
for help on using the changeset viewer.