| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 HTMLStackItem* contextElementStackItem() const { ASSERT(m_fragment); ret
urn m_contextElementStackItem.get(); } | 207 HTMLStackItem* contextElementStackItem() const { ASSERT(m_fragment); ret
urn m_contextElementStackItem.get(); } |
| 208 | 208 |
| 209 void trace(Visitor*); | 209 void trace(Visitor*); |
| 210 | 210 |
| 211 private: | 211 private: |
| 212 RawPtrWillBeMember<DocumentFragment> m_fragment; | 212 RawPtrWillBeMember<DocumentFragment> m_fragment; |
| 213 RefPtrWillBeMember<HTMLStackItem> m_contextElementStackItem; | 213 RefPtrWillBeMember<HTMLStackItem> m_contextElementStackItem; |
| 214 }; | 214 }; |
| 215 | 215 |
| 216 bool m_framesetOk; | 216 bool m_framesetOk; |
| 217 #ifndef NDEBUG | 217 #if ENABLE(ASSERT) |
| 218 bool m_isAttached; | 218 bool m_isAttached; |
| 219 #endif | 219 #endif |
| 220 FragmentParsingContext m_fragmentContext; | 220 FragmentParsingContext m_fragmentContext; |
| 221 HTMLConstructionSite m_tree; | 221 HTMLConstructionSite m_tree; |
| 222 | 222 |
| 223 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#
insertion-mode | 223 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#
insertion-mode |
| 224 InsertionMode m_insertionMode; | 224 InsertionMode m_insertionMode; |
| 225 | 225 |
| 226 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#
original-insertion-mode | 226 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#
original-insertion-mode |
| 227 InsertionMode m_originalInsertionMode; | 227 InsertionMode m_originalInsertionMode; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 239 | 239 |
| 240 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p
rocessing before resuming the parser. | 240 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p
rocessing before resuming the parser. |
| 241 TextPosition m_scriptToProcessStartPosition; // Starting line number of the
script tag needing processing. | 241 TextPosition m_scriptToProcessStartPosition; // Starting line number of the
script tag needing processing. |
| 242 | 242 |
| 243 HTMLParserOptions m_options; | 243 HTMLParserOptions m_options; |
| 244 }; | 244 }; |
| 245 | 245 |
| 246 } | 246 } |
| 247 | 247 |
| 248 #endif | 248 #endif |
| OLD | NEW |