OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 | 440 |
441 ElementShadow* shadow() const; | 441 ElementShadow* shadow() const; |
442 ElementShadow* ensureShadow(); | 442 ElementShadow* ensureShadow(); |
443 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionState&); | 443 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionState&); |
444 ShadowRoot* shadowRoot() const; | 444 ShadowRoot* shadowRoot() const; |
445 | 445 |
446 bool hasAuthorShadowRoot() const { return shadowRoot(); } | 446 bool hasAuthorShadowRoot() const { return shadowRoot(); } |
447 | 447 |
448 ShadowRoot* userAgentShadowRoot() const; | 448 ShadowRoot* userAgentShadowRoot() const; |
449 ShadowRoot* ensureUserAgentShadowRoot(); | 449 ShadowRoot* ensureUserAgentShadowRoot(); |
450 virtual bool supportsShadowElementForUserAgentShadow() const; | |
451 virtual const AtomicString& shadowPseudoId() const { return !part().isEmpty(
) ? part() : pseudo(); } | 450 virtual const AtomicString& shadowPseudoId() const { return !part().isEmpty(
) ? part() : pseudo(); } |
452 | 451 |
453 RenderStyle* computedStyle(PseudoId = NOPSEUDO); | 452 RenderStyle* computedStyle(PseudoId = NOPSEUDO); |
454 | 453 |
455 // Methods for indicating the style is affected by dynamic updates (e.g., ch
ildren changing, our position changing in our sibling list, etc.) | 454 // Methods for indicating the style is affected by dynamic updates (e.g., ch
ildren changing, our position changing in our sibling list, etc.) |
456 bool styleAffectedByEmpty() const { return hasRareData() && rareDataStyleAff
ectedByEmpty(); } | 455 bool styleAffectedByEmpty() const { return hasRareData() && rareDataStyleAff
ectedByEmpty(); } |
457 bool childrenAffectedByHover() const { return hasRareData() && rareDataChild
renAffectedByHover(); } | 456 bool childrenAffectedByHover() const { return hasRareData() && rareDataChild
renAffectedByHover(); } |
458 bool childrenAffectedByActive() const { return hasRareData() && rareDataChil
drenAffectedByActive(); } | 457 bool childrenAffectedByActive() const { return hasRareData() && rareDataChil
drenAffectedByActive(); } |
459 bool childrenAffectedByDrag() const { return hasRareData() && rareDataChildr
enAffectedByDrag(); } | 458 bool childrenAffectedByDrag() const { return hasRareData() && rareDataChildr
enAffectedByDrag(); } |
460 bool childrenAffectedByPositionalRules() const { return hasRareData() && (ra
reDataChildrenAffectedByForwardPositionalRules() || rareDataChildrenAffectedByBa
ckwardPositionalRules()); } | 459 bool childrenAffectedByPositionalRules() const { return hasRareData() && (ra
reDataChildrenAffectedByForwardPositionalRules() || rareDataChildrenAffectedByBa
ckwardPositionalRules()); } |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1084 | 1083 |
1085 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1084 inline const Attribute* ElementData::attributeItem(unsigned index) const |
1086 { | 1085 { |
1087 RELEASE_ASSERT(index < length()); | 1086 RELEASE_ASSERT(index < length()); |
1088 return attributeBase() + index; | 1087 return attributeBase() + index; |
1089 } | 1088 } |
1090 | 1089 |
1091 } // namespace | 1090 } // namespace |
1092 | 1091 |
1093 #endif | 1092 #endif |
OLD | NEW |