OLD | NEW |
1 { | 1 { |
2 // This file specifies all the CSS properties we support and the necessary | 2 // This file specifies all the CSS properties we support and the necessary |
3 // information for our code generation. The various supported arguments | 3 // information for our code generation. The various supported arguments |
4 // are described below with example usage | 4 // are described below with example usage |
5 | 5 |
6 parameters: { | 6 parameters: { |
7 // - alias_for: "other-property" | 7 // - alias_for: "other-property" |
8 // Properties specifying alias_for should be virtually identical to the | 8 // Properties specifying alias_for should be virtually identical to the |
9 // properties they alias. Minor parsing differences are allowed as long as | 9 // properties they alias. Minor parsing differences are allowed as long as |
10 // the CSSValues created are of the same format of the aliased property. | 10 // the CSSValues created are of the same format of the aliased property. |
(...skipping 2012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2023 }, | 2023 }, |
2024 { | 2024 { |
2025 name: "text-anchor", | 2025 name: "text-anchor", |
2026 inherited: true, | 2026 inherited: true, |
2027 svg: true, | 2027 svg: true, |
2028 }, | 2028 }, |
2029 { | 2029 { |
2030 name: "text-combine-upright", | 2030 name: "text-combine-upright", |
2031 inherited: true, | 2031 inherited: true, |
2032 name_for_methods: "TextCombine", | 2032 name_for_methods: "TextCombine", |
2033 field_template: "storage_only", | 2033 field_template: "keyword", |
2034 type_name: "TextCombine", | 2034 keywords: ["none", "all"], |
2035 default_value: "TextCombine::kNone", | 2035 default_value: "none", |
2036 field_size: 1, | 2036 field_size: 1, |
2037 field_group: "rare-inherited", | 2037 field_group: "rare-inherited", |
2038 }, | 2038 }, |
2039 // FIXME: We shouldn't switch between shorthand/not shorthand based on a run
time flag | 2039 // FIXME: We shouldn't switch between shorthand/not shorthand based on a run
time flag |
2040 { | 2040 { |
2041 name: "text-decoration", | 2041 name: "text-decoration", |
2042 api_class: true, | 2042 api_class: true, |
2043 longhands: "text-decoration-line;text-decoration-style;text-decoration-col
or", | 2043 longhands: "text-decoration-line;text-decoration-style;text-decoration-col
or", |
2044 use_handlers_for: "CSSPropertyTextDecorationLine", | 2044 use_handlers_for: "CSSPropertyTextDecorationLine", |
2045 }, | 2045 }, |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2586 field_template: "external", | 2586 field_template: "external", |
2587 type_name: "Color", | 2587 type_name: "Color", |
2588 include_paths: ["platform/graphics/Color.h"], | 2588 include_paths: ["platform/graphics/Color.h"], |
2589 default_value: "LayoutTheme::TapHighlightColor()", | 2589 default_value: "LayoutTheme::TapHighlightColor()", |
2590 field_group: "rare-inherited", | 2590 field_group: "rare-inherited", |
2591 }, | 2591 }, |
2592 { | 2592 { |
2593 name: "-webkit-text-combine", | 2593 name: "-webkit-text-combine", |
2594 inherited: true, | 2594 inherited: true, |
2595 name_for_methods: "TextCombine", | 2595 name_for_methods: "TextCombine", |
2596 type_name: "TextCombine", | |
2597 }, | 2596 }, |
2598 { | 2597 { |
2599 name: "-webkit-text-emphasis-color", | 2598 name: "-webkit-text-emphasis-color", |
2600 api_class: "CSSPropertyAPIColor", | 2599 api_class: "CSSPropertyAPIColor", |
2601 api_methods: ["parseSingleValue"], | 2600 api_methods: ["parseSingleValue"], |
2602 custom_all: true, | 2601 custom_all: true, |
2603 inherited: true, | 2602 inherited: true, |
2604 field_template: "storage_only", | 2603 field_template: "storage_only", |
2605 type_name: "Color", | 2604 type_name: "Color", |
2606 include_paths: ["platform/graphics/Color.h"], | 2605 include_paths: ["platform/graphics/Color.h"], |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3529 { | 3528 { |
3530 name: "-webkit-transition-timing-function", | 3529 name: "-webkit-transition-timing-function", |
3531 alias_for: "transition-timing-function", | 3530 alias_for: "transition-timing-function", |
3532 }, | 3531 }, |
3533 { | 3532 { |
3534 name: "-webkit-user-select", | 3533 name: "-webkit-user-select", |
3535 alias_for: "user-select", | 3534 alias_for: "user-select", |
3536 }, | 3535 }, |
3537 ], | 3536 ], |
3538 } | 3537 } |
OLD | NEW |