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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 | 401 |
402 // Clones all attribute-derived data, including subclass specifics (through
copyNonAttributeProperties.) | 402 // Clones all attribute-derived data, including subclass specifics (through
copyNonAttributeProperties.) |
403 void cloneDataFromElement(const Element&); | 403 void cloneDataFromElement(const Element&); |
404 | 404 |
405 bool hasEquivalentAttributes(const Element* other) const; | 405 bool hasEquivalentAttributes(const Element* other) const; |
406 | 406 |
407 virtual void copyNonAttributePropertiesFromElement(const Element&) { } | 407 virtual void copyNonAttributePropertiesFromElement(const Element&) { } |
408 | 408 |
409 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 409 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
410 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 410 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
411 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 411 virtual RenderObject* createRenderer(RenderStyle*); |
412 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 412 virtual bool rendererIsNeeded(const NodeRenderingContext&); |
413 void recalcStyle(StyleChange = NoChange); | 413 void recalcStyle(StyleChange = NoChange); |
414 void didAffectSelector(AffectedSelectorMask); | 414 void didAffectSelector(AffectedSelectorMask); |
415 | 415 |
416 ElementShadow* shadow() const; | 416 ElementShadow* shadow() const; |
417 ElementShadow* ensureShadow(); | 417 ElementShadow* ensureShadow(); |
418 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); | 418 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); |
419 ShadowRoot* shadowRoot() const; | 419 ShadowRoot* shadowRoot() const; |
420 void ensureDistribution(); | 420 void ensureDistribution(); |
421 | 421 |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 | 995 |
996 inline const Attribute* ElementData::attributeItem(unsigned index) const | 996 inline const Attribute* ElementData::attributeItem(unsigned index) const |
997 { | 997 { |
998 RELEASE_ASSERT(index < length()); | 998 RELEASE_ASSERT(index < length()); |
999 return attributeBase() + index; | 999 return attributeBase() + index; |
1000 } | 1000 } |
1001 | 1001 |
1002 } // namespace | 1002 } // namespace |
1003 | 1003 |
1004 #endif | 1004 #endif |
OLD | NEW |