diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/style/computed_style_diff_functions.json5')
-rw-r--r-- | chromium/third_party/blink/renderer/core/style/computed_style_diff_functions.json5 | 44 |
1 files changed, 32 insertions, 12 deletions
diff --git a/chromium/third_party/blink/renderer/core/style/computed_style_diff_functions.json5 b/chromium/third_party/blink/renderer/core/style/computed_style_diff_functions.json5 index 7de711f04e1..b7378fc468b 100644 --- a/chromium/third_party/blink/renderer/core/style/computed_style_diff_functions.json5 +++ b/chromium/third_party/blink/renderer/core/style/computed_style_diff_functions.json5 @@ -102,7 +102,11 @@ "grid-row-start", "grid-row-end", "grid-column-start", "grid-column-end", "column-gap", "column-width", "column-rule-style", "column-rule-width", "column-rule-color", "-internal-visited-column-rule-color", - "column-count", "HasAutoColumnCount", "HasAutoColumnWidth", "column-fill", "column-span",], + "column-count", "HasAutoColumnCount", "HasAutoColumnWidth", "column-fill", "column-span", + "cx", "cy", "d", "rx", "ry", "x", "y", "r", "alignment-baseline", "vector-effect", + "BaselineShiftType", "baseline-shift", "dominant-baseline", "text-anchor", + "stroke-width", "stroke-miterlimit", "stroke-linecap", "stroke-linejoin", + "marker-end", "marker-mid", "marker-start",], methods_to_diff: [ { method: "BorderLeftWidth()", @@ -160,6 +164,14 @@ method: "OriginalDisplay()", field_dependencies: ["OriginalDisplay"] }, + { + method: "HasStroke()", + field_dependencies: ["stroke"] + }, + { + method: "HasDashArray()", + field_dependencies: ["stroke-dasharray"] + }, ], predicates_to_test: [ { @@ -202,17 +214,15 @@ name: "DiffNeedsFullLayoutAndPaintInvalidationDisplayListItem", methods_to_diff: [ { - method: "ListStyleType()", - field_dependencies: ["ListStyleType"] - }, - { - method: "ListStyleStringValue()", - field_dependencies: ["ListStyleStringValue"] - }, - { method: "ListStylePosition()", field_dependencies: ["list-style-position"] }, + ], + predicates_to_test: [ + { + predicate: "a.ListStyleTypeDataEquivalent(b)", + field_dependencies: ["list-style-type"] + }, ] }, { @@ -221,7 +231,8 @@ "max-height", "VerticalAlignLength", "box-sizing", "align-content", "align-items", "align-self", "justify-content", "justify-items", "justify-self", "contain", "contain-intrinsic-size", "aspect-ratio", - "overflow-clip-margin", "-internal-align-self-block"], + "overflow-clip-margin", "-internal-align-self-block", "orphans", + "widows"], methods_to_diff: [ { method: "VerticalAlign()", @@ -237,7 +248,12 @@ name: "DiffNeedsPaintInvalidation", fields_to_diff: ["-webkit-user-modify", "user-select", "image-rendering", "-webkit-user-drag", "object-fit", "object-position", - "mix-blend-mode", "isolation", "Mask", "MaskBoxImage"], + "mix-blend-mode", "isolation", "Mask", "MaskBoxImage", "mask", "mask-type", + "stop-color", "stop-opacity", "flood-color", "flood-opacity", + "lighting-color", "shape-rendering", "clip-rule", "fill-rule", + "color-interpolation", "color-interpolation-filters", "paint-order", + "fill", "fill-opacity", "stroke", "stroke-opacity", + "-internal-visited-stroke", "stroke-dashoffset"], methods_to_diff: [ { method: "Visibility()", @@ -301,6 +317,10 @@ predicate: "a.InternalVisitedOutlineColorHasNotChanged(b)", field_dependencies: ["-internal-visited-outline-color"] }, + { + predicate: "a.StrokeDashArrayDataEquivalent(b)", + field_dependencies: ["stroke-dasharray"] + }, ] }, { @@ -376,7 +396,7 @@ }, { name: "UpdatePropertySpecificDifferencesMask", - fields_to_diff: ["Mask", "MaskBoxImage"], + fields_to_diff: ["Mask", "MaskBoxImage", "mask"], }, { name: "UpdatePropertySpecificDifferencesNeedsRecomputeVisualOverflow", |