2020-04-17 06:33:16 -04:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2018-01-19 03:59:58 +08: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/. */
|
|
|
|
|
|
2020-04-17 06:33:16 -04:00
|
|
|
#ifndef nsElementTable_h
|
|
|
|
|
#define nsElementTable_h
|
2018-01-19 03:59:58 +08:00
|
|
|
|
|
|
|
|
#include "nsHTMLTags.h"
|
|
|
|
|
|
2020-04-17 06:14:58 -04:00
|
|
|
#ifdef DEBUG
|
2020-04-17 06:33:16 -04:00
|
|
|
void CheckElementTable();
|
2020-04-17 06:14:58 -04:00
|
|
|
#endif
|
2018-01-19 03:59:58 +08:00
|
|
|
|
2020-04-17 06:33:16 -04:00
|
|
|
struct nsHTMLElement
|
|
|
|
|
{
|
|
|
|
|
static bool IsContainer(nsHTMLTag aTag);
|
|
|
|
|
static bool IsBlock(nsHTMLTag aTag);
|
2020-04-17 06:14:58 -04:00
|
|
|
};
|
2018-01-19 03:59:58 +08:00
|
|
|
|
2020-04-17 06:33:16 -04:00
|
|
|
#endif // nsElementTable_h
|