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. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. |
8 * All rights reserved. | 8 * All rights reserved. |
9 * (C) 2007 Eric Seidel (eric@webkit.org) | 9 * (C) 2007 Eric Seidel (eric@webkit.org) |
10 * | 10 * |
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1290 parentElementShadow->setNeedsDistributionRecalc(); | 1290 parentElementShadow->setNeedsDistributionRecalc(); |
1291 } | 1291 } |
1292 if (name == HTMLNames::slotAttr && params.oldValue != params.newValue) { | 1292 if (name == HTMLNames::slotAttr && params.oldValue != params.newValue) { |
1293 if (ShadowRoot* root = v1ShadowRootOfParent()) | 1293 if (ShadowRoot* root = v1ShadowRootOfParent()) |
1294 root->didChangeHostChildSlotName(params.oldValue, params.newValue); | 1294 root->didChangeHostChildSlotName(params.oldValue, params.newValue); |
1295 } | 1295 } |
1296 | 1296 |
1297 parseAttribute(params); | 1297 parseAttribute(params); |
1298 | 1298 |
1299 document().incDOMTreeVersion(); | 1299 document().incDOMTreeVersion(); |
1300 document().notifyChangeAttribute(*this); | |
1301 | 1300 |
1302 if (name == HTMLNames::idAttr) { | 1301 if (name == HTMLNames::idAttr) { |
1303 AtomicString oldId = elementData()->idForStyleResolution(); | 1302 AtomicString oldId = elementData()->idForStyleResolution(); |
1304 AtomicString newId = | 1303 AtomicString newId = |
1305 makeIdForStyleResolution(params.newValue, document().inQuirksMode()); | 1304 makeIdForStyleResolution(params.newValue, document().inQuirksMode()); |
1306 if (newId != oldId) { | 1305 if (newId != oldId) { |
1307 elementData()->setIdForStyleResolution(newId); | 1306 elementData()->setIdForStyleResolution(newId); |
1308 document().styleEngine().idChangedForElement(oldId, newId, *this); | 1307 document().styleEngine().idChangedForElement(oldId, newId, *this); |
1309 } | 1308 } |
1310 } else if (name == classAttr) { | 1309 } else if (name == classAttr) { |
(...skipping 2814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4125 } | 4124 } |
4126 | 4125 |
4127 DEFINE_TRACE_WRAPPERS(Element) { | 4126 DEFINE_TRACE_WRAPPERS(Element) { |
4128 if (hasRareData()) { | 4127 if (hasRareData()) { |
4129 visitor->traceWrappers(elementRareData()); | 4128 visitor->traceWrappers(elementRareData()); |
4130 } | 4129 } |
4131 ContainerNode::traceWrappers(visitor); | 4130 ContainerNode::traceWrappers(visitor); |
4132 } | 4131 } |
4133 | 4132 |
4134 } // namespace blink | 4133 } // namespace blink |
OLD | NEW |