2015-05-03 22:32:37 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2014-06-20 06:01:40 +04:00
|
|
|
/* 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/. */
|
|
|
|
|
|
|
|
#ifndef mozilla_dom_NameSpaceConstants_h__
|
|
|
|
#define mozilla_dom_NameSpaceConstants_h__
|
|
|
|
|
2018-04-16 16:18:48 +03:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2014-06-20 06:01:40 +04:00
|
|
|
#define kNameSpaceID_Unknown -1
|
|
|
|
// 0 is special at C++, so use a static const int32_t for
|
|
|
|
// kNameSpaceID_None to keep if from being cast to pointers
|
|
|
|
// Note that the XBL cache assumes (and asserts) that it can treat a
|
2017-07-06 15:00:35 +03:00
|
|
|
// single-byte value higher than kNameSpaceID_LastBuiltin specially.
|
2014-06-20 06:01:40 +04:00
|
|
|
static const int32_t kNameSpaceID_None = 0;
|
|
|
|
#define kNameSpaceID_XMLNS \
|
|
|
|
1 // not really a namespace, but it needs to play the game
|
|
|
|
#define kNameSpaceID_XML 2
|
|
|
|
#define kNameSpaceID_XHTML 3
|
|
|
|
#define kNameSpaceID_XLink 4
|
|
|
|
#define kNameSpaceID_XSLT 5
|
2020-01-08 07:44:33 +03:00
|
|
|
#define kNameSpaceID_MathML 6
|
|
|
|
#define kNameSpaceID_RDF 7
|
|
|
|
#define kNameSpaceID_XUL 8
|
|
|
|
#define kNameSpaceID_SVG 9
|
|
|
|
#define kNameSpaceID_disabled_MathML 10
|
|
|
|
#define kNameSpaceID_disabled_SVG 11
|
|
|
|
#define kNameSpaceID_LastBuiltin 11 // last 'built-in' namespace
|
2014-06-20 06:01:40 +04:00
|
|
|
|
|
|
|
#endif // mozilla_dom_NameSpaceConstants_h__
|