|
1 /* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 8; -*- */ |
|
2 /* vim: set sw=2 sts=2 ts=8 et tw=80 : */ |
|
3 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
4 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 |
|
7 #ifndef nsIContentInlines_h |
|
8 #define nsIContentInlines_h |
|
9 |
|
10 #include "nsIContent.h" |
|
11 #include "nsIDocument.h" |
|
12 |
|
13 inline bool |
|
14 nsIContent::IsInHTMLDocument() const |
|
15 { |
|
16 return OwnerDoc()->IsHTML(); |
|
17 } |
|
18 |
|
19 #endif // nsIContentInlines_h |