| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |