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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 1713513002: Rename -webkit-text to -internal-quirk-inherit, limiting it to UA style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase; add new (negative) test Created 4 years, 10 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/css/parser/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index adc95000bebdaa87d6641da517af9aadfae520db..c1b512d4203d3ae9e92465299a5f6a8c8d17dd81 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -155,9 +155,9 @@ bool CSSPropertyParser::isColorKeyword(CSSValueID id)
// '-internal-inactive-list-box-selection'
// '-internal-inactive-list-box-selection-text'
// '-webkit-focus-ring-color'
- // '-webkit-text'
+ // '-internal-quirk-inherit'
//
- return (id >= CSSValueAqua && id <= CSSValueWebkitText)
+ return (id >= CSSValueAqua && id <= CSSValueInternalQuirkInherit)
|| (id >= CSSValueAliceblue && id <= CSSValueYellowgreen)
|| id == CSSValueMenu;
}

Powered by Google App Engine
This is Rietveld 408576698