Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 fields_to_diff: { | 8 fields_to_diff: { |
| 9 default: [], | 9 default: [], |
| 10 }, | 10 }, |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 131 method: "Floating()", | 131 method: "Floating()", |
| 132 field_dependencies: ["float"] | 132 field_dependencies: ["float"] |
| 133 }, | 133 }, |
| 134 { | 134 { |
| 135 method: "OriginalDisplay()", | 135 method: "OriginalDisplay()", |
| 136 field_dependencies: ["OriginalDisplay"] | 136 field_dependencies: ["OriginalDisplay"] |
| 137 } | 137 } |
| 138 ], | 138 ], |
| 139 predicates_to_test: [ | 139 predicates_to_test: [ |
| 140 { | 140 { |
| 141 predicate: "TextShadowDataEquivalent(other)", | 141 predicate: "TextShadowDataEquivalent(b)", |
|
alancutter (OOO until 2018)
2017/06/07 05:16:04
"b" is a bit too ugly, let's use "other" instead a
shend
2017/06/07 05:56:35
Made it a.TextShadowDataEquivalent(b)
| |
| 142 field_dependencies: ["text-shadow"] | 142 field_dependencies: ["text-shadow"] |
| 143 }, | 143 }, |
| 144 { | 144 { |
| 145 predicate: "QuotesDataEquivalent(other)", | 145 predicate: "QuotesDataEquivalent(b)", |
| 146 field_dependencies: ["quotes"] | 146 field_dependencies: ["quotes"] |
| 147 }, | 147 }, |
| 148 ] | 148 ] |
| 149 }, | 149 }, |
| 150 { | 150 { |
| 151 name: "DiffNeedsFullLayoutAndPaintInvalidationDisplayTableType", | 151 name: "DiffNeedsFullLayoutAndPaintInvalidationDisplayTableType", |
| 152 methods_to_diff: [ | 152 methods_to_diff: [ |
| 153 { | 153 { |
| 154 method: "BorderCollapse()", | 154 method: "BorderCollapse()", |
| 155 field_dependencies: ["border-collapse"] | 155 field_dependencies: ["border-collapse"] |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 245 field_dependencies: ["caret-color"] | 245 field_dependencies: ["caret-color"] |
| 246 }, | 246 }, |
| 247 { | 247 { |
| 248 method: "VisitedLinkCaretColor()", | 248 method: "VisitedLinkCaretColor()", |
| 249 field_dependencies: ["VisitedLinkCaretColor"] | 249 field_dependencies: ["VisitedLinkCaretColor"] |
| 250 }, | 250 }, |
| 251 ] | 251 ] |
| 252 }, | 252 }, |
| 253 ], | 253 ], |
| 254 } | 254 } |
| OLD | NEW |