OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
11 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
12 * | 12 * |
13 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 * Library General Public License for more details. | 16 * Library General Public License for more details. |
17 * | 17 * |
18 * You should have received a copy of the GNU Library General Public License | 18 * You should have received a copy of the GNU Library General Public License |
19 * along with this library; see the file COPYING.LIB. If not, write to | 19 * along with this library; see the file COPYING.LIB. If not, write to |
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 #include "core/html/HTMLElement.h" | 26 #include "core/html/HTMLElement.h" |
27 | 27 |
28 #include "CSSPropertyNames.h" | 28 #include "CSSPropertyNames.h" |
29 #include "CSSValueKeywords.h" | 29 #include "CSSValueKeywords.h" |
30 #include "HTMLElementFactory.h" | |
31 #include "HTMLNames.h" | 30 #include "HTMLNames.h" |
32 #include "XMLNames.h" | 31 #include "XMLNames.h" |
33 #include "bindings/v8/ScriptController.h" | 32 #include "bindings/v8/ScriptController.h" |
34 #include "bindings/v8/ScriptEventListener.h" | 33 #include "bindings/v8/ScriptEventListener.h" |
35 #include "core/css/CSSParser.h" | 34 #include "core/css/CSSParser.h" |
36 #include "core/css/CSSValuePool.h" | 35 #include "core/css/CSSValuePool.h" |
37 #include "core/css/StylePropertySet.h" | 36 #include "core/css/StylePropertySet.h" |
38 #include "core/dom/Attribute.h" | |
39 #include "core/dom/DocumentFragment.h" | 37 #include "core/dom/DocumentFragment.h" |
40 #include "core/dom/Event.h" | |
41 #include "core/dom/EventListener.h" | 38 #include "core/dom/EventListener.h" |
42 #include "core/dom/EventNames.h" | 39 #include "core/dom/EventNames.h" |
43 #include "core/dom/ExceptionCode.h" | 40 #include "core/dom/ExceptionCode.h" |
44 #include "core/dom/NodeTraversal.h" | 41 #include "core/dom/NodeTraversal.h" |
45 #include "core/dom/Text.h" | 42 #include "core/dom/Text.h" |
46 #include "core/editing/TextIterator.h" | |
47 #include "core/editing/markup.h" | 43 #include "core/editing/markup.h" |
48 #include "core/html/DOMSettableTokenList.h" | |
49 #include "core/html/HTMLBRElement.h" | 44 #include "core/html/HTMLBRElement.h" |
50 #include "core/html/HTMLCollection.h" | |
51 #include "core/html/HTMLDocument.h" | |
52 #include "core/html/HTMLFormElement.h" | 45 #include "core/html/HTMLFormElement.h" |
53 #include "core/html/HTMLTemplateElement.h" | 46 #include "core/html/HTMLTemplateElement.h" |
54 #include "core/html/HTMLTextFormControlElement.h" | 47 #include "core/html/HTMLTextFormControlElement.h" |
55 #include "core/html/parser/HTMLParserIdioms.h" | 48 #include "core/html/parser/HTMLParserIdioms.h" |
56 #include "core/loader/FrameLoader.h" | 49 #include "core/loader/FrameLoader.h" |
57 #include "core/page/Frame.h" | 50 #include "core/page/Frame.h" |
58 #include "core/page/Settings.h" | |
59 #include "core/rendering/RenderWordBreak.h" | 51 #include "core/rendering/RenderWordBreak.h" |
60 #include <wtf/StdLibExtras.h> | 52 #include <wtf/StdLibExtras.h> |
61 #include <wtf/text/CString.h> | 53 #include <wtf/text/CString.h> |
62 | 54 |
63 namespace WebCore { | 55 namespace WebCore { |
64 | 56 |
65 using namespace HTMLNames; | 57 using namespace HTMLNames; |
66 using namespace WTF; | 58 using namespace WTF; |
67 | 59 |
68 using std::min; | 60 using std::min; |
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 #ifndef NDEBUG | 1031 #ifndef NDEBUG |
1040 | 1032 |
1041 // For use in the debugger | 1033 // For use in the debugger |
1042 void dumpInnerHTML(WebCore::HTMLElement*); | 1034 void dumpInnerHTML(WebCore::HTMLElement*); |
1043 | 1035 |
1044 void dumpInnerHTML(WebCore::HTMLElement* element) | 1036 void dumpInnerHTML(WebCore::HTMLElement* element) |
1045 { | 1037 { |
1046 printf("%s\n", element->innerHTML().ascii().data()); | 1038 printf("%s\n", element->innerHTML().ascii().data()); |
1047 } | 1039 } |
1048 #endif | 1040 #endif |
OLD | NEW |