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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 PseudoWebKitCustomElement, | 214 PseudoWebKitCustomElement, |
215 PseudoCue, | 215 PseudoCue, |
216 PseudoFutureCue, | 216 PseudoFutureCue, |
217 PseudoPastCue, | 217 PseudoPastCue, |
218 PseudoDistributed, | 218 PseudoDistributed, |
219 PseudoUnresolved, | 219 PseudoUnresolved, |
220 PseudoHost, | 220 PseudoHost, |
221 PseudoAncestor | 221 PseudoAncestor |
222 }; | 222 }; |
223 | 223 |
| 224 enum OptionalPseudoTypeRequirements { |
| 225 // 0 is used to mean "no requirements". |
| 226 RequiresShadowDOM = 1 |
| 227 }; |
| 228 |
224 enum MarginBoxType { | 229 enum MarginBoxType { |
225 TopLeftCornerMarginBox, | 230 TopLeftCornerMarginBox, |
226 TopLeftMarginBox, | 231 TopLeftMarginBox, |
227 TopCenterMarginBox, | 232 TopCenterMarginBox, |
228 TopRightMarginBox, | 233 TopRightMarginBox, |
229 TopRightCornerMarginBox, | 234 TopRightCornerMarginBox, |
230 BottomLeftCornerMarginBox, | 235 BottomLeftCornerMarginBox, |
231 BottomLeftMarginBox, | 236 BottomLeftMarginBox, |
232 BottomCenterMarginBox, | 237 BottomCenterMarginBox, |
233 BottomRightMarginBox, | 238 BottomRightMarginBox, |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 if (m_hasRareData) | 514 if (m_hasRareData) |
510 return m_data.m_rareData->m_value; | 515 return m_data.m_rareData->m_value; |
511 // AtomicString is really just a StringImpl* so the cast below is safe. | 516 // AtomicString is really just a StringImpl* so the cast below is safe. |
512 // FIXME: Perhaps call sites could be changed to accept StringImpl? | 517 // FIXME: Perhaps call sites could be changed to accept StringImpl? |
513 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); | 518 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); |
514 } | 519 } |
515 | 520 |
516 } // namespace WebCore | 521 } // namespace WebCore |
517 | 522 |
518 #endif // CSSSelector_h | 523 #endif // CSSSelector_h |
OLD | NEW |