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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 type_name: "bool", | 477 type_name: "bool", |
478 default_value: "false", | 478 default_value: "false", |
479 field_size: 1, | 479 field_size: 1, |
480 field_group: "rare-inherited", | 480 field_group: "rare-inherited", |
481 }, | 481 }, |
482 // Though position: sticky is not itself an inherited property, being a | 482 // Though position: sticky is not itself an inherited property, being a |
483 // descendent of a sticky element changes some document lifecycle logic. | 483 // descendent of a sticky element changes some document lifecycle logic. |
484 { | 484 { |
485 name: "SubtreeIsSticky", | 485 name: "SubtreeIsSticky", |
486 inherited: true, | 486 inherited: true, |
487 field_template: "storage_only", | 487 field_template: "primitive", |
488 type_name: "bool", | 488 type_name: "bool", |
489 default_value: "false", | 489 default_value: "false", |
490 field_size: 1, | 490 field_size: 1, |
491 field_group: "rare-inherited", | 491 field_group: "rare-inherited", |
492 }, | 492 }, |
493 { | 493 { |
494 name: "HyphenationLimitBefore", | 494 name: "HyphenationLimitBefore", |
495 inherited: true, | 495 inherited: true, |
496 field_template: "storage_only", | 496 field_template: "storage_only", |
497 type_name: "short", | 497 type_name: "short", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 name: "Variables", | 535 name: "Variables", |
536 inherited: true, | 536 inherited: true, |
537 field_template: "storage_only", | 537 field_template: "storage_only", |
538 field_type_path: "core/style/StyleInheritedVariables", | 538 field_type_path: "core/style/StyleInheritedVariables", |
539 default_value: "nullptr", | 539 default_value: "nullptr", |
540 wrapper_pointer_name: "RefPtr", | 540 wrapper_pointer_name: "RefPtr", |
541 field_group: "rare-inherited", | 541 field_group: "rare-inherited", |
542 }, | 542 }, |
543 ], | 543 ], |
544 } | 544 } |
OLD | NEW |