| 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); | 416 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); |
| 417 ShadowRoot* shadowRoot() const; | 417 ShadowRoot* shadowRoot() const; |
| 418 | 418 |
| 419 bool hasAuthorShadowRoot() const { return shadowRoot(); } | 419 bool hasAuthorShadowRoot() const { return shadowRoot(); } |
| 420 | 420 |
| 421 ShadowRoot* userAgentShadowRoot() const; | 421 ShadowRoot* userAgentShadowRoot() const; |
| 422 ShadowRoot* ensureUserAgentShadowRoot(); | 422 ShadowRoot* ensureUserAgentShadowRoot(); |
| 423 | 423 |
| 424 virtual const AtomicString& shadowPseudoId() const; | 424 virtual const AtomicString& shadowPseudoId() const; |
| 425 | 425 |
| 426 void setIsCustomElement(); |
| 427 bool isCustomElement() const; |
| 428 |
| 426 RenderStyle* computedStyle(PseudoId = NOPSEUDO); | 429 RenderStyle* computedStyle(PseudoId = NOPSEUDO); |
| 427 | 430 |
| 428 // Methods for indicating the style is affected by dynamic updates (e.g., ch
ildren changing, our position changing in our sibling list, etc.) | 431 // Methods for indicating the style is affected by dynamic updates (e.g., ch
ildren changing, our position changing in our sibling list, etc.) |
| 429 bool styleAffectedByEmpty() const { return hasRareData() && rareDataStyleAff
ectedByEmpty(); } | 432 bool styleAffectedByEmpty() const { return hasRareData() && rareDataStyleAff
ectedByEmpty(); } |
| 430 bool childrenAffectedByHover() const { return hasRareData() && rareDataChild
renAffectedByHover(); } | 433 bool childrenAffectedByHover() const { return hasRareData() && rareDataChild
renAffectedByHover(); } |
| 431 bool childrenAffectedByActive() const { return hasRareData() && rareDataChil
drenAffectedByActive(); } | 434 bool childrenAffectedByActive() const { return hasRareData() && rareDataChil
drenAffectedByActive(); } |
| 432 bool childrenAffectedByDrag() const { return hasRareData() && rareDataChildr
enAffectedByDrag(); } | 435 bool childrenAffectedByDrag() const { return hasRareData() && rareDataChildr
enAffectedByDrag(); } |
| 433 bool childrenAffectedByPositionalRules() const { return hasRareData() && (ra
reDataChildrenAffectedByForwardPositionalRules() || rareDataChildrenAffectedByBa
ckwardPositionalRules()); } | 436 bool childrenAffectedByPositionalRules() const { return hasRareData() && (ra
reDataChildrenAffectedByForwardPositionalRules() || rareDataChildrenAffectedByBa
ckwardPositionalRules()); } |
| 434 bool childrenAffectedByFirstChildRules() const { return hasRareData() && rar
eDataChildrenAffectedByFirstChildRules(); } | 437 bool childrenAffectedByFirstChildRules() const { return hasRareData() && rar
eDataChildrenAffectedByFirstChildRules(); } |
| 435 bool childrenAffectedByLastChildRules() const { return hasRareData() && rare
DataChildrenAffectedByLastChildRules(); } | 438 bool childrenAffectedByLastChildRules() const { return hasRareData() && rare
DataChildrenAffectedByLastChildRules(); } |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 998 | 1001 |
| 999 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1002 inline const Attribute* ElementData::attributeItem(unsigned index) const |
| 1000 { | 1003 { |
| 1001 RELEASE_ASSERT(index < length()); | 1004 RELEASE_ASSERT(index < length()); |
| 1002 return attributeBase() + index; | 1005 return attributeBase() + index; |
| 1003 } | 1006 } |
| 1004 | 1007 |
| 1005 } // namespace | 1008 } // namespace |
| 1006 | 1009 |
| 1007 #endif | 1010 #endif |
| OLD | NEW |