summaryrefslogtreecommitdiffstats
path: root/layout/style/nsCSSPropsGenerated.inc.in
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/nsCSSPropsGenerated.inc.in')
-rw-r--r--layout/style/nsCSSPropsGenerated.inc.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/style/nsCSSPropsGenerated.inc.in b/layout/style/nsCSSPropsGenerated.inc.in
new file mode 100644
index 000000000..572342c93
--- /dev/null
+++ b/layout/style/nsCSSPropsGenerated.inc.in
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/* processed file that defines CSS property tables that can't be generated
+ with the pre-processor, designed to be #included in nsCSSProps.cpp */
+
+const char* const nsCSSProps::kIDLNameTable[eCSSProperty_COUNT] = {
+${idl_names}
+};
+
+const int32_t nsCSSProps::kIDLNameSortPositionTable[eCSSProperty_COUNT] = {
+${idl_name_positions}
+};
+
+${assertions}