| Index: third_party/WebKit/Source/core/css/parser/CSSParserMode.h
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserMode.h b/third_party/WebKit/Source/core/css/parser/CSSParserMode.h
|
| index 4b8aa1712525053fdea36ce5170c4b3a30f99818..05853f62ec15bd8db06da5524ab95b95bd5dfaa5 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserMode.h
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserMode.h
|
| @@ -37,9 +37,6 @@ namespace blink {
|
| enum CSSParserMode {
|
| HTMLStandardMode,
|
| HTMLQuirksMode,
|
| - // HTML attributes are parsed in quirks mode but also allows internal
|
| - // properties and values.
|
| - HTMLAttributeMode,
|
| // SVG attributes are parsed in quirks mode but rules differ slightly.
|
| SVGAttributeMode,
|
| // @viewport/@font-face rules are specially tagged in StylePropertySet so
|
| @@ -52,17 +49,13 @@ enum CSSParserMode {
|
| };
|
|
|
| inline bool isQuirksModeBehavior(CSSParserMode mode) {
|
| - return mode == HTMLQuirksMode; // || mode == HTMLAttributeMode;
|
| + return mode == HTMLQuirksMode;
|
| }
|
|
|
| inline bool isUASheetBehavior(CSSParserMode mode) {
|
| return mode == UASheetMode;
|
| }
|
|
|
| -inline bool isUnitLessLengthParsingEnabledForMode(CSSParserMode mode) {
|
| - return mode == HTMLAttributeMode || mode == SVGAttributeMode;
|
| -}
|
| -
|
| inline bool isCSSViewportParsingEnabledForMode(CSSParserMode mode) {
|
| return mode == CSSViewportRuleMode;
|
| }
|
|
|