Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 { | |
| 2 // This file specifies the unit strings used in CSSPrimitiveValues. | |
| 3 | |
| 4 parameters: { | |
| 5 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
| |
| 6 }, | |
| 7 | |
| 8 data: [ | |
| 9 { | |
| 10 name: "em", | |
| 11 unit_type: "Ems", | |
| 12 }, | |
| 13 { | |
| 14 name: "ex", | |
| 15 unit_type: "Exs", | |
| 16 }, | |
| 17 { | |
| 18 name: "px", | |
| 19 unit_type: "Pixels", | |
| 20 }, | |
| 21 { | |
| 22 name: "cm", | |
| 23 unit_type: "Centimeters", | |
| 24 }, | |
| 25 { | |
| 26 name: "mm", | |
| 27 unit_type: "Millimeters", | |
| 28 }, | |
| 29 { | |
| 30 name: "in", | |
| 31 unit_type: "Inches", | |
| 32 }, | |
| 33 { | |
| 34 name: "pt", | |
| 35 unit_type: "Points", | |
| 36 }, | |
| 37 { | |
| 38 name: "pc", | |
| 39 unit_type: "Picas", | |
| 40 }, | |
| 41 { | |
| 42 name: "deg", | |
| 43 unit_type: "Degrees", | |
| 44 }, | |
| 45 { | |
| 46 name: "rad", | |
| 47 unit_type: "Radians", | |
| 48 }, | |
| 49 { | |
| 50 name: "grad", | |
| 51 unit_type: "Gradians", | |
| 52 }, | |
| 53 { | |
| 54 name: "ms", | |
| 55 unit_type: "Milliseconds", | |
| 56 }, | |
| 57 { | |
| 58 name: "s", | |
| 59 unit_type: "Seconds", | |
| 60 }, | |
| 61 { | |
| 62 name: "hz", | |
| 63 unit_type: "Hertz", | |
| 64 }, | |
| 65 { | |
| 66 name: "khz", | |
| 67 unit_type: "Kilohertz", | |
| 68 }, | |
| 69 { | |
| 70 name: "dpi", | |
| 71 unit_type: "DotsPerInch", | |
| 72 }, | |
| 73 { | |
| 74 name: "dpcm", | |
| 75 unit_type: "DotsPerCentimeter", | |
| 76 }, | |
| 77 { | |
| 78 name: "dppx", | |
| 79 unit_type: "DotsPerPixel", | |
| 80 }, | |
| 81 { | |
| 82 name: "vw", | |
| 83 unit_type: "ViewportWidth", | |
| 84 }, | |
| 85 { | |
| 86 name: "vh", | |
| 87 unit_type: "ViewportHeight", | |
| 88 }, | |
| 89 { | |
| 90 name: "vmin", | |
| 91 unit_type: "ViewportMin", | |
| 92 }, | |
| 93 { | |
| 94 name: "vmax", | |
| 95 unit_type: "ViewportMax", | |
| 96 }, | |
| 97 { | |
| 98 name: "rem", | |
| 99 unit_type: "Rems", | |
| 100 }, | |
| 101 { | |
| 102 name: "fr", | |
| 103 unit_type: "Fraction", | |
| 104 }, | |
| 105 { | |
| 106 name: "turn", | |
| 107 unit_type: "Turns", | |
| 108 }, | |
| 109 { | |
| 110 name: "ch", | |
| 111 unit_type: "Chs", | |
| 112 }, | |
| 113 { | |
| 114 name: "__qem", | |
| 115 unit_type: "QuirkyEms", | |
| 116 }, | |
| 117 ], | |
| 118 } | |
| OLD | NEW |