OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2012 Company 100, Inc. All rights reserved. | 2 * Copyright (C) 2012 Company 100, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 13 matching lines...) Expand all Loading... | |
24 */ | 24 */ |
25 | 25 |
26 #ifndef HTMLStackItem_h | 26 #ifndef HTMLStackItem_h |
27 #define HTMLStackItem_h | 27 #define HTMLStackItem_h |
28 | 28 |
29 #include "core/HTMLNames.h" | 29 #include "core/HTMLNames.h" |
30 #include "core/MathMLNames.h" | 30 #include "core/MathMLNames.h" |
31 #include "core/SVGNames.h" | 31 #include "core/SVGNames.h" |
32 #include "core/dom/Element.h" | 32 #include "core/dom/Element.h" |
33 #include "core/html/parser/AtomicHTMLToken.h" | 33 #include "core/html/parser/AtomicHTMLToken.h" |
34 #include "platform/RuntimeEnabledFeatures.h" | |
34 #include "wtf/RefCounted.h" | 35 #include "wtf/RefCounted.h" |
35 #include "wtf/RefPtr.h" | 36 #include "wtf/RefPtr.h" |
36 #include "wtf/text/AtomicString.h" | 37 #include "wtf/text/AtomicString.h" |
37 | 38 |
38 namespace blink { | 39 namespace blink { |
39 | 40 |
40 class ContainerNode; | 41 class ContainerNode; |
41 | 42 |
42 class HTMLStackItem : public RefCountedWillBeGarbageCollectedFinalized<HTMLStack Item> { | 43 class HTMLStackItem : public RefCountedWillBeGarbageCollectedFinalized<HTMLStack Item> { |
43 public: | 44 public: |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
171 || tagName == HTMLNames::htmlTag | 172 || tagName == HTMLNames::htmlTag |
172 || tagName == HTMLNames::iframeTag | 173 || tagName == HTMLNames::iframeTag |
173 || tagName == HTMLNames::imgTag | 174 || tagName == HTMLNames::imgTag |
174 || tagName == HTMLNames::inputTag | 175 || tagName == HTMLNames::inputTag |
175 || tagName == HTMLNames::liTag | 176 || tagName == HTMLNames::liTag |
176 || tagName == HTMLNames::linkTag | 177 || tagName == HTMLNames::linkTag |
177 || tagName == HTMLNames::listingTag | 178 || tagName == HTMLNames::listingTag |
178 || tagName == HTMLNames::mainTag | 179 || tagName == HTMLNames::mainTag |
179 || tagName == HTMLNames::marqueeTag | 180 || tagName == HTMLNames::marqueeTag |
180 || tagName == HTMLNames::menuTag | 181 || tagName == HTMLNames::menuTag |
182 || (RuntimeEnabledFeatures::contextMenuEnabled() && tagName == HTMLN ames::menuitemTag) | |
tkent
2014/08/11 10:23:01
Could you explain what part of the specification b
pals
2014/08/11 11:27:20
Specification:
http://www.whatwg.org/specs/web-app
tkent
2014/08/11 13:36:57
Unfortunately URLs are broken. Please write expla
pals
2014/08/11 14:07:08
sorry, I copied the text of my previous comment wh
| |
181 || tagName == HTMLNames::metaTag | 183 || tagName == HTMLNames::metaTag |
182 || tagName == HTMLNames::navTag | 184 || tagName == HTMLNames::navTag |
183 || tagName == HTMLNames::noembedTag | 185 || tagName == HTMLNames::noembedTag |
184 || tagName == HTMLNames::noframesTag | 186 || tagName == HTMLNames::noframesTag |
185 || tagName == HTMLNames::noscriptTag | 187 || tagName == HTMLNames::noscriptTag |
186 || tagName == HTMLNames::objectTag | 188 || tagName == HTMLNames::objectTag |
187 || tagName == HTMLNames::olTag | 189 || tagName == HTMLNames::olTag |
188 || tagName == HTMLNames::pTag | 190 || tagName == HTMLNames::pTag |
189 || tagName == HTMLNames::paramTag | 191 || tagName == HTMLNames::paramTag |
190 || tagName == HTMLNames::plaintextTag | 192 || tagName == HTMLNames::plaintextTag |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
238 | 240 |
239 AtomicString m_tokenLocalName; | 241 AtomicString m_tokenLocalName; |
240 Vector<Attribute> m_tokenAttributes; | 242 Vector<Attribute> m_tokenAttributes; |
241 AtomicString m_namespaceURI; | 243 AtomicString m_namespaceURI; |
242 bool m_isDocumentFragmentNode; | 244 bool m_isDocumentFragmentNode; |
243 }; | 245 }; |
244 | 246 |
245 } // namespace blink | 247 } // namespace blink |
246 | 248 |
247 #endif // HTMLStackItem_h | 249 #endif // HTMLStackItem_h |
OLD | NEW |