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

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h

Issue 1955723004: Implement font-variant-numeric (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * * Redistributions of source code must retain the above copyright 4 * * Redistributions of source code must retain the above copyright
5 * notice, this list of conditions and the following disclaimer. 5 * notice, this list of conditions and the following disclaimer.
6 * * Redistributions in binary form must reproduce the above 6 * * Redistributions in binary form must reproduce the above
7 * copyright notice, this list of conditions and the following disclaimer 7 * copyright notice, this list of conditions and the following disclaimer
8 * in the documentation and/or other materials provided with the 8 * in the documentation and/or other materials provided with the
9 * distribution. 9 * distribution.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 static LengthBox convertClip(StyleResolverState&, const CSSValue&); 61 static LengthBox convertClip(StyleResolverState&, const CSSValue&);
62 static FilterOperations convertFilterOperations(StyleResolverState&, const C SSValue&); 62 static FilterOperations convertFilterOperations(StyleResolverState&, const C SSValue&);
63 template <typename T> static T convertFlags(StyleResolverState&, const CSSVa lue&); 63 template <typename T> static T convertFlags(StyleResolverState&, const CSSVa lue&);
64 static FontDescription::FamilyDescription convertFontFamily(StyleResolverSta te&, const CSSValue&); 64 static FontDescription::FamilyDescription convertFontFamily(StyleResolverSta te&, const CSSValue&);
65 static PassRefPtr<FontFeatureSettings> convertFontFeatureSettings(StyleResol verState&, const CSSValue&); 65 static PassRefPtr<FontFeatureSettings> convertFontFeatureSettings(StyleResol verState&, const CSSValue&);
66 static FontDescription::Size convertFontSize(StyleResolverState&, const CSSV alue&); 66 static FontDescription::Size convertFontSize(StyleResolverState&, const CSSV alue&);
67 static float convertFontSizeAdjust(StyleResolverState&, const CSSValue&); 67 static float convertFontSizeAdjust(StyleResolverState&, const CSSValue&);
68 static FontWeight convertFontWeight(StyleResolverState&, const CSSValue&); 68 static FontWeight convertFontWeight(StyleResolverState&, const CSSValue&);
69 static FontDescription::FontVariantCaps convertFontVariantCaps(StyleResolver State&, const CSSValue&); 69 static FontDescription::FontVariantCaps convertFontVariantCaps(StyleResolver State&, const CSSValue&);
70 static FontDescription::VariantLigatures convertFontVariantLigatures(StyleRe solverState&, const CSSValue&); 70 static FontDescription::VariantLigatures convertFontVariantLigatures(StyleRe solverState&, const CSSValue&);
71 static FontVariantNumeric convertFontVariantNumeric(StyleResolverState&, con st CSSValue&);
71 static StyleSelfAlignmentData convertSelfOrDefaultAlignmentData(StyleResolve rState&, const CSSValue&); 72 static StyleSelfAlignmentData convertSelfOrDefaultAlignmentData(StyleResolve rState&, const CSSValue&);
72 static StyleContentAlignmentData convertContentAlignmentData(StyleResolverSt ate&, const CSSValue&); 73 static StyleContentAlignmentData convertContentAlignmentData(StyleResolverSt ate&, const CSSValue&);
73 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, const CSSValue& ); 74 static GridAutoFlow convertGridAutoFlow(StyleResolverState&, const CSSValue& );
74 static GridPosition convertGridPosition(StyleResolverState&, const CSSValue& ); 75 static GridPosition convertGridPosition(StyleResolverState&, const CSSValue& );
75 static GridTrackSize convertGridTrackSize(StyleResolverState&, const CSSValu e&); 76 static GridTrackSize convertGridTrackSize(StyleResolverState&, const CSSValu e&);
76 template <typename T> static T convertLineWidth(StyleResolverState&, const C SSValue&); 77 template <typename T> static T convertLineWidth(StyleResolverState&, const C SSValue&);
77 static Length convertLength(const StyleResolverState&, const CSSValue&); 78 static Length convertLength(const StyleResolverState&, const CSSValue&);
78 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, const CSSValue&); 79 static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, const CSSValue&);
79 static Length convertLengthOrAuto(const StyleResolverState&, const CSSValue& ); 80 static Length convertLengthOrAuto(const StyleResolverState&, const CSSValue& );
80 static Length convertLengthSizing(StyleResolverState&, const CSSValue&); 81 static Length convertLengthSizing(StyleResolverState&, const CSSValue&);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 { 166 {
166 if (value.isStringValue()) 167 if (value.isStringValue())
167 return AtomicString(toCSSStringValue(value).value()); 168 return AtomicString(toCSSStringValue(value).value());
168 ASSERT(toCSSPrimitiveValue(value).getValueID() == IdForNone); 169 ASSERT(toCSSPrimitiveValue(value).getValueID() == IdForNone);
169 return nullAtom; 170 return nullAtom;
170 } 171 }
171 172
172 } // namespace blink 173 } // namespace blink
173 174
174 #endif 175 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698