OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * 1999 Waldo Bastian (bastian@kde.org) | 3 * 1999 Waldo Bastian (bastian@kde.org) |
4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 PseudoOutOfRange, | 158 PseudoOutOfRange, |
159 PseudoUserAgentCustomElement, | 159 PseudoUserAgentCustomElement, |
160 PseudoWebKitCustomElement, | 160 PseudoWebKitCustomElement, |
161 PseudoCue, | 161 PseudoCue, |
162 PseudoFutureCue, | 162 PseudoFutureCue, |
163 PseudoPastCue, | 163 PseudoPastCue, |
164 PseudoSeamlessDocument, | 164 PseudoSeamlessDocument, |
165 PseudoDistributed, | 165 PseudoDistributed, |
166 PseudoUnresolved, | 166 PseudoUnresolved, |
167 PseudoContent, | 167 PseudoContent, |
168 PseudoHost | 168 PseudoHost, |
| 169 PseudoAncestor |
169 }; | 170 }; |
170 | 171 |
171 enum MarginBoxType { | 172 enum MarginBoxType { |
172 TopLeftCornerMarginBox, | 173 TopLeftCornerMarginBox, |
173 TopLeftMarginBox, | 174 TopLeftMarginBox, |
174 TopCenterMarginBox, | 175 TopCenterMarginBox, |
175 TopRightMarginBox, | 176 TopRightMarginBox, |
176 TopRightCornerMarginBox, | 177 TopRightCornerMarginBox, |
177 BottomLeftCornerMarginBox, | 178 BottomLeftCornerMarginBox, |
178 BottomLeftMarginBox, | 179 BottomLeftMarginBox, |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 if (m_hasRareData) | 455 if (m_hasRareData) |
455 return m_data.m_rareData->m_value; | 456 return m_data.m_rareData->m_value; |
456 // AtomicString is really just a StringImpl* so the cast below is safe. | 457 // AtomicString is really just a StringImpl* so the cast below is safe. |
457 // FIXME: Perhaps call sites could be changed to accept StringImpl? | 458 // FIXME: Perhaps call sites could be changed to accept StringImpl? |
458 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); | 459 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); |
459 } | 460 } |
460 | 461 |
461 } // namespace WebCore | 462 } // namespace WebCore |
462 | 463 |
463 #endif // CSSSelector_h | 464 #endif // CSSSelector_h |
OLD | NEW |