Chromium Code Reviews| 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..c763b36dbcdc31f5c0c7b7658339929eeb565e85 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 |
| @@ -0,0 +1,33 @@ |
| +{ |
| + // 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: { |
| + }, |
| + |
| + // A map of expressions to diff (these can be public getters of fields or |
| + // functions that use fields to determine a value). |
| + // TODO: Not implemented for now. |
| + map_of_expressions: { |
| + default: {}, |
| + }, |
|
alancutter (OOO until 2018)
2017/05/12 04:04:51
No need to include this in this patch if it's unus
nainar
2017/05/12 05:05:36
Removed.
|
| + |
| + }, |
| + 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"] |
| + } |
| + ], |
| +} |