| 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 * Copyright (C) 2003, 2007, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2007, 2010 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 } | 47 } |
| 48 | 48 |
| 49 void HTMLMarqueeElement::attributeWillChange(const QualifiedName& name, const At
omicString& oldValue, const AtomicString& newValue) | 49 void HTMLMarqueeElement::attributeWillChange(const QualifiedName& name, const At
omicString& oldValue, const AtomicString& newValue) |
| 50 { | 50 { |
| 51 HTMLElement::attributeWillChange(name, oldValue, newValue); | 51 HTMLElement::attributeWillChange(name, oldValue, newValue); |
| 52 V8HTMLMarqueeElement::PrivateScript::attributeChangedCallbackMethod(document
().frame(), this, name.toString(), oldValue, newValue); | 52 V8HTMLMarqueeElement::PrivateScript::attributeChangedCallbackMethod(document
().frame(), this, name.toString(), oldValue, newValue); |
| 53 } | 53 } |
| 54 | 54 |
| 55 Node::InsertionNotificationRequest HTMLMarqueeElement::insertedInto(ContainerNod
e* insertionPoint) | 55 Node::InsertionNotificationRequest HTMLMarqueeElement::insertedInto(ContainerNod
e* insertionPoint) |
| 56 { | 56 { |
| 57 Element* e = insertionPoint->isElementNode() ? toElement(insertionPoint) : n
ullptr; |
| 58 printf("HTMLMarqueeElement::insertedInto this:%p insertedto:%p (%s)\n", this
, insertionPoint, |
| 59 e ? e->tagName().utf8().data() : ""); |
| 60 fflush(stdout); |
| 57 HTMLElement::insertedInto(insertionPoint); | 61 HTMLElement::insertedInto(insertionPoint); |
| 58 if (inDocument()) { | 62 if (inDocument()) { |
| 59 V8HTMLMarqueeElement::PrivateScript::attachedCallbackMethod(document().f
rame(), this); | 63 V8HTMLMarqueeElement::PrivateScript::attachedCallbackMethod(document().f
rame(), this); |
| 60 } | 64 } |
| 61 return InsertionDone; | 65 return InsertionDone; |
| 62 } | 66 } |
| 63 | 67 |
| 64 void HTMLMarqueeElement::removedFrom(ContainerNode* insertionPoint) | 68 void HTMLMarqueeElement::removedFrom(ContainerNode* insertionPoint) |
| 65 { | 69 { |
| 70 Element* e = insertionPoint->isElementNode() ? toElement(insertionPoint) : n
ullptr; |
| 71 printf("HTMLMarqueeElement::removedFrom this:%p from:%p (%s)\n", this, inser
tionPoint, |
| 72 e ? e->tagName().utf8().data() : ""); |
| 73 fflush(stdout); |
| 66 HTMLElement::removedFrom(insertionPoint); | 74 HTMLElement::removedFrom(insertionPoint); |
| 67 if (insertionPoint->inDocument()) { | 75 if (insertionPoint->inDocument()) { |
| 68 V8HTMLMarqueeElement::PrivateScript::detachedCallbackMethod(insertionPoi
nt->document().frame(), this); | 76 V8HTMLMarqueeElement::PrivateScript::detachedCallbackMethod(insertionPoi
nt->document().frame(), this); |
| 69 } | 77 } |
| 70 } | 78 } |
| 71 | 79 |
| 72 } // namespace blink | 80 } // namespace blink |
| OLD | NEW |