chromium/third_party/blink/renderer/core/css/css_primitive_value_units.json5

{
  // This file specifies the unit strings used in CSSPrimitiveValues.

  parameters: {
    unit_type: {},
  },

  data: [
    {
      name: "em",
      unit_type: "kEms",
    },
    {
      name: "ex",
      unit_type: "kExs",
    },
    {
      name: "px",
      unit_type: "kPixels",
    },
    {
      name: "cm",
      unit_type: "kCentimeters",
    },
    {
      name: "mm",
      unit_type: "kMillimeters",
    },
    {
      name: "q",
      unit_type: "kQuarterMillimeters",
    },
    {
      name: "in",
      unit_type: "kInches",
    },
    {
      name: "pt",
      unit_type: "kPoints",
    },
    {
      name: "pc",
      unit_type: "kPicas",
    },
    {
      name: "deg",
      unit_type: "kDegrees",
    },
    {
      name: "rad",
      unit_type: "kRadians",
    },
    {
      name: "grad",
      unit_type: "kGradians",
    },
    {
      name: "ms",
      unit_type: "kMilliseconds",
    },
    {
      name: "s",
      unit_type: "kSeconds",
    },
    {
      name: "hz",
      unit_type: "kHertz",
    },
    {
      name: "khz",
      unit_type: "kKilohertz",
    },
    {
      name: "dpi",
      unit_type: "kDotsPerInch",
    },
    {
      name: "dpcm",
      unit_type: "kDotsPerCentimeter",
    },
    {
      name: "dppx",
      unit_type: "kDotsPerPixel",
    },
    {
      name: "x",
      unit_type: "kX",
    },
    {
      name: "vw",
      unit_type: "kViewportWidth",
    },
    {
      name: "vh",
      unit_type: "kViewportHeight",
    },
    {
      name: "vi",
      unit_type: "kViewportInlineSize",
    },
    {
      name: "vb",
      unit_type: "kViewportBlockSize",
    },
    {
      name: "vmin",
      unit_type: "kViewportMin",
    },
    {
      name: "vmax",
      unit_type: "kViewportMax",
    },
    {
      name: "svw",
      unit_type: "kSmallViewportWidth",
    },
    {
      name: "svh",
      unit_type: "kSmallViewportHeight",
    },
    {
      name: "svi",
      unit_type: "kSmallViewportInlineSize",
    },
    {
      name: "svb",
      unit_type: "kSmallViewportBlockSize",
    },
    {
      name: "svmin",
      unit_type: "kSmallViewportMin",
    },
    {
      name: "svmax",
      unit_type: "kSmallViewportMax",
    },
    {
      name: "lvw",
      unit_type: "kLargeViewportWidth",
    },
    {
      name: "lvh",
      unit_type: "kLargeViewportHeight",
    },
    {
      name: "lvi",
      unit_type: "kLargeViewportInlineSize",
    },
    {
      name: "lvb",
      unit_type: "kLargeViewportBlockSize",
    },
    {
      name: "lvmin",
      unit_type: "kLargeViewportMin",
    },
    {
      name: "lvmax",
      unit_type: "kLargeViewportMax",
    },
    {
      name: "dvw",
      unit_type: "kDynamicViewportWidth",
    },
    {
      name: "dvh",
      unit_type: "kDynamicViewportHeight",
    },
    {
      name: "dvi",
      unit_type: "kDynamicViewportInlineSize",
    },
    {
      name: "dvb",
      unit_type: "kDynamicViewportBlockSize",
    },
    {
      name: "dvmin",
      unit_type: "kDynamicViewportMin",
    },
    {
      name: "dvmax",
      unit_type: "kDynamicViewportMax",
    },
    {
      name: "cqw",
      unit_type: "kContainerWidth",
    },
    {
      name: "cqh",
      unit_type: "kContainerHeight",
    },
    {
      name: "cqi",
      unit_type: "kContainerInlineSize",
    },
    {
      name: "cqb",
      unit_type: "kContainerBlockSize",
    },
    {
      name: "cqmin",
      unit_type: "kContainerMin",
    },
    {
      name: "cqmax",
      unit_type: "kContainerMax",
    },
    {
      name: "rem",
      unit_type: "kRems",
    },
    {
      name: "rex",
      unit_type: "kRexs",
    },
    {
      name: "rch",
      unit_type: "kRchs",
    },
    {
      name: "ric",
      unit_type: "kRics",
    },
    {
      name: "fr",
      unit_type: "kFlex",
    },
    {
      name: "turn",
      unit_type: "kTurns",
    },
    {
      name: "ch",
      unit_type: "kChs",
    },
    {
      name: "ic",
      unit_type: "kIcs",
    },
    {
      name: "lh",
      unit_type: "kLhs",
    },
    {
      name: "rlh",
      unit_type: "kRlhs",
    },
    {
      name: "cap",
      unit_type: "kCaps",
    },
    {
      name: "rcap",
      unit_type: "kRcaps",
    },
    {
      name: "__qem",
      unit_type: "kQuirkyEms",
    },
  ],
}