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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 Operation operation; | 64 Operation operation; |
65 RefPtr<ContainerNode> parent; | 65 RefPtr<ContainerNode> parent; |
66 RefPtr<Node> nextChild; | 66 RefPtr<Node> nextChild; |
67 RefPtr<Node> child; | 67 RefPtr<Node> child; |
68 bool selfClosing; | 68 bool selfClosing; |
69 }; | 69 }; |
70 | 70 |
71 } // namespace WebCore | 71 } // namespace WebCore |
72 | 72 |
73 namespace WTF { | 73 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(WebCore::HTMLConstructionSite
Task); |
74 template<> struct VectorTraits<WebCore::HTMLConstructionSiteTask> : SimpleClassV
ectorTraits<WebCore::HTMLConstructionSiteTask> { }; | |
75 } // namespace WTF | |
76 | 74 |
77 namespace WebCore { | 75 namespace WebCore { |
78 | 76 |
79 // Note: These are intentionally ordered so that when we concatonate | 77 // Note: These are intentionally ordered so that when we concatonate |
80 // strings and whitespaces the resulting whitespace is ws = min(ws1, ws2). | 78 // strings and whitespaces the resulting whitespace is ws = min(ws1, ws2). |
81 enum WhitespaceMode { | 79 enum WhitespaceMode { |
82 WhitespaceUnknown, | 80 WhitespaceUnknown, |
83 NotAllWhitespace, | 81 NotAllWhitespace, |
84 AllWhitespace, | 82 AllWhitespace, |
85 }; | 83 }; |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 // "whenever a node would be inserted into the current node, it must instead | 291 // "whenever a node would be inserted into the current node, it must instead |
294 // be foster parented." This flag tracks whether we're in that state. | 292 // be foster parented." This flag tracks whether we're in that state. |
295 bool m_redirectAttachToFosterParent; | 293 bool m_redirectAttachToFosterParent; |
296 | 294 |
297 bool m_inQuirksMode; | 295 bool m_inQuirksMode; |
298 }; | 296 }; |
299 | 297 |
300 } // namespace WebCore | 298 } // namespace WebCore |
301 | 299 |
302 #endif | 300 #endif |
OLD | NEW |