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

Side by Side Diff: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5

Issue 2897893002: Generate getters/setters for subtree_is_sticky. (Closed)
Patch Set: Rebase Created 3 years, 7 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 | third_party/WebKit/Source/core/style/ComputedStyle.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 { 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698