summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/style/computed_style_extra_fields.json5
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/style/computed_style_extra_fields.json5')
-rw-r--r--chromium/third_party/blink/renderer/core/style/computed_style_extra_fields.json576
1 files changed, 64 insertions, 12 deletions
diff --git a/chromium/third_party/blink/renderer/core/style/computed_style_extra_fields.json5 b/chromium/third_party/blink/renderer/core/style/computed_style_extra_fields.json5
index 42efd588e66..9327fd02612 100644
--- a/chromium/third_party/blink/renderer/core/style/computed_style_extra_fields.json5
+++ b/chromium/third_party/blink/renderer/core/style/computed_style_extra_fields.json5
@@ -190,6 +190,12 @@
default_value: "false",
custom_compare: true,
},
+ {
+ name: "HasEmUnits",
+ field_template: "monotonic_flag",
+ default_value: "false",
+ custom_compare: true,
+ },
// Whether we used a length unit that must be resolved against the measure
// of a certain glyph in some font.
{
@@ -501,7 +507,7 @@
include_paths: ["third_party/blink/renderer/platform/graphics/touch_action.h"],
type_name: "TouchAction",
field_size: 6,
- default_value: "TouchAction::kTouchActionAuto",
+ default_value: "TouchAction::kAuto",
field_group: "*",
computed_style_custom_functions: ["getter", "setter"],
},
@@ -657,10 +663,12 @@
},
{
name: "PageSizeType",
- field_template: "keyword",
- keywords: ["auto", "landscape", "portrait", "resolved"],
+ field_template: "primitive",
field_group: "*",
- default_value: "auto",
+ type_name: "PageSizeType",
+ field_size: 2,
+ default_value: "PageSizeType::kAuto",
+ include_paths: ["third_party/blink/public/common/css/page_size_type.h"],
},
{
name: "HasCurrentOpacityAnimation",
@@ -879,6 +887,22 @@
include_paths: ["third_party/blink/renderer/core/style/ordered_named_grid_lines.h"],
},
{
+ name: "ImplicitNamedGridColumnLines",
+ field_template: "external",
+ type_name: "NamedGridLinesMap",
+ field_group: "*->grid",
+ default_value: "NamedGridLinesMap()",
+ include_paths: ["third_party/blink/renderer/core/style/named_grid_lines_map.h"],
+ },
+ {
+ name: "ImplicitNamedGridRowLines",
+ field_template: "external",
+ type_name: "NamedGridLinesMap",
+ field_group: "*->grid",
+ default_value: "NamedGridLinesMap()",
+ include_paths: ["third_party/blink/renderer/core/style/named_grid_lines_map.h"],
+ },
+ {
name: "NamedGridArea",
field_template: "external",
type_name: "NamedGridAreaMap",
@@ -978,14 +1002,6 @@
inherited: true,
},
{
- name: "IsColorInternalText",
- inherited: true,
- field_template: "primitive",
- type_name: "bool",
- field_group: "inherited",
- default_value: "false",
- },
- {
name: "IsInBlockifyingDisplay",
field_template: "monotonic_flag",
default_value: "false",
@@ -1036,5 +1052,41 @@
custom_compare: true,
inherited: true,
},
+ {
+ name: "IsInsideListElement",
+ field_template: "monotonic_flag",
+ default_value: "false",
+ custom_compare: true,
+ inherited: true,
+ },
+
+ // This field disables the 'overflow' check in |LayoutBlock::
+ // InlineBlockBaseline()|. For 'inline-block', CSS says that the baseline
+ // is the bottom margin edge if 'overflow' is not visible. But some
+ // elements want to ignore this condition.
+ {
+ name: "ShouldIgnoreOverflowPropertyForInlineBlockBaseline",
+ field_template: "monotonic_flag",
+ default_value: "false",
+ inherited: false,
+ },
+ {
+ name: "MathBaseline",
+ field_template: "external",
+ default_value: "Length()",
+ include_paths: ["third_party/blink/renderer/platform/geometry/length.h"],
+ type_name: "Length",
+ field_group: "*",
+ getter: "GetMathBaseline",
+ },
+ {
+ name: "MathFractionBarThickness",
+ field_template: "external",
+ default_value: "Length()",
+ include_paths: ["third_party/blink/renderer/platform/geometry/length.h"],
+ type_name: "Length",
+ field_group: "*",
+ getter: "GetMathFractionBarThickness",
+ },
],
}