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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.cpp

Issue 2827243002: Change default style of menu[type=context] (Closed)
Patch Set: Fix failing tests Created 3 years, 8 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
Index: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
index 3b7e8a620e5851f0f13d098cfda639ee6a7b1a8b..b229597f22f1a42204b54ca8564cc9107fbc599e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -256,7 +256,7 @@ void LayoutTheme::AdjustStyle(ComputedStyle& style, Element* e) {
String LayoutTheme::ExtraDefaultStyleSheet() {
StringBuilder runtime_css;
if (RuntimeEnabledFeatures::contextMenuEnabled())
- runtime_css.Append("menu[type=\"popup\" i] { display: none; }");
+ runtime_css.Append("menu[type=\"context\" i] { display: none; }");
return runtime_css.ToString();
}

Powered by Google App Engine
This is Rietveld 408576698