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

Side by Side Diff: Source/core/css/CSSProperties.in

Issue 677103002: Expand system font values during property parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: OVERRIDE -> override, Allow CSSValueNone in systemFont() 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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // This property resolves to a different property based on the current direction 75 // This property resolves to a different property based on the current direction
76 // and writing mode. 76 // and writing mode.
77 77
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
86 // any StyleBuilder handling!
87 font custom_all, longhands=font-family;font-size;font-style;font-variant;font-we ight;font-stretch;line-height
88 font-family inherited, font, type_name=FontDescription::FamilyDescription, name_ for_methods=FamilyDescription, converter=convertFontFamily 85 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 86 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 87 font-size animatable, inherited, font, name_for_methods=Size, converter=convertF ontSize
91 font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch 88 font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch
92 font-style inherited, font, type_name=FontStyle, name_for_methods=Style 89 font-style inherited, font, type_name=FontStyle, name_for_methods=Style
93 font-variant inherited, font, type_name=FontVariant, name_for_methods=Variant 90 font-variant inherited, font, type_name=FontVariant, name_for_methods=Variant
94 font-variant-ligatures inherited, font, name_for_methods=VariantLigatures, conve rter=convertFontVariantLigatures 91 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 92 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 93 -webkit-font-feature-settings inherited, font, name_for_methods=FeatureSettings, converter=convertFontFeatureSettings
97 -webkit-font-smoothing inherited, font, type_name=FontSmoothingMode 94 -webkit-font-smoothing inherited, font, type_name=FontSmoothingMode
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 border-image longhands=border-image-source;border-image-slice;border-image-width ;border-image-outset;border-image-repeat 452 border-image longhands=border-image-source;border-image-slice;border-image-width ;border-image-outset;border-image-repeat
456 border-left longhands=border-left-width;border-left-style;border-left-color 453 border-left longhands=border-left-width;border-left-style;border-left-color
457 border-radius longhands=border-top-left-radius;border-top-right-radius;border-bo ttom-right-radius;border-bottom-left-radius 454 border-radius longhands=border-top-left-radius;border-top-right-radius;border-bo ttom-right-radius;border-bottom-left-radius
458 border-right longhands=border-right-width;border-right-style;border-right-color 455 border-right longhands=border-right-width;border-right-style;border-right-color
459 border-spacing longhands=-webkit-border-horizontal-spacing;-webkit-border-vertic al-spacing 456 border-spacing longhands=-webkit-border-horizontal-spacing;-webkit-border-vertic al-spacing
460 border-style longhands=border-top-style;border-right-style;border-bottom-style;b order-left-style 457 border-style longhands=border-top-style;border-right-style;border-bottom-style;b order-left-style
461 border-top longhands=border-top-width;border-top-style;border-top-color 458 border-top longhands=border-top-width;border-top-style;border-top-color
462 border-width longhands=border-top-width;border-right-width;border-bottom-width;b order-left-width 459 border-width longhands=border-top-width;border-right-width;border-bottom-width;b order-left-width
463 flex longhands=flex-grow;flex-shrink;flex-basis 460 flex longhands=flex-grow;flex-shrink;flex-basis
464 flex-flow longhands=flex-direction;flex-wrap 461 flex-flow longhands=flex-direction;flex-wrap
462 font longhands=font-family;font-size;font-style;font-variant;font-weight;font-st retch;line-height
465 grid runtime_flag=CSSGridLayout, longhands=grid-template-columns;grid-template-r ows;grid-template-areas;grid-auto-flow;grid-auto-columns;grid-auto-rows 463 grid runtime_flag=CSSGridLayout, longhands=grid-template-columns;grid-template-r ows;grid-template-areas;grid-auto-flow;grid-auto-columns;grid-auto-rows
466 grid-area runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-column-start ;grid-row-end;grid-column-end 464 grid-area runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-column-start ;grid-row-end;grid-column-end
467 grid-column runtime_flag=CSSGridLayout, longhands=grid-column-start;grid-column- end 465 grid-column runtime_flag=CSSGridLayout, longhands=grid-column-start;grid-column- end
468 grid-row runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-row-end 466 grid-row runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-row-end
469 grid-template runtime_flag=CSSGridLayout, longhands=grid-template-columns;grid-t emplate-rows;grid-template-areas 467 grid-template runtime_flag=CSSGridLayout, longhands=grid-template-columns;grid-t emplate-rows;grid-template-areas
470 list-style longhands=list-style-type;list-style-position;list-style-image 468 list-style longhands=list-style-type;list-style-position;list-style-image
471 margin longhands=margin-top;margin-right;margin-bottom;margin-left 469 margin longhands=margin-top;margin-right;margin-bottom;margin-left
472 marker longhands=marker-start;marker-mid;marker-end 470 marker longhands=marker-start;marker-mid;marker-end
473 outline longhands=outline-color;outline-style;outline-width 471 outline longhands=outline-color;outline-style;outline-width
474 overflow longhands=overflow-x;overflow-y 472 overflow longhands=overflow-x;overflow-y
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 -webkit-flex-flow alias_for=flex-flow 515 -webkit-flex-flow alias_for=flex-flow
518 -webkit-flex-grow alias_for=flex-grow 516 -webkit-flex-grow alias_for=flex-grow
519 -webkit-flex-shrink alias_for=flex-shrink 517 -webkit-flex-shrink alias_for=flex-shrink
520 -webkit-flex-wrap alias_for=flex-wrap 518 -webkit-flex-wrap alias_for=flex-wrap
521 -webkit-justify-content alias_for=justify-content 519 -webkit-justify-content alias_for=justify-content
522 -webkit-opacity alias_for=opacity 520 -webkit-opacity alias_for=opacity
523 -webkit-order alias_for=order 521 -webkit-order alias_for=order
524 -webkit-shape-image-threshold alias_for=shape-image-threshold 522 -webkit-shape-image-threshold alias_for=shape-image-threshold
525 -webkit-shape-margin alias_for=shape-margin 523 -webkit-shape-margin alias_for=shape-margin
526 -webkit-shape-outside alias_for=shape-outside 524 -webkit-shape-outside alias_for=shape-outside
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698