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/CSSProperties.in

Issue 602373003: Make style building for 'font-family' less custom. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Init genericFamily in all cases. Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/css/resolver/FontBuilder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file specifies all the CSS properties we support and the necessary 1 // This file specifies all the CSS properties we support and the necessary
2 // information for our code generation. The various supported arguments 2 // information for our code generation. The various supported arguments
3 // are described below with example usage 3 // are described below with example usage
4 4
5 5
6 // - alias_for=other-property 6 // - alias_for=other-property
7 // Properties specifying alias_for do not get their own enum and instead map 7 // Properties specifying alias_for do not get their own enum and instead map
8 // directly onto the CSSPropertyID they alias. Currently this means that the 8 // directly onto the CSSPropertyID they alias. Currently this means that the
9 // UseCounter will not pick up on these (crbug.com/304855) 9 // UseCounter will not pick up on these (crbug.com/304855)
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // Properties with StyleBuilder handling 79 // Properties with StyleBuilder handling
80 80
81 // High Priority and all other font properties. 81 // High Priority and all other font properties.
82 // Other properties can depend upon high priority properties (e.g. font-size / e ms) 82 // Other properties can depend upon high priority properties (e.g. font-size / e ms)
83 color animatable, inherited, custom_all 83 color animatable, inherited, custom_all
84 direction inherited, custom_value 84 direction inherited, custom_value
85 // FIXME: This is a mess due to crbug.com/353932. Shorthands shouldn't have 85 // FIXME: This is a mess due to crbug.com/353932. Shorthands shouldn't have
86 // any StyleBuilder handling! 86 // any StyleBuilder handling!
87 font custom_all, longhands=font-family;font-size;font-style;font-variant;font-we ight;font-stretch;line-height 87 font custom_all, longhands=font-family;font-size;font-style;font-variant;font-we ight;font-stretch;line-height
88 font-family inherited, custom_all 88 font-family inherited, font, type_name=FontDescription::FamilyDescription, name_ for_methods=FamilyDescription, converter=convertFontFamily
89 font-kerning inherited, font, type_name=FontDescription::Kerning, name_for_metho ds=Kerning 89 font-kerning inherited, font, type_name=FontDescription::Kerning, name_for_metho ds=Kerning
90 font-size animatable, inherited, font, name_for_methods=Size, converter=convertF ontSize 90 font-size animatable, inherited, font, name_for_methods=Size, converter=convertF ontSize
91 font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch 91 font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch
92 font-style inherited, font, type_name=FontStyle, name_for_methods=Style 92 font-style inherited, font, type_name=FontStyle, name_for_methods=Style
93 font-variant inherited, font, type_name=FontVariant, name_for_methods=Variant 93 font-variant inherited, font, type_name=FontVariant, name_for_methods=Variant
94 font-variant-ligatures inherited, font, name_for_methods=VariantLigatures, conve rter=convertFontVariantLigatures 94 font-variant-ligatures inherited, font, name_for_methods=VariantLigatures, conve rter=convertFontVariantLigatures
95 font-weight animatable, inherited, font, type_name=FontWeight, name_for_methods= Weight, converter=convertFontWeight 95 font-weight animatable, inherited, font, type_name=FontWeight, name_for_methods= Weight, converter=convertFontWeight
96 -webkit-font-feature-settings inherited, font, name_for_methods=FeatureSettings, converter=convertFontFeatureSettings 96 -webkit-font-feature-settings inherited, font, name_for_methods=FeatureSettings, converter=convertFontFeatureSettings
97 -webkit-font-smoothing inherited, font, type_name=FontSmoothingMode 97 -webkit-font-smoothing inherited, font, type_name=FontSmoothingMode
98 -webkit-locale inherited, custom_value 98 -webkit-locale inherited, custom_value
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 -webkit-flex-flow alias_for=flex-flow 528 -webkit-flex-flow alias_for=flex-flow
529 -webkit-flex-grow alias_for=flex-grow 529 -webkit-flex-grow alias_for=flex-grow
530 -webkit-flex-shrink alias_for=flex-shrink 530 -webkit-flex-shrink alias_for=flex-shrink
531 -webkit-flex-wrap alias_for=flex-wrap 531 -webkit-flex-wrap alias_for=flex-wrap
532 -webkit-justify-content alias_for=justify-content 532 -webkit-justify-content alias_for=justify-content
533 -webkit-opacity alias_for=opacity 533 -webkit-opacity alias_for=opacity
534 -webkit-order alias_for=order 534 -webkit-order alias_for=order
535 -webkit-shape-image-threshold alias_for=shape-image-threshold 535 -webkit-shape-image-threshold alias_for=shape-image-threshold
536 -webkit-shape-margin alias_for=shape-margin 536 -webkit-shape-margin alias_for=shape-margin
537 -webkit-shape-outside alias_for=shape-outside 537 -webkit-shape-outside alias_for=shape-outside
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/resolver/FontBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698