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

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

Issue 2879563002: Refactor code generation to allow us to diff generic expressions and not just fields (Closed)
Patch Set: shend@'s suggestions 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
OLDNEW
(Empty)
1 {
2 // This file specifies the fields we want to diff in the various diff function s
3 // in ComputedStyle.
4
5 parameters: {
6 // The name parameter represents the name of the function to be created.
7
8 // The fields that need to be diffed.
9 fields: {
10 },
11
12 // A map of expressions to diff (these can be public getters of fields or
13 // functions that use fields to determine a value).
14 // TODO: Not implemented for now.
15 map_of_expressions: {
16 default: {},
17 },
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.
18
19 },
20 data: [
21 {
22 name: "ScrollAnchorDisablingPropertyChanged",
23 fields: ["margin-top", "margin-left", "margin-right", "margin-bottom",
24 "left", "right", "top", "bottom", "padding-top",
25 "padding-left", "padding-right", "padding-bottom"]
26 },
27 {
28 name: "DiffNeedsFullLayoutAndPaintInvalidation",
29 fields: ["padding-top", "padding-left", "padding-right",
30 "padding-bottom"]
31 }
32 ],
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698