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

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

Issue 2639303004: Implements CSSPropertyAPI for the fragmentation element properties. (Closed)
Patch Set: Rebase Created 3 years, 9 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 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 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 }, 1384 },
1385 { 1385 {
1386 name: "order", 1386 name: "order",
1387 api_class: true, 1387 api_class: true,
1388 api_methods: ["parseSingleValue"], 1388 api_methods: ["parseSingleValue"],
1389 interpolable: true, 1389 interpolable: true,
1390 type_name: "int", 1390 type_name: "int",
1391 }, 1391 },
1392 { 1392 {
1393 name: "orphans", 1393 name: "orphans",
1394 api_class: "CSSPropertyAPIFragmentation",
1395 api_methods: ["parseSingleValue"],
1394 inherited: true, 1396 inherited: true,
1395 interpolable: true, 1397 interpolable: true,
1396 type_name: "short", 1398 type_name: "short",
1397 }, 1399 },
1398 { 1400 {
1399 name: "outline-color", 1401 name: "outline-color",
1400 api_class: true, 1402 api_class: true,
1401 api_methods: ["parseSingleValue"], 1403 api_methods: ["parseSingleValue"],
1402 custom_all: true, 1404 custom_all: true,
1403 interpolable: true, 1405 interpolable: true,
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
2014 }, 2016 },
2015 { 2017 {
2016 name: "-webkit-box-flex-group", 2018 name: "-webkit-box-flex-group",
2017 api_class: true, 2019 api_class: true,
2018 api_methods: ["parseSingleValue"], 2020 api_methods: ["parseSingleValue"],
2019 type_name: "unsigned int", 2021 type_name: "unsigned int",
2020 }, 2022 },
2021 "-webkit-box-lines", 2023 "-webkit-box-lines",
2022 { 2024 {
2023 name: "-webkit-box-ordinal-group", 2025 name: "-webkit-box-ordinal-group",
2026 api_class: "CSSPropertyAPIFragmentation",
2027 api_methods: ["parseSingleValue"],
2024 type_name: "unsigned int", 2028 type_name: "unsigned int",
2025 }, 2029 },
2026 "-webkit-box-orient", 2030 "-webkit-box-orient",
2027 "-webkit-box-pack", 2031 "-webkit-box-pack",
2028 { 2032 {
2029 name: "-webkit-box-reflect", 2033 name: "-webkit-box-reflect",
2030 converter: "convertBoxReflect", 2034 converter: "convertBoxReflect",
2031 }, 2035 },
2032 { 2036 {
2033 name: "column-count", 2037 name: "column-count",
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2317 { 2321 {
2318 name: "white-space", 2322 name: "white-space",
2319 independent: true, 2323 independent: true,
2320 inherited: true, 2324 inherited: true,
2321 initial_keyword: "normal", 2325 initial_keyword: "normal",
2322 field_template: "keyword", 2326 field_template: "keyword",
2323 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now rap"], 2327 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now rap"],
2324 }, 2328 },
2325 { 2329 {
2326 name: "widows", 2330 name: "widows",
2331 api_class: "CSSPropertyAPIFragmentation",
2332 api_methods: ["parseSingleValue"],
2327 inherited: true, 2333 inherited: true,
2328 interpolable: true, 2334 interpolable: true,
2329 type_name: "short", 2335 type_name: "short",
2330 }, 2336 },
2331 { 2337 {
2332 name: "width", 2338 name: "width",
2333 api_class: "CSSPropertyAPIWidthOrHeight", 2339 api_class: "CSSPropertyAPIWidthOrHeight",
2334 converter: "convertLengthSizing", 2340 converter: "convertLengthSizing",
2335 initial: "initialSize", 2341 initial: "initialSize",
2336 interpolable: true, 2342 interpolable: true,
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
3104 { 3110 {
3105 name: "-webkit-transition-timing-function", 3111 name: "-webkit-transition-timing-function",
3106 alias_for: "transition-timing-function", 3112 alias_for: "transition-timing-function",
3107 }, 3113 },
3108 { 3114 {
3109 name: "-webkit-user-select", 3115 name: "-webkit-user-select",
3110 alias_for: "user-select", 3116 alias_for: "user-select",
3111 }, 3117 },
3112 ], 3118 ],
3113 } 3119 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698