Title: [268929] trunk/Source/WebInspectorUI
- Revision
- 268929
- Author
- nvasil...@apple.com
- Date
- 2020-10-23 11:08:16 -0700 (Fri, 23 Oct 2020)
Log Message
Web Inspector: Typo in experimentalEnableStyelsJumpToVariableDeclaration
https://bugs.webkit.org/show_bug.cgi?id=218119
Reviewed by Devin Rousso.
Replace "Styels" with "Styles".
* UserInterface/Base/Setting.js:
* UserInterface/Views/SettingsTabContentView.js:
(WI.SettingsTabContentView.prototype._createExperimentalSettingsView):
* UserInterface/Views/SpreadsheetStyleProperty.js:
(WI.SpreadsheetStyleProperty.prototype._addVariableTokens):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (268928 => 268929)
--- trunk/Source/WebInspectorUI/ChangeLog 2020-10-23 18:03:10 UTC (rev 268928)
+++ trunk/Source/WebInspectorUI/ChangeLog 2020-10-23 18:08:16 UTC (rev 268929)
@@ -1,3 +1,18 @@
+2020-10-23 Nikita Vasilyev <nvasil...@apple.com>
+
+ Web Inspector: Typo in experimentalEnableStyelsJumpToVariableDeclaration
+ https://bugs.webkit.org/show_bug.cgi?id=218119
+
+ Reviewed by Devin Rousso.
+
+ Replace "Styels" with "Styles".
+
+ * UserInterface/Base/Setting.js:
+ * UserInterface/Views/SettingsTabContentView.js:
+ (WI.SettingsTabContentView.prototype._createExperimentalSettingsView):
+ * UserInterface/Views/SpreadsheetStyleProperty.js:
+ (WI.SpreadsheetStyleProperty.prototype._addVariableTokens):
+
2020-10-22 Devin Rousso <drou...@apple.com>
Web Inspector: REGRESSION(r266074): Sources: icon for non-_javascript_ breakpoints doesn't change when breakpoints are globally disabled
Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js (268928 => 268929)
--- trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js 2020-10-23 18:03:10 UTC (rev 268928)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js 2020-10-23 18:08:16 UTC (rev 268929)
@@ -221,7 +221,7 @@
// Experimental
experimentalEnablePreviewFeatures: new WI.Setting("experimental-enable-preview-features", true),
experimentalEnableStylesJumpToEffective: new WI.Setting("experimental-styles-jump-to-effective", false),
- experimentalEnableStyelsJumpToVariableDeclaration: new WI.Setting("experimental-styles-jump-to-variable-declaration", false),
+ experimentalEnableStylesJumpToVariableDeclaration: new WI.Setting("experimental-styles-jump-to-variable-declaration", false),
experimentalEnableIndependentStylesPanel: new WI.Setting("experimental-independent-styles-panel", false),
// Protocol
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js (268928 => 268929)
--- trunk/Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js 2020-10-23 18:03:10 UTC (rev 268928)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js 2020-10-23 18:08:16 UTC (rev 268929)
@@ -390,7 +390,7 @@
if (hasCSSDomain) {
let stylesGroup = experimentalSettingsView.addGroup(WI.UIString("Styles:"));
stylesGroup.addSetting(WI.settings.experimentalEnableStylesJumpToEffective, WI.UIString("Show jump to effective property button"));
- stylesGroup.addSetting(WI.settings.experimentalEnableStyelsJumpToVariableDeclaration, WI.UIString("Show jump to variable declaration button"));
+ stylesGroup.addSetting(WI.settings.experimentalEnableStylesJumpToVariableDeclaration, WI.UIString("Show jump to variable declaration button"));
experimentalSettingsView.addSeparator();
}
@@ -418,7 +418,7 @@
if (hasCSSDomain) {
listenForChange(WI.settings.experimentalEnableStylesJumpToEffective);
- listenForChange(WI.settings.experimentalEnableStyelsJumpToVariableDeclaration);
+ listenForChange(WI.settings.experimentalEnableStylesJumpToVariableDeclaration);
}
listenForChange(WI.settings.experimentalEnableIndependentStylesPanel);
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js (268928 => 268929)
--- trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js 2020-10-23 18:03:10 UTC (rev 268928)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js 2020-10-23 18:08:16 UTC (rev 268929)
@@ -795,7 +795,7 @@
if (variableNameIndex !== -1) {
let contents = rawTokens.slice(0, variableNameIndex + 1);
- if (WI.settings.experimentalEnableStyelsJumpToVariableDeclaration.value && this._property.ownerStyle.type !== WI.CSSStyleDeclaration.Type.Computed && this._delegate && this._delegate.spreadsheetStylePropertySelectByProperty) {
+ if (WI.settings.experimentalEnableStylesJumpToVariableDeclaration.value && this._property.ownerStyle.type !== WI.CSSStyleDeclaration.Type.Computed && this._delegate && this._delegate.spreadsheetStylePropertySelectByProperty) {
const dontCreateIfMissing = true;
let effectiveVariableProperty = this._property.ownerStyle.nodeStyles.effectivePropertyForName(rawTokens[variableNameIndex].value, dontCreateIfMissing);
if (effectiveVariableProperty) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes