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 2841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2852 } | 2852 } |
2853 | 2853 |
2854 if (oldValue != newValue) { | 2854 if (oldValue != newValue) { |
2855 if (inActiveDocument()) | 2855 if (inActiveDocument()) |
2856 document().ensureStyleResolver().ensureUpdatedRuleFeatureSet().sched
uleStyleInvalidationForAttributeChange(name, *this); | 2856 document().ensureStyleResolver().ensureUpdatedRuleFeatureSet().sched
uleStyleInvalidationForAttributeChange(name, *this); |
2857 | 2857 |
2858 if (isUpgradedCustomElement()) | 2858 if (isUpgradedCustomElement()) |
2859 CustomElement::attributeDidChange(this, name.localName(), oldValue,
newValue); | 2859 CustomElement::attributeDidChange(this, name.localName(), oldValue,
newValue); |
2860 } | 2860 } |
2861 | 2861 |
2862 if (OwnPtr<MutationObserverInterestGroup> recipients = MutationObserverInter
estGroup::createForAttributesMutation(*this, name)) | 2862 if (OwnPtrWillBeRawPtr<MutationObserverInterestGroup> recipients = MutationO
bserverInterestGroup::createForAttributesMutation(*this, name)) |
2863 recipients->enqueueMutationRecord(MutationRecord::createAttributes(this,
name, oldValue)); | 2863 recipients->enqueueMutationRecord(MutationRecord::createAttributes(this,
name, oldValue)); |
2864 | 2864 |
2865 InspectorInstrumentation::willModifyDOMAttr(this, oldValue, newValue); | 2865 InspectorInstrumentation::willModifyDOMAttr(this, oldValue, newValue); |
2866 } | 2866 } |
2867 | 2867 |
2868 void Element::didAddAttribute(const QualifiedName& name, const AtomicString& val
ue) | 2868 void Element::didAddAttribute(const QualifiedName& name, const AtomicString& val
ue) |
2869 { | 2869 { |
2870 attributeChanged(name, value); | 2870 attributeChanged(name, value); |
2871 InspectorInstrumentation::didModifyDOMAttr(this, name.localName(), value); | 2871 InspectorInstrumentation::didModifyDOMAttr(this, name.localName(), value); |
2872 dispatchSubtreeModifiedEvent(); | 2872 dispatchSubtreeModifiedEvent(); |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3343 || isHTMLObjectElement(*this) | 3343 || isHTMLObjectElement(*this) |
3344 || isHTMLAppletElement(*this) | 3344 || isHTMLAppletElement(*this) |
3345 || isHTMLCanvasElement(*this)) | 3345 || isHTMLCanvasElement(*this)) |
3346 return false; | 3346 return false; |
3347 if (FullscreenElementStack::isActiveFullScreenElement(this)) | 3347 if (FullscreenElementStack::isActiveFullScreenElement(this)) |
3348 return false; | 3348 return false; |
3349 return true; | 3349 return true; |
3350 } | 3350 } |
3351 | 3351 |
3352 } // namespace WebCore | 3352 } // namespace WebCore |
OLD | NEW |