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

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

Issue 1419583002: Remove SVG glyph-orientation-horizontal and glyph-orientation-vertical (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove glyph-orientation-rounding-test Created 5 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
Index: third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
index 421179ef9cc5b4b0e37fe3924e7965688394136d..c542d15f3585076ad54b4f90ff120076effefa08 100644
--- a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
@@ -6259,21 +6259,6 @@ bool CSSPropertyParser::parseSVGValue(CSSPropertyID propId, bool important)
* correctly and allows optimization in applyRule(..)
*/
- case CSSPropertyGlyphOrientationVertical: // auto | <angle> | inherit
- if (id == CSSValueAuto) {
- validPrimitive = true;
- break;
- }
- /* fallthrough intentional */
- case CSSPropertyGlyphOrientationHorizontal: // <angle> (restricted to _deg_ per SVG 1.1 spec) | inherit
- if (value->unit() == CSSPrimitiveValue::UnitType::Degrees || value->unit() == CSSPrimitiveValue::UnitType::Number) {
- parsedValue = CSSPrimitiveValue::create(value->fValue, CSSPrimitiveValue::UnitType::Degrees);
-
- if (parsedValue)
- m_valueList->next();
- }
- break;
-
case CSSPropertyFill: // <paint> | inherit
case CSSPropertyStroke: // <paint> | inherit
{

Powered by Google App Engine
This is Rietveld 408576698