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

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

Issue 2147863002: HTMLConstructionSite::m_{head,form} Add reference to the HTML spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 void executeTask(HTMLConstructionSiteTask&); 244 void executeTask(HTMLConstructionSiteTask&);
245 void queueTask(const HTMLConstructionSiteTask&); 245 void queueTask(const HTMLConstructionSiteTask&);
246 246
247 Member<Document> m_document; 247 Member<Document> m_document;
248 248
249 // This is the root ContainerNode to which the parser attaches all newly 249 // This is the root ContainerNode to which the parser attaches all newly
250 // constructed nodes. It points to a DocumentFragment when parsing fragments 250 // constructed nodes. It points to a DocumentFragment when parsing fragments
251 // and a Document in all other cases. 251 // and a Document in all other cases.
252 Member<ContainerNode> m_attachmentRoot; 252 Member<ContainerNode> m_attachmentRoot;
253 253
254 // https://html.spec.whatwg.org/multipage/syntax.html#head-element-pointer
254 Member<HTMLStackItem> m_head; 255 Member<HTMLStackItem> m_head;
256 // https://html.spec.whatwg.org/multipage/syntax.html#form-element-pointer
255 Member<HTMLFormElement> m_form; 257 Member<HTMLFormElement> m_form;
256 mutable HTMLElementStack m_openElements; 258 mutable HTMLElementStack m_openElements;
257 mutable HTMLFormattingElementList m_activeFormattingElements; 259 mutable HTMLFormattingElementList m_activeFormattingElements;
258 260
259 TaskQueue m_taskQueue; 261 TaskQueue m_taskQueue;
260 262
261 class PendingText final { 263 class PendingText final {
262 DISALLOW_NEW(); 264 DISALLOW_NEW();
263 public: 265 public:
264 PendingText() 266 PendingText()
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 // "whenever a node would be inserted into the current node, it must instead 319 // "whenever a node would be inserted into the current node, it must instead
318 // be foster parented." This flag tracks whether we're in that state. 320 // be foster parented." This flag tracks whether we're in that state.
319 bool m_redirectAttachToFosterParent; 321 bool m_redirectAttachToFosterParent;
320 322
321 bool m_inQuirksMode; 323 bool m_inQuirksMode;
322 }; 324 };
323 325
324 } // namespace blink 326 } // namespace blink
325 327
326 #endif 328 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698