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

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 980233002: [svg2] Make 'cx', 'cy' and 'r' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 9 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
« no previous file with comments | « Source/core/animation/css/CSSPropertyEquality.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 CSSPropertyStrokeWidth, 336 CSSPropertyStrokeWidth,
337 CSSPropertyAlignmentBaseline, 337 CSSPropertyAlignmentBaseline,
338 CSSPropertyBaselineShift, 338 CSSPropertyBaselineShift,
339 CSSPropertyDominantBaseline, 339 CSSPropertyDominantBaseline,
340 CSSPropertyTextAnchor, 340 CSSPropertyTextAnchor,
341 CSSPropertyWritingMode, 341 CSSPropertyWritingMode,
342 CSSPropertyGlyphOrientationHorizontal, 342 CSSPropertyGlyphOrientationHorizontal,
343 CSSPropertyGlyphOrientationVertical, 343 CSSPropertyGlyphOrientationVertical,
344 CSSPropertyVectorEffect, 344 CSSPropertyVectorEffect,
345 CSSPropertyPaintOrder, 345 CSSPropertyPaintOrder,
346 CSSPropertyCx,
347 CSSPropertyCy,
346 CSSPropertyX, 348 CSSPropertyX,
347 CSSPropertyY, 349 CSSPropertyY,
350 CSSPropertyR,
348 CSSPropertyRx, 351 CSSPropertyRx,
349 CSSPropertyRy 352 CSSPropertyRy
350 }; 353 };
351 354
352 static const Vector<CSSPropertyID>& computableProperties() 355 static const Vector<CSSPropertyID>& computableProperties()
353 { 356 {
354 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); 357 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ());
355 if (properties.isEmpty()) 358 if (properties.isEmpty())
356 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); 359 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties);
357 return properties; 360 return properties;
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only."); 694 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only.");
692 } 695 }
693 696
694 DEFINE_TRACE(CSSComputedStyleDeclaration) 697 DEFINE_TRACE(CSSComputedStyleDeclaration)
695 { 698 {
696 visitor->trace(m_node); 699 visitor->trace(m_node);
697 CSSStyleDeclaration::trace(visitor); 700 CSSStyleDeclaration::trace(visitor);
698 } 701 }
699 702
700 } // namespace blink 703 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/animation/css/CSSPropertyEquality.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698