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

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

Issue 2825663002: Split initial methods of margin on ComputedStyle. (Closed)
Patch Set: Rebase Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 // This file specifies all the CSS properties we support and the necessary 2 // This file specifies all the CSS properties we support and the necessary
3 // information for our code generation. The various supported arguments 3 // information for our code generation. The various supported arguments
4 // are described below with example usage 4 // are described below with example usage
5 5
6 parameters: { 6 parameters: {
7 // - alias_for: "other-property" 7 // - alias_for: "other-property"
8 // Properties specifying alias_for should be virtually identical to the 8 // Properties specifying alias_for should be virtually identical to the
9 // properties they alias. Minor parsing differences are allowed as long as 9 // properties they alias. Minor parsing differences are allowed as long as
10 // the CSSValues created are of the same format of the aliased property. 10 // the CSSValues created are of the same format of the aliased property.
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 field_template: "keyword", 1257 field_template: "keyword",
1258 keywords: [ 1258 keywords: [
1259 "disc", "circle", "square", "decimal", "decimal-leading-zero", "arabic-i ndic", "bengali", "cambodian", "khmer", "devanagari", "gujarati", "gurmukhi", "k annada", "lao", "malayalam", "mongolian", "myanmar", "oriya", "persian", "urdu", "telugu", "tibetan", "thai", "lower-roman", "upper-roman", "lower-greek", "lowe r-alpha", "lower-latin", "upper-alpha", "upper-latin", "cjk-earthly-branch", "cj k-heavenly-stem", "ethiopic-halehame", "ethiopic-halehame-am", "ethiopic-haleham e-ti-er", "ethiopic-halehame-ti-et", "hangul", "hangul-consonant", "korean-hangu l-formal", "korean-hanja-formal", "korean-hanja-informal", "hebrew", "armenian", "lower-armenian", "upper-armenian", "georgian", "cjk-ideographic", "simp-chines e-formal", "simp-chinese-informal", "trad-chinese-formal", "trad-chinese-informa l", "hiragana", "katakana", "hiragana-iroha", "katakana-iroha", "none", 1259 "disc", "circle", "square", "decimal", "decimal-leading-zero", "arabic-i ndic", "bengali", "cambodian", "khmer", "devanagari", "gujarati", "gurmukhi", "k annada", "lao", "malayalam", "mongolian", "myanmar", "oriya", "persian", "urdu", "telugu", "tibetan", "thai", "lower-roman", "upper-roman", "lower-greek", "lowe r-alpha", "lower-latin", "upper-alpha", "upper-latin", "cjk-earthly-branch", "cj k-heavenly-stem", "ethiopic-halehame", "ethiopic-halehame-am", "ethiopic-haleham e-ti-er", "ethiopic-halehame-ti-et", "hangul", "hangul-consonant", "korean-hangu l-formal", "korean-hanja-formal", "korean-hanja-informal", "hebrew", "armenian", "lower-armenian", "upper-armenian", "georgian", "cjk-ideographic", "simp-chines e-formal", "simp-chinese-informal", "trad-chinese-formal", "trad-chinese-informa l", "hiragana", "katakana", "hiragana-iroha", "katakana-iroha", "none",
1260 ], 1260 ],
1261 }, 1261 },
1262 { 1262 {
1263 name: "margin-bottom", 1263 name: "margin-bottom",
1264 api_class: "CSSPropertyAPIMargin", 1264 api_class: "CSSPropertyAPIMargin",
1265 api_methods: ["parseSingleValue"], 1265 api_methods: ["parseSingleValue"],
1266 converter: "ConvertQuirkyLength", 1266 converter: "ConvertQuirkyLength",
1267 initial: "InitialMargin",
1268 interpolable: true, 1267 interpolable: true,
1269 }, 1268 },
1270 { 1269 {
1271 name: "margin-left", 1270 name: "margin-left",
1272 api_class: "CSSPropertyAPIMargin", 1271 api_class: "CSSPropertyAPIMargin",
1273 api_methods: ["parseSingleValue"], 1272 api_methods: ["parseSingleValue"],
1274 converter: "ConvertQuirkyLength", 1273 converter: "ConvertQuirkyLength",
1275 initial: "InitialMargin",
1276 interpolable: true, 1274 interpolable: true,
1277 }, 1275 },
1278 { 1276 {
1279 name: "margin-right", 1277 name: "margin-right",
1280 api_class: "CSSPropertyAPIMargin", 1278 api_class: "CSSPropertyAPIMargin",
1281 api_methods: ["parseSingleValue"], 1279 api_methods: ["parseSingleValue"],
1282 converter: "ConvertQuirkyLength", 1280 converter: "ConvertQuirkyLength",
1283 initial: "InitialMargin",
1284 interpolable: true, 1281 interpolable: true,
1285 }, 1282 },
1286 { 1283 {
1287 name: "margin-top", 1284 name: "margin-top",
1288 api_class: "CSSPropertyAPIMargin", 1285 api_class: "CSSPropertyAPIMargin",
1289 api_methods: ["parseSingleValue"], 1286 api_methods: ["parseSingleValue"],
1290 converter: "ConvertQuirkyLength", 1287 converter: "ConvertQuirkyLength",
1291 initial: "InitialMargin",
1292 interpolable: true, 1288 interpolable: true,
1293 }, 1289 },
1294 { 1290 {
1295 name: "marker-end", 1291 name: "marker-end",
1296 api_class: "CSSPropertyAPIMarker", 1292 api_class: "CSSPropertyAPIMarker",
1297 converter: "ConvertFragmentIdentifier", 1293 converter: "ConvertFragmentIdentifier",
1298 inherited: true, 1294 inherited: true,
1299 name_for_methods: "MarkerEndResource", 1295 name_for_methods: "MarkerEndResource",
1300 svg: true, 1296 svg: true,
1301 }, 1297 },
(...skipping 1889 matching lines...) Expand 10 before | Expand all | Expand 10 after
3191 { 3187 {
3192 name: "-webkit-transition-timing-function", 3188 name: "-webkit-transition-timing-function",
3193 alias_for: "transition-timing-function", 3189 alias_for: "transition-timing-function",
3194 }, 3190 },
3195 { 3191 {
3196 name: "-webkit-user-select", 3192 name: "-webkit-user-select",
3197 alias_for: "user-select", 3193 alias_for: "user-select",
3198 }, 3194 },
3199 ], 3195 ],
3200 } 3196 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698