Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1041)

Unified Diff: Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 458213002: DevTools: add test to verify simple selector behavior. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebInspector.BlankStylePropertiesSection.makeNormal is private Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/inspector/elements/styles/styles-add-new-rule-tab.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/StylesSidebarPane.js
diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js
index 18f9506179b6c129e4e73883d8f8c41295c50b73..ec27d244ac72f7d5e5ecc8d4cd2ca21923cb4f1e 100644
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -1874,7 +1874,7 @@ WebInspector.BlankStylePropertiesSection.prototype = {
{
var doesSelectorAffectSelectedNode = newRule.matchingSelectors.length > 0;
var styleRule = { section: this, style: newRule.style, selectorText: newRule.selectorText, sourceURL: newRule.resourceURL(), rule: newRule };
- this.makeNormal(styleRule);
+ this._makeNormal(styleRule);
if (!doesSelectorAffectSelectedNode) {
this.noAffect = true;
@@ -1924,7 +1924,7 @@ WebInspector.BlankStylePropertiesSection.prototype = {
this._parentPane.removeSection(this);
},
- makeNormal: function(styleRule)
+ _makeNormal: function(styleRule)
{
this.element.classList.remove("blank-section");
this.styleRule = styleRule;
« no previous file with comments | « LayoutTests/inspector/elements/styles/styles-add-new-rule-tab.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698