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

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

Issue 2825653002: Split initial methods of padding 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 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after
1504 keywords: [ 1504 keywords: [
1505 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w ebkit-paged-y", 1505 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w ebkit-paged-y",
1506 ], 1506 ],
1507 type_name: "EOverflow", 1507 type_name: "EOverflow",
1508 }, 1508 },
1509 { 1509 {
1510 name: "padding-bottom", 1510 name: "padding-bottom",
1511 api_class: "CSSPropertyAPIPadding", 1511 api_class: "CSSPropertyAPIPadding",
1512 api_methods: ["parseSingleValue"], 1512 api_methods: ["parseSingleValue"],
1513 converter: "ConvertLength", 1513 converter: "ConvertLength",
1514 initial: "InitialPadding",
1515 interpolable: true, 1514 interpolable: true,
1516 }, 1515 },
1517 { 1516 {
1518 name: "padding-left", 1517 name: "padding-left",
1519 api_class: "CSSPropertyAPIPadding", 1518 api_class: "CSSPropertyAPIPadding",
1520 api_methods: ["parseSingleValue"], 1519 api_methods: ["parseSingleValue"],
1521 converter: "ConvertLength", 1520 converter: "ConvertLength",
1522 initial: "InitialPadding",
1523 interpolable: true, 1521 interpolable: true,
1524 }, 1522 },
1525 { 1523 {
1526 name: "padding-right", 1524 name: "padding-right",
1527 api_class: "CSSPropertyAPIPadding", 1525 api_class: "CSSPropertyAPIPadding",
1528 api_methods: ["parseSingleValue"], 1526 api_methods: ["parseSingleValue"],
1529 converter: "ConvertLength", 1527 converter: "ConvertLength",
1530 initial: "InitialPadding",
1531 interpolable: true, 1528 interpolable: true,
1532 }, 1529 },
1533 { 1530 {
1534 name: "padding-top", 1531 name: "padding-top",
1535 api_class: "CSSPropertyAPIPadding", 1532 api_class: "CSSPropertyAPIPadding",
1536 api_methods: ["parseSingleValue"], 1533 api_methods: ["parseSingleValue"],
1537 converter: "ConvertLength", 1534 converter: "ConvertLength",
1538 initial: "InitialPadding",
1539 interpolable: true, 1535 interpolable: true,
1540 }, 1536 },
1541 { 1537 {
1542 name: "paint-order", 1538 name: "paint-order",
1543 api_class: true, 1539 api_class: true,
1544 api_methods: ["parseSingleValue"], 1540 api_methods: ["parseSingleValue"],
1545 converter: "ConvertPaintOrder", 1541 converter: "ConvertPaintOrder",
1546 inherited: true, 1542 inherited: true,
1547 svg: true, 1543 svg: true,
1548 }, 1544 },
(...skipping 1642 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