Index: third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 |
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 b/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..657b33ec5bcaa4b9a225a4c41a886dcde3c94528 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 |
@@ -0,0 +1,25 @@ |
+{ |
+ // This file specifies the fields we want to diff in the various diff functions |
+ // in ComputedStyle. |
+ |
+ parameters: { |
+ // The name parameter represents the name of the function to be created. |
+ |
+ // The fields that need to be diffed. |
+ fields: { |
+ }, |
+ }, |
+ data: [ |
+ { |
+ name: "ScrollAnchorDisablingPropertyChanged", |
+ fields: ["margin-top", "margin-left", "margin-right", "margin-bottom", |
+ "left", "right", "top", "bottom", "padding-top", |
+ "padding-left", "padding-right", "padding-bottom"] |
+ }, |
+ { |
+ name: "DiffNeedsFullLayoutAndPaintInvalidation", |
+ fields: ["padding-top", "padding-left", "padding-right", |
+ "padding-bottom"] |
+ } |
+ ], |
+} |