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

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

Issue 545173003: Support scientific notation in CSS numbers/percentages/dimensions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop parseSVGNumber; Add additional TC. Created 6 years, 3 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 | « LayoutTests/svg/css/script-tests/scientific-numbers.js ('k') | Source/core/css/parser/CSSTokenizer-in.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParserMode.h
diff --git a/Source/core/css/parser/CSSParserMode.h b/Source/core/css/parser/CSSParserMode.h
index 6d17520a9527e96be84d170d766a36b29465f63f..464d7a816c913b5975f8b2452ee181d0a3da38b4 100644
--- a/Source/core/css/parser/CSSParserMode.h
+++ b/Source/core/css/parser/CSSParserMode.h
@@ -78,11 +78,6 @@ inline bool isCSSViewportParsingEnabledForMode(CSSParserMode mode)
return mode == CSSViewportRuleMode;
}
-inline bool isSVGNumberParsingEnabledForMode(CSSParserMode mode)
-{
- return mode == SVGAttributeMode;
-}
-
inline bool isUseCounterEnabledForMode(CSSParserMode mode)
{
// We don't count the UA style sheet in our statistics.
« no previous file with comments | « LayoutTests/svg/css/script-tests/scientific-numbers.js ('k') | Source/core/css/parser/CSSTokenizer-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698