| 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 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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->ensureSlotAssignment().hostChildSlotNameChanged(params.oldValue, | 1294 root->ensureSlotAssignment().hostChildSlotNameChanged(params.oldValue, |
| 1295 params.newValue); | 1295 params.newValue); |
| 1296 } | 1296 } |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 parseAttribute(params); | 1299 parseAttribute(params); |
| 1300 | 1300 |
| 1301 document().incDOMTreeVersion(); | 1301 document().incDOMTreeVersion(); |
| 1302 document().notifyChangeAttribute(*this); |
| 1302 | 1303 |
| 1303 if (name == HTMLNames::idAttr) { | 1304 if (name == HTMLNames::idAttr) { |
| 1304 AtomicString oldId = elementData()->idForStyleResolution(); | 1305 AtomicString oldId = elementData()->idForStyleResolution(); |
| 1305 AtomicString newId = | 1306 AtomicString newId = |
| 1306 makeIdForStyleResolution(params.newValue, document().inQuirksMode()); | 1307 makeIdForStyleResolution(params.newValue, document().inQuirksMode()); |
| 1307 if (newId != oldId) { | 1308 if (newId != oldId) { |
| 1308 elementData()->setIdForStyleResolution(newId); | 1309 elementData()->setIdForStyleResolution(newId); |
| 1309 document().styleEngine().idChangedForElement(oldId, newId, *this); | 1310 document().styleEngine().idChangedForElement(oldId, newId, *this); |
| 1310 } | 1311 } |
| 1311 } else if (name == classAttr) { | 1312 } else if (name == classAttr) { |
| (...skipping 2818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4130 } | 4131 } |
| 4131 | 4132 |
| 4132 DEFINE_TRACE_WRAPPERS(Element) { | 4133 DEFINE_TRACE_WRAPPERS(Element) { |
| 4133 if (hasRareData()) { | 4134 if (hasRareData()) { |
| 4134 visitor->traceWrappers(elementRareData()); | 4135 visitor->traceWrappers(elementRareData()); |
| 4135 } | 4136 } |
| 4136 ContainerNode::traceWrappers(visitor); | 4137 ContainerNode::traceWrappers(visitor); |
| 4137 } | 4138 } |
| 4138 | 4139 |
| 4139 } // namespace blink | 4140 } // namespace blink |
| OLD | NEW |