Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLStackItem.h

Issue 2819773002: Change <menuitem> parsing rules to match spec (Closed)
Patch Set: Fix affected layout test Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 tag_name == HTMLNames::framesetTag || IsNumberedHeaderElement() || 153 tag_name == HTMLNames::framesetTag || IsNumberedHeaderElement() ||
154 tag_name == HTMLNames::headTag || tag_name == HTMLNames::headerTag || 154 tag_name == HTMLNames::headTag || tag_name == HTMLNames::headerTag ||
155 tag_name == HTMLNames::hgroupTag || tag_name == HTMLNames::hrTag || 155 tag_name == HTMLNames::hgroupTag || tag_name == HTMLNames::hrTag ||
156 tag_name == HTMLNames::htmlTag || tag_name == HTMLNames::iframeTag || 156 tag_name == HTMLNames::htmlTag || tag_name == HTMLNames::iframeTag ||
157 tag_name == HTMLNames::imgTag || tag_name == HTMLNames::inputTag || 157 tag_name == HTMLNames::imgTag || tag_name == HTMLNames::inputTag ||
158 tag_name == HTMLNames::liTag || tag_name == HTMLNames::linkTag || 158 tag_name == HTMLNames::liTag || tag_name == HTMLNames::linkTag ||
159 tag_name == HTMLNames::listingTag || 159 tag_name == HTMLNames::listingTag ||
160 tag_name == HTMLNames::mainTag || 160 tag_name == HTMLNames::mainTag ||
161 tag_name == HTMLNames::marqueeTag || 161 tag_name == HTMLNames::marqueeTag ||
162 tag_name == HTMLNames::menuTag || 162 tag_name == HTMLNames::menuTag ||
163 (RuntimeEnabledFeatures::contextMenuEnabled() &&
164 tag_name == HTMLNames::menuitemTag) ||
165 tag_name == HTMLNames::metaTag || tag_name == HTMLNames::navTag || 163 tag_name == HTMLNames::metaTag || tag_name == HTMLNames::navTag ||
166 tag_name == HTMLNames::noembedTag || 164 tag_name == HTMLNames::noembedTag ||
167 tag_name == HTMLNames::noframesTag || 165 tag_name == HTMLNames::noframesTag ||
168 tag_name == HTMLNames::noscriptTag || 166 tag_name == HTMLNames::noscriptTag ||
169 tag_name == HTMLNames::objectTag || tag_name == HTMLNames::olTag || 167 tag_name == HTMLNames::objectTag || tag_name == HTMLNames::olTag ||
170 tag_name == HTMLNames::pTag || tag_name == HTMLNames::paramTag || 168 tag_name == HTMLNames::pTag || tag_name == HTMLNames::paramTag ||
171 tag_name == HTMLNames::plaintextTag || 169 tag_name == HTMLNames::plaintextTag ||
172 tag_name == HTMLNames::preTag || tag_name == HTMLNames::scriptTag || 170 tag_name == HTMLNames::preTag || tag_name == HTMLNames::scriptTag ||
173 tag_name == HTMLNames::sectionTag || 171 tag_name == HTMLNames::sectionTag ||
174 tag_name == HTMLNames::selectTag || 172 tag_name == HTMLNames::selectTag ||
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 210
213 AtomicString token_local_name_; 211 AtomicString token_local_name_;
214 Vector<Attribute> token_attributes_; 212 Vector<Attribute> token_attributes_;
215 AtomicString namespace_uri_; 213 AtomicString namespace_uri_;
216 bool is_document_fragment_node_; 214 bool is_document_fragment_node_;
217 }; 215 };
218 216
219 } // namespace blink 217 } // namespace blink
220 218
221 #endif // HTMLStackItem_h 219 #endif // HTMLStackItem_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.cpp ('k') | third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698