| 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) 2004, 2005, 2006, 2007, 2009, 2010, 2012 Apple Inc. All rights 
     reserved. | 6  * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2012 Apple 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 132         m_element->willModifyAttribute(qualifiedName(), this->value(), value); | 132         m_element->willModifyAttribute(qualifiedName(), this->value(), value); | 
| 133 | 133 | 
| 134     setValue(value); | 134     setValue(value); | 
| 135 | 135 | 
| 136     if (m_element) | 136     if (m_element) | 
| 137         m_element->didModifyAttribute(qualifiedName(), value); | 137         m_element->didModifyAttribute(qualifiedName(), value); | 
| 138 } | 138 } | 
| 139 | 139 | 
| 140 void Attr::setNodeValue(const String& v) | 140 void Attr::setNodeValue(const String& v) | 
| 141 { | 141 { | 
| 142     setValue(v, IGNORE_EXCEPTION_STATE); | 142     setValue(v, IGNORE_EXCEPTION); | 
| 143 } | 143 } | 
| 144 | 144 | 
| 145 PassRefPtr<Node> Attr::cloneNode(bool /*deep*/) | 145 PassRefPtr<Node> Attr::cloneNode(bool /*deep*/) | 
| 146 { | 146 { | 
| 147     RefPtr<Attr> clone = adoptRef(new Attr(document(), qualifiedName(), value())
     ); | 147     RefPtr<Attr> clone = adoptRef(new Attr(document(), qualifiedName(), value())
     ); | 
| 148     cloneChildNodes(clone.get()); | 148     cloneChildNodes(clone.get()); | 
| 149     return clone.release(); | 149     return clone.release(); | 
| 150 } | 150 } | 
| 151 | 151 | 
| 152 // DOM Section 1.1.1 | 152 // DOM Section 1.1.1 | 
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 209 } | 209 } | 
| 210 | 210 | 
| 211 void Attr::attachToElement(Element* element) | 211 void Attr::attachToElement(Element* element) | 
| 212 { | 212 { | 
| 213     ASSERT(!m_element); | 213     ASSERT(!m_element); | 
| 214     m_element = element; | 214     m_element = element; | 
| 215     m_standaloneValue = nullAtom; | 215     m_standaloneValue = nullAtom; | 
| 216 } | 216 } | 
| 217 | 217 | 
| 218 } | 218 } | 
| OLD | NEW | 
|---|