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

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

Issue 2876353002: Generate diffing functions for generated subgroup BoxData in ComputedStyle (Closed)
Patch Set: Formatting 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
1 { 1 {
2 // This file specifies the fields we want to diff in the various diff function s 2 // This file specifies the fields we want to diff in the various diff function s
3 // in ComputedStyle. 3 // in ComputedStyle.
4 4
5 parameters: { 5 parameters: {
6 // The name parameter represents the name of the function to be created. 6 // The name parameter represents the name of the function to be created.
7 7
8 // The fields that need to be diffed. 8 // The fields that need to be diffed.
9 fields: { 9 fields: {
10 }, 10 },
11 }, 11 },
12 data: [ 12 data: [
13 { 13 {
14 name: "ScrollAnchorDisablingPropertyChanged", 14 name: "ScrollAnchorDisablingPropertyChanged",
15 fields: ["margin-top", "margin-left", "margin-right", "margin-bottom", 15 fields: ["width", "min-width", "max-width", "height", "min-height", "max -height", "margin-top", "margin-left", "margin-right", "margin-bottom",
16 "left", "right", "top", "bottom", "padding-top", 16 "left", "right", "top", "bottom", "padding-top",
17 "padding-left", "padding-right", "padding-bottom"] 17 "padding-left", "padding-right", "padding-bottom"]
18 }, 18 },
19 { 19 {
20 name: "DiffNeedsFullLayoutAndPaintInvalidation", 20 name: "DiffNeedsFullLayoutAndPaintInvalidation",
21 fields: ["padding-top", "padding-left", "padding-right", 21 fields: ["padding-top", "padding-left", "padding-right",
22 "padding-bottom"] 22 "padding-bottom"]
23 },
24 {
25 name: "DiffNeedsFullLayout",
26 fields: ["width", "min-width", "max-width", "height", "min-height", "max -height", "box-sizing"]
23 } 27 }
24 ], 28 ],
25 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698