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 b5e9109dda77a0d1c58e46fdf2031624a8359bdb..cefe25257dee86fab301c2bfb7e36ba5a1d1664d 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserMode.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserMode.h |
@@ -48,9 +48,9 @@ enum CSSParserMode { |
HTMLAttributeMode, |
// SVG attributes are parsed in quirks mode but rules differ slightly. |
SVGAttributeMode, |
- // @viewport rules are parsed in standards mode but CSSOM modifications (via StylePropertySet) |
- // must call parseViewportProperties so needs a special mode. |
+ // @viewport/@font-face rules are specially tagged in StylePropertySet so CSSOM modifications don't treat them as style rules. |
CSSViewportRuleMode, |
+ CSSFontFaceRuleMode, |
// User agent stylesheets are parsed in standards mode but also allows internal properties and values. |
UASheetMode |
}; |