Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/CSSPrimitiveValueUnits.json5 |
| diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValueUnits.json5 b/third_party/WebKit/Source/core/css/CSSPrimitiveValueUnits.json5 |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a83d9399b3a267a8a9db368ffb733cbb35a19264 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueUnits.json5 |
| @@ -0,0 +1,118 @@ |
| +{ |
| + // This file specifies the unit strings used in CSSPrimitiveValues. |
| + |
| + parameters: { |
| + unit_type: {}, |
|
sashab
2017/02/10 01:20:17
default: None (from py file)
ktyliu
2017/02/10 02:13:31
default of None is actually the implied default be
|
| + }, |
| + |
| + data: [ |
| + { |
| + name: "em", |
| + unit_type: "Ems", |
| + }, |
| + { |
| + name: "ex", |
| + unit_type: "Exs", |
| + }, |
| + { |
| + name: "px", |
| + unit_type: "Pixels", |
| + }, |
| + { |
| + name: "cm", |
| + unit_type: "Centimeters", |
| + }, |
| + { |
| + name: "mm", |
| + unit_type: "Millimeters", |
| + }, |
| + { |
| + name: "in", |
| + unit_type: "Inches", |
| + }, |
| + { |
| + name: "pt", |
| + unit_type: "Points", |
| + }, |
| + { |
| + name: "pc", |
| + unit_type: "Picas", |
| + }, |
| + { |
| + name: "deg", |
| + unit_type: "Degrees", |
| + }, |
| + { |
| + name: "rad", |
| + unit_type: "Radians", |
| + }, |
| + { |
| + name: "grad", |
| + unit_type: "Gradians", |
| + }, |
| + { |
| + name: "ms", |
| + unit_type: "Milliseconds", |
| + }, |
| + { |
| + name: "s", |
| + unit_type: "Seconds", |
| + }, |
| + { |
| + name: "hz", |
| + unit_type: "Hertz", |
| + }, |
| + { |
| + name: "khz", |
| + unit_type: "Kilohertz", |
| + }, |
| + { |
| + name: "dpi", |
| + unit_type: "DotsPerInch", |
| + }, |
| + { |
| + name: "dpcm", |
| + unit_type: "DotsPerCentimeter", |
| + }, |
| + { |
| + name: "dppx", |
| + unit_type: "DotsPerPixel", |
| + }, |
| + { |
| + name: "vw", |
| + unit_type: "ViewportWidth", |
| + }, |
| + { |
| + name: "vh", |
| + unit_type: "ViewportHeight", |
| + }, |
| + { |
| + name: "vmin", |
| + unit_type: "ViewportMin", |
| + }, |
| + { |
| + name: "vmax", |
| + unit_type: "ViewportMax", |
| + }, |
| + { |
| + name: "rem", |
| + unit_type: "Rems", |
| + }, |
| + { |
| + name: "fr", |
| + unit_type: "Fraction", |
| + }, |
| + { |
| + name: "turn", |
| + unit_type: "Turns", |
| + }, |
| + { |
| + name: "ch", |
| + unit_type: "Chs", |
| + }, |
| + { |
| + name: "__qem", |
| + unit_type: "QuirkyEms", |
| + }, |
| + ], |
| +} |