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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserMode.h

Issue 2390373002: Fix setting properties on CSSFontFaceRule (Closed)
Patch Set: Patch for landing Created 4 years, 2 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 | « third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
};
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698