Bug 1936278 - Prevent search mode chiclet from being dismissed when clicking in page...
[gecko.git] / dom / svg / SVGLengthUnits.h
blob4d805b37c2faeafc726ce88519a860a7da1b8f93
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 // NOTE: No include guard. This is meant to be included to generate different
7 // code based on how SVG_LENGTH_UNIT is defined, possibly multiple times
8 // in a single translation unit.
10 /* clang-format off */
12 SVG_LENGTH_EMPTY_UNIT(SVG_LENGTHTYPE_NUMBER, nsCSSUnit::eCSSUnit_Pixel)
13 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_PX, "px", nsCSSUnit::eCSSUnit_Pixel)
14 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_PERCENTAGE, "%", nsCSSUnit::eCSSUnit_Percent)
15 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_MM, "mm", nsCSSUnit::eCSSUnit_Millimeter)
16 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_CM, "cm", nsCSSUnit::eCSSUnit_Centimeter)
17 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_IN, "in", nsCSSUnit::eCSSUnit_Inch)
18 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_PT, "pt", nsCSSUnit::eCSSUnit_Point)
19 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_PC, "pc", nsCSSUnit::eCSSUnit_Pica)
20 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_EMS, "em", nsCSSUnit::eCSSUnit_EM)
21 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_EXS, "ex", nsCSSUnit::eCSSUnit_XHeight)
22 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_Q, "q", nsCSSUnit::eCSSUnit_Quarter)
23 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_CH, "ch", nsCSSUnit::eCSSUnit_Char)
24 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_REM, "rem", nsCSSUnit::eCSSUnit_RootEM)
25 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_IC, "ic", nsCSSUnit::eCSSUnit_Ideographic)
26 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_CAP, "cap", nsCSSUnit::eCSSUnit_CapHeight)
27 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_VW, "vw", nsCSSUnit::eCSSUnit_VW)
28 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_VH, "vh", nsCSSUnit::eCSSUnit_VH)
29 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_VMIN, "vmin", nsCSSUnit::eCSSUnit_VMin)
30 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_VMAX, "vmax", nsCSSUnit::eCSSUnit_VMax)
31 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_LH, "lh", nsCSSUnit::eCSSUnit_LineHeight)
32 SVG_LENGTH_UNIT(SVG_LENGTHTYPE_RLH, "rlh", nsCSSUnit::eCSSUnit_RootLineHeight)