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

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

Issue 2731953004: Implemented the CSSPropertyAPI for the font-family property. (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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 custom_value: true, 329 custom_value: true,
330 field_type_path: "platform/text/TextDirection", 330 field_type_path: "platform/text/TextDirection",
331 inherited: true, 331 inherited: true,
332 initial_keyword: "ltr", 332 initial_keyword: "ltr",
333 field_template: "keyword", 333 field_template: "keyword",
334 keywords: ["ltr", "rtl"], 334 keywords: ["ltr", "rtl"],
335 priority: "High", 335 priority: "High",
336 }, 336 },
337 { 337 {
338 name: "font-family", 338 name: "font-family",
339 api_class: true,
340 api_methods: ["parseSingleValue"],
339 converter: "convertFontFamily", 341 converter: "convertFontFamily",
340 font: true, 342 font: true,
341 inherited: true, 343 inherited: true,
342 name_for_methods: "FamilyDescription", 344 name_for_methods: "FamilyDescription",
343 priority: "High", 345 priority: "High",
344 type_name: "FontDescription::FamilyDescription", 346 type_name: "FontDescription::FamilyDescription",
345 }, 347 },
346 { 348 {
347 name: "font-kerning", 349 name: "font-kerning",
348 font: true, 350 font: true,
(...skipping 2757 matching lines...) Expand 10 before | Expand all | Expand 10 after
3106 { 3108 {
3107 name: "-webkit-transition-timing-function", 3109 name: "-webkit-transition-timing-function",
3108 alias_for: "transition-timing-function", 3110 alias_for: "transition-timing-function",
3109 }, 3111 },
3110 { 3112 {
3111 name: "-webkit-user-select", 3113 name: "-webkit-user-select",
3112 alias_for: "user-select", 3114 alias_for: "user-select",
3113 }, 3115 },
3114 ], 3116 ],
3115 } 3117 }
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