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

Side by Side Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 234453002: Remove SVG1.1 kerning property (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More TestExpectations updates Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012 Intel Corporation. All rights reserved.
10 * 10 *
(...skipping 8357 matching lines...) Expand 10 before | Expand all | Expand 10 after
8368 validPrimitive = validUnit(value, FLength | FPercent, SVGAttributeMode); 8368 validPrimitive = validUnit(value, FLength | FPercent, SVGAttributeMode);
8369 break; 8369 break;
8370 case CSSPropertyStrokeDasharray: // none | <dasharray> | inherit 8370 case CSSPropertyStrokeDasharray: // none | <dasharray> | inherit
8371 if (id == CSSValueNone) 8371 if (id == CSSValueNone)
8372 validPrimitive = true; 8372 validPrimitive = true;
8373 else 8373 else
8374 parsedValue = parseSVGStrokeDasharray(); 8374 parsedValue = parseSVGStrokeDasharray();
8375 8375
8376 break; 8376 break;
8377 8377
8378 case CSSPropertyKerning: // auto | normal | <length> | inherit
8379 if (id == CSSValueAuto || id == CSSValueNormal)
8380 validPrimitive = true;
8381 else
8382 validPrimitive = validUnit(value, FLength, SVGAttributeMode);
8383 break;
8384
8385 case CSSPropertyClipPath: // <uri> | none | inherit 8378 case CSSPropertyClipPath: // <uri> | none | inherit
8386 case CSSPropertyFilter: 8379 case CSSPropertyFilter:
8387 if (id == CSSValueNone) { 8380 if (id == CSSValueNone) {
8388 validPrimitive = true; 8381 validPrimitive = true;
8389 } else if (value->unit == CSSPrimitiveValue::CSS_URI) { 8382 } else if (value->unit == CSSPrimitiveValue::CSS_URI) {
8390 parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitive Value::UnitTypes) value->unit); 8383 parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitive Value::UnitTypes) value->unit);
8391 if (parsedValue) 8384 if (parsedValue)
8392 m_valueList->next(); 8385 m_valueList->next();
8393 } 8386 }
8394 break; 8387 break;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
8523 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); 8516 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill));
8524 if (!seenStroke) 8517 if (!seenStroke)
8525 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke) ); 8518 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke) );
8526 if (!seenMarkers) 8519 if (!seenMarkers)
8527 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers )); 8520 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers ));
8528 8521
8529 return parsedValues.release(); 8522 return parsedValues.release();
8530 } 8523 }
8531 8524
8532 } // namespace WebCore 8525 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/SVGCSSValueKeywords.in ('k') | Source/core/css/resolver/AnimatedStyleBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698