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

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

Issue 2841353002: Split initial methods of (/max/min)(width/height) on ComputedStyle. (Closed)
Patch Set: gco rename-style-box && gut 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('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 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 name: "grid-template-rows", 1145 name: "grid-template-rows",
1146 api_class: "CSSPropertyAPIGridTemplateLine", 1146 api_class: "CSSPropertyAPIGridTemplateLine",
1147 custom_all: true, 1147 custom_all: true,
1148 runtime_flag: "CSSGridLayout", 1148 runtime_flag: "CSSGridLayout",
1149 }, 1149 },
1150 { 1150 {
1151 name: "height", 1151 name: "height",
1152 api_class: "CSSPropertyAPIWidthOrHeight", 1152 api_class: "CSSPropertyAPIWidthOrHeight",
1153 converter: "ConvertLengthSizing", 1153 converter: "ConvertLengthSizing",
1154 is_descriptor: true, 1154 is_descriptor: true,
1155 initial: "InitialSize",
1156 interpolable: true, 1155 interpolable: true,
1157 keywords: ["auto", "fit-content", "min-content", "max-content"], 1156 keywords: ["auto", "fit-content", "min-content", "max-content"],
1158 supports_percentage: true, 1157 supports_percentage: true,
1159 typedom_types: ["Length"], 1158 typedom_types: ["Length"],
1160 }, 1159 },
1161 { 1160 {
1162 name: "hyphens", 1161 name: "hyphens",
1163 inherited: true, 1162 inherited: true,
1164 runtime_flag: "CSSHyphens", 1163 runtime_flag: "CSSHyphens",
1165 type_name: "Hyphens", 1164 type_name: "Hyphens",
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 runtime_flag: "CSSMaskSourceType", 1355 runtime_flag: "CSSMaskSourceType",
1357 }, 1356 },
1358 { 1357 {
1359 name: "mask-type", 1358 name: "mask-type",
1360 svg: true, 1359 svg: true,
1361 }, 1360 },
1362 { 1361 {
1363 name: "max-height", 1362 name: "max-height",
1364 converter: "ConvertLengthMaxSizing", 1363 converter: "ConvertLengthMaxSizing",
1365 is_descriptor: true, 1364 is_descriptor: true,
1366 initial: "InitialMaxSize",
1367 interpolable: true, 1365 interpolable: true,
1368 }, 1366 },
1369 { 1367 {
1370 name: "max-width", 1368 name: "max-width",
1371 converter: "ConvertLengthMaxSizing", 1369 converter: "ConvertLengthMaxSizing",
1372 is_descriptor: true, 1370 is_descriptor: true,
1373 initial: "InitialMaxSize",
1374 interpolable: true, 1371 interpolable: true,
1375 }, 1372 },
1376 { 1373 {
1377 name: "min-height", 1374 name: "min-height",
1378 api_class: "CSSPropertyAPIWidthOrHeight", 1375 api_class: "CSSPropertyAPIWidthOrHeight",
1379 converter: "ConvertLengthSizing", 1376 converter: "ConvertLengthSizing",
1380 is_descriptor: true, 1377 is_descriptor: true,
1381 initial: "InitialMinSize",
1382 interpolable: true, 1378 interpolable: true,
1383 }, 1379 },
1384 { 1380 {
1385 name: "min-width", 1381 name: "min-width",
1386 api_class: "CSSPropertyAPIWidthOrHeight", 1382 api_class: "CSSPropertyAPIWidthOrHeight",
1387 converter: "ConvertLengthSizing", 1383 converter: "ConvertLengthSizing",
1388 is_descriptor: true, 1384 is_descriptor: true,
1389 initial: "InitialMinSize",
1390 interpolable: true, 1385 interpolable: true,
1391 }, 1386 },
1392 { 1387 {
1393 name: "mix-blend-mode", 1388 name: "mix-blend-mode",
1394 name_for_methods: "BlendMode", 1389 name_for_methods: "BlendMode",
1395 type_name: "blink::WebBlendMode", 1390 type_name: "blink::WebBlendMode",
1396 }, 1391 },
1397 { 1392 {
1398 name: "motion-offset", 1393 name: "motion-offset",
1399 alias_for: "offset-distance", 1394 alias_for: "offset-distance",
(...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
2444 api_methods: ["parseSingleValue"], 2439 api_methods: ["parseSingleValue"],
2445 inherited: true, 2440 inherited: true,
2446 interpolable: true, 2441 interpolable: true,
2447 type_name: "short", 2442 type_name: "short",
2448 }, 2443 },
2449 { 2444 {
2450 name: "width", 2445 name: "width",
2451 api_class: "CSSPropertyAPIWidthOrHeight", 2446 api_class: "CSSPropertyAPIWidthOrHeight",
2452 converter: "ConvertLengthSizing", 2447 converter: "ConvertLengthSizing",
2453 is_descriptor: true, 2448 is_descriptor: true,
2454 initial: "InitialSize",
2455 interpolable: true, 2449 interpolable: true,
2456 keywords: ["auto", "fit-content", "min-content", "max-content"], 2450 keywords: ["auto", "fit-content", "min-content", "max-content"],
2457 supports_percentage: true, 2451 supports_percentage: true,
2458 typedom_types: ["Length"], 2452 typedom_types: ["Length"],
2459 }, 2453 },
2460 { 2454 {
2461 name: "will-change", 2455 name: "will-change",
2462 api_class: true, 2456 api_class: true,
2463 api_methods: ["parseSingleValue"], 2457 api_methods: ["parseSingleValue"],
2464 custom_all: true, 2458 custom_all: true,
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
3237 { 3231 {
3238 name: "-webkit-transition-timing-function", 3232 name: "-webkit-transition-timing-function",
3239 alias_for: "transition-timing-function", 3233 alias_for: "transition-timing-function",
3240 }, 3234 },
3241 { 3235 {
3242 name: "-webkit-user-select", 3236 name: "-webkit-user-select",
3243 alias_for: "user-select", 3237 alias_for: "user-select",
3244 }, 3238 },
3245 ], 3239 ],
3246 } 3240 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698