| 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 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
| 8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 2842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2853 } | 2853 } |
| 2854 | 2854 |
| 2855 if (oldValue != newValue) { | 2855 if (oldValue != newValue) { |
| 2856 if (inActiveDocument()) | 2856 if (inActiveDocument()) |
| 2857 document().ensureStyleResolver().ensureUpdatedRuleFeatureSet().sched
uleStyleInvalidationForAttributeChange(name, *this); | 2857 document().ensureStyleResolver().ensureUpdatedRuleFeatureSet().sched
uleStyleInvalidationForAttributeChange(name, *this); |
| 2858 | 2858 |
| 2859 if (isUpgradedCustomElement()) | 2859 if (isUpgradedCustomElement()) |
| 2860 CustomElement::attributeDidChange(this, name.localName(), oldValue,
newValue); | 2860 CustomElement::attributeDidChange(this, name.localName(), oldValue,
newValue); |
| 2861 } | 2861 } |
| 2862 | 2862 |
| 2863 if (OwnPtr<MutationObserverInterestGroup> recipients = MutationObserverInter
estGroup::createForAttributesMutation(*this, name)) | 2863 if (OwnPtrWillBeRawPtr<MutationObserverInterestGroup> recipients = MutationO
bserverInterestGroup::createForAttributesMutation(*this, name)) |
| 2864 recipients->enqueueMutationRecord(MutationRecord::createAttributes(this,
name, oldValue)); | 2864 recipients->enqueueMutationRecord(MutationRecord::createAttributes(this,
name, oldValue)); |
| 2865 | 2865 |
| 2866 InspectorInstrumentation::willModifyDOMAttr(this, oldValue, newValue); | 2866 InspectorInstrumentation::willModifyDOMAttr(this, oldValue, newValue); |
| 2867 } | 2867 } |
| 2868 | 2868 |
| 2869 void Element::didAddAttribute(const QualifiedName& name, const AtomicString& val
ue) | 2869 void Element::didAddAttribute(const QualifiedName& name, const AtomicString& val
ue) |
| 2870 { | 2870 { |
| 2871 attributeChanged(name, value); | 2871 attributeChanged(name, value); |
| 2872 InspectorInstrumentation::didModifyDOMAttr(this, name.localName(), value); | 2872 InspectorInstrumentation::didModifyDOMAttr(this, name.localName(), value); |
| 2873 dispatchSubtreeModifiedEvent(); | 2873 dispatchSubtreeModifiedEvent(); |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3341 || isHTMLObjectElement(*this) | 3341 || isHTMLObjectElement(*this) |
| 3342 || isHTMLAppletElement(*this) | 3342 || isHTMLAppletElement(*this) |
| 3343 || isHTMLCanvasElement(*this)) | 3343 || isHTMLCanvasElement(*this)) |
| 3344 return false; | 3344 return false; |
| 3345 if (FullscreenElementStack::isActiveFullScreenElement(this)) | 3345 if (FullscreenElementStack::isActiveFullScreenElement(this)) |
| 3346 return false; | 3346 return false; |
| 3347 return true; | 3347 return true; |
| 3348 } | 3348 } |
| 3349 | 3349 |
| 3350 } // namespace WebCore | 3350 } // namespace WebCore |
| OLD | NEW |