| OLD | NEW |
| 1 { | 1 { |
| 2 // This file specifies fields in ComputedStyle that we would like to | 2 // This file specifies fields in ComputedStyle that we would like to |
| 3 // generate, but are not CSS properties. | 3 // generate, but are not CSS properties. |
| 4 | 4 |
| 5 parameters: { | 5 parameters: { |
| 6 // If the field has_custom_compare_and_copy, then it does not appear in | 6 // If the field has_custom_compare_and_copy, then it does not appear in |
| 7 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached. | 7 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached. |
| 8 has_custom_compare_and_copy: { | 8 has_custom_compare_and_copy: { |
| 9 default: false, | 9 default: false, |
| 10 }, | 10 }, |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 inherited: true, | 440 inherited: true, |
| 441 field_template: "storage_only", | 441 field_template: "storage_only", |
| 442 type_name: "TextEmphasisPosition", | 442 type_name: "TextEmphasisPosition", |
| 443 default_value: "TextEmphasisPosition::kOver", | 443 default_value: "TextEmphasisPosition::kOver", |
| 444 field_size: 1, | 444 field_size: 1, |
| 445 field_group: "rare-inherited", | 445 field_group: "rare-inherited", |
| 446 }, | 446 }, |
| 447 { | 447 { |
| 448 name: "TextIndentLine", | 448 name: "TextIndentLine", |
| 449 inherited: true, | 449 inherited: true, |
| 450 field_template: "storage_only", | 450 field_template: "keyword", |
| 451 type_name: "TextIndentLine", | 451 type_name: "TextIndentLine", |
| 452 default_value: "TextIndentLine::kFirstLine", | 452 keywords: ["first-line", "each-line"], |
| 453 field_size: 1, | 453 default_value: "first-line", |
| 454 field_group: "rare-inherited", | 454 field_group: "rare-inherited", |
| 455 }, | 455 }, |
| 456 { | 456 { |
| 457 name: "TextIndentType", | 457 name: "TextIndentType", |
| 458 inherited: true, | 458 inherited: true, |
| 459 field_template: "storage_only", | 459 field_template: "keyword", |
| 460 type_name: "TextIndentType", | 460 type_name: "TextIndentType", |
| 461 default_value: "TextIndentType::kNormal", | 461 keywords: ["normal", "hanging"], |
| 462 field_size: 1, | 462 default_value: "normal", |
| 463 field_group: "rare-inherited", | 463 field_group: "rare-inherited", |
| 464 }, | 464 }, |
| 465 // Though will-change is not itself an inherited property, the intent | 465 // Though will-change is not itself an inherited property, the intent |
| 466 // expressed by 'will-change: contents' includes descendants. | 466 // expressed by 'will-change: contents' includes descendants. |
| 467 { | 467 { |
| 468 name: "SubtreeWillChangeContents", | 468 name: "SubtreeWillChangeContents", |
| 469 inherited: true, | 469 inherited: true, |
| 470 field_template: "storage_only", | 470 field_template: "storage_only", |
| 471 type_name: "bool", | 471 type_name: "bool", |
| 472 default_value: "false", | 472 default_value: "false", |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 inherited: true, | 550 inherited: true, |
| 551 field_template: "storage_only", | 551 field_template: "storage_only", |
| 552 type_name: "StyleInheritedVariables", | 552 type_name: "StyleInheritedVariables", |
| 553 include_paths: ["core/style/StyleInheritedVariables.h"], | 553 include_paths: ["core/style/StyleInheritedVariables.h"], |
| 554 default_value: "nullptr", | 554 default_value: "nullptr", |
| 555 wrapper_pointer_name: "RefPtr", | 555 wrapper_pointer_name: "RefPtr", |
| 556 field_group: "rare-inherited", | 556 field_group: "rare-inherited", |
| 557 }, | 557 }, |
| 558 ], | 558 ], |
| 559 } | 559 } |
| OLD | NEW |