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

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

Issue 216803002: Implement all shorthand property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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) 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 2844 matching lines...) Expand 10 before | Expand all | Expand 10 after
2855 case CSSPropertyAlignmentBaseline: 2855 case CSSPropertyAlignmentBaseline:
2856 case CSSPropertyBaselineShift: 2856 case CSSPropertyBaselineShift:
2857 case CSSPropertyDominantBaseline: 2857 case CSSPropertyDominantBaseline:
2858 case CSSPropertyGlyphOrientationHorizontal: 2858 case CSSPropertyGlyphOrientationHorizontal:
2859 case CSSPropertyGlyphOrientationVertical: 2859 case CSSPropertyGlyphOrientationVertical:
2860 case CSSPropertyTextAnchor: 2860 case CSSPropertyTextAnchor:
2861 case CSSPropertyVectorEffect: 2861 case CSSPropertyVectorEffect:
2862 case CSSPropertyPaintOrder: 2862 case CSSPropertyPaintOrder:
2863 case CSSPropertyWritingMode: 2863 case CSSPropertyWritingMode:
2864 return getSVGPropertyCSSValue(propertyID, DoNotUpdateLayout); 2864 return getSVGPropertyCSSValue(propertyID, DoNotUpdateLayout);
2865
2866 case CSSPropertyAll:
2867 return nullptr;
2865 } 2868 }
2866 2869
2867 logUnimplementedPropertyID(propertyID); 2870 logUnimplementedPropertyID(propertyID);
2868 return nullptr; 2871 return nullptr;
2869 } 2872 }
2870 2873
2871 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c onst 2874 String CSSComputedStyleDeclaration::getPropertyValue(CSSPropertyID propertyID) c onst
2872 { 2875 {
2873 RefPtrWillBeRawPtr<CSSValue> value = getPropertyCSSValue(propertyID); 2876 RefPtrWillBeRawPtr<CSSValue> value = getPropertyCSSValue(propertyID);
2874 if (value) 2877 if (value)
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
3057 return list.release(); 3060 return list.release();
3058 } 3061 }
3059 3062
3060 void CSSComputedStyleDeclaration::trace(Visitor* visitor) 3063 void CSSComputedStyleDeclaration::trace(Visitor* visitor)
3061 { 3064 {
3062 visitor->trace(m_node); 3065 visitor->trace(m_node);
3063 CSSStyleDeclaration::trace(visitor); 3066 CSSStyleDeclaration::trace(visitor);
3064 } 3067 }
3065 3068
3066 } // namespace WebCore 3069 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698