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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValueUnits.json5

Issue 2659283002: Convert CSSPrimitiveValueUnits.in to json5 format (Closed)
Patch Set: add deprecation notice to in_generator.py Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
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: {},
+ },
+
+ 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",
+ },
+ ],
+}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValueUnits.in ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698