| 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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. |
| 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 } | 72 } |
| 73 } | 73 } |
| 74 | 74 |
| 75 NOTREACHED(); | 75 NOTREACHED(); |
| 76 return emptyAtom; | 76 return emptyAtom; |
| 77 } | 77 } |
| 78 | 78 |
| 79 bool HTMLButtonElement::isPresentationAttribute( | 79 bool HTMLButtonElement::isPresentationAttribute( |
| 80 const QualifiedName& name) const { | 80 const QualifiedName& name) const { |
| 81 if (name == alignAttr) { | 81 if (name == alignAttr) { |
| 82 // Don't map 'align' attribute. This matches what Firefox and IE do, but no
t Opera. | 82 // Don't map 'align' attribute. This matches what Firefox and IE do, but |
| 83 // See http://bugs.webkit.org/show_bug.cgi?id=12071 | 83 // not Opera. See http://bugs.webkit.org/show_bug.cgi?id=12071 |
| 84 return false; | 84 return false; |
| 85 } | 85 } |
| 86 | 86 |
| 87 return HTMLFormControlElement::isPresentationAttribute(name); | 87 return HTMLFormControlElement::isPresentationAttribute(name); |
| 88 } | 88 } |
| 89 | 89 |
| 90 void HTMLButtonElement::parseAttribute(const QualifiedName& name, | 90 void HTMLButtonElement::parseAttribute(const QualifiedName& name, |
| 91 const AtomicString& oldValue, | 91 const AtomicString& oldValue, |
| 92 const AtomicString& value) { | 92 const AtomicString& value) { |
| 93 if (name == typeAttr) { | 93 if (name == typeAttr) { |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 Node::InsertionNotificationRequest HTMLButtonElement::insertedInto( | 214 Node::InsertionNotificationRequest HTMLButtonElement::insertedInto( |
| 215 ContainerNode* insertionPoint) { | 215 ContainerNode* insertionPoint) { |
| 216 InsertionNotificationRequest request = | 216 InsertionNotificationRequest request = |
| 217 HTMLFormControlElement::insertedInto(insertionPoint); | 217 HTMLFormControlElement::insertedInto(insertionPoint); |
| 218 logAddElementIfIsolatedWorldAndInDocument("button", typeAttr, formmethodAttr, | 218 logAddElementIfIsolatedWorldAndInDocument("button", typeAttr, formmethodAttr, |
| 219 formactionAttr); | 219 formactionAttr); |
| 220 return request; | 220 return request; |
| 221 } | 221 } |
| 222 | 222 |
| 223 } // namespace blink | 223 } // namespace blink |
| OLD | NEW |