| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 bool hasNamedNodeMap() const; | 125 bool hasNamedNodeMap() const; |
| 126 #endif | 126 #endif |
| 127 bool hasAttributes() const; | 127 bool hasAttributes() const; |
| 128 // This variant will not update the potentially invalid attributes. To be us
ed when not interested | 128 // This variant will not update the potentially invalid attributes. To be us
ed when not interested |
| 129 // in style attribute or one of the SVG animation attributes. | 129 // in style attribute or one of the SVG animation attributes. |
| 130 bool hasAttributesWithoutUpdate() const; | 130 bool hasAttributesWithoutUpdate() const; |
| 131 | 131 |
| 132 bool hasAttribute(const AtomicString& name) const; | 132 bool hasAttribute(const AtomicString& name) const; |
| 133 bool hasAttributeNS(const AtomicString& namespaceURI, const AtomicString& lo
calName) const; | 133 bool hasAttributeNS(const AtomicString& namespaceURI, const AtomicString& lo
calName) const; |
| 134 | 134 |
| 135 const AtomicString& bindingsGetAttribute(const String& name) const; |
| 136 void bindingsSetAttribute(const String& name, const String& value, Exception
State&); |
| 137 |
| 135 const AtomicString& getAttribute(const AtomicString& name) const; | 138 const AtomicString& getAttribute(const AtomicString& name) const; |
| 136 const AtomicString& getAttributeNS(const AtomicString& namespaceURI, const A
tomicString& localName) const; | 139 const AtomicString& getAttributeNS(const AtomicString& namespaceURI, const A
tomicString& localName) const; |
| 137 | 140 |
| 138 void setAttribute(const AtomicString& name, const AtomicString& value, Excep
tionState&); | 141 void setAttribute(const AtomicString& name, const AtomicString& value, Excep
tionState&); |
| 139 static bool parseAttributeName(QualifiedName&, const AtomicString& namespace
URI, const AtomicString& qualifiedName, ExceptionState&); | 142 static bool parseAttributeName(QualifiedName&, const AtomicString& namespace
URI, const AtomicString& qualifiedName, ExceptionState&); |
| 140 void setAttributeNS(const AtomicString& namespaceURI, const AtomicString& qu
alifiedName, const AtomicString& value, ExceptionState&); | 143 void setAttributeNS(const AtomicString& namespaceURI, const AtomicString& qu
alifiedName, const AtomicString& value, ExceptionState&); |
| 141 | 144 |
| 142 bool isIdAttributeName(const QualifiedName&) const; | 145 bool isIdAttributeName(const QualifiedName&) const; |
| 143 const AtomicString& getIdAttribute() const; | 146 const AtomicString& getIdAttribute() const; |
| 144 void setIdAttribute(const AtomicString&); | 147 void setIdAttribute(const AtomicString&); |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 } | 887 } |
| 885 | 888 |
| 886 inline bool isShadowHost(const Element* element) | 889 inline bool isShadowHost(const Element* element) |
| 887 { | 890 { |
| 888 return element && element->shadow(); | 891 return element && element->shadow(); |
| 889 } | 892 } |
| 890 | 893 |
| 891 } // namespace | 894 } // namespace |
| 892 | 895 |
| 893 #endif | 896 #endif |
| OLD | NEW |