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 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1461 parentPusher.push(); | 1461 parentPusher.push(); |
1462 element->recalcStyle(change); | 1462 element->recalcStyle(change); |
1463 } | 1463 } |
1464 forceCheckOfNextElementSibling = childRulesChanged && hasDirectAdjacentR
ules; | 1464 forceCheckOfNextElementSibling = childRulesChanged && hasDirectAdjacentR
ules; |
1465 forceCheckOfAnyElementSibling = forceCheckOfAnyElementSibling || (childR
ulesChanged && hasIndirectAdjacentRules); | 1465 forceCheckOfAnyElementSibling = forceCheckOfAnyElementSibling || (childR
ulesChanged && hasIndirectAdjacentRules); |
1466 } | 1466 } |
1467 | 1467 |
1468 if (shouldRecalcStyle(change, this)) | 1468 if (shouldRecalcStyle(change, this)) |
1469 updatePseudoElement(AFTER, change); | 1469 updatePseudoElement(AFTER, change); |
1470 | 1470 |
| 1471 setAttached(); |
1471 clearNeedsStyleRecalc(); | 1472 clearNeedsStyleRecalc(); |
1472 clearChildNeedsStyleRecalc(); | 1473 clearChildNeedsStyleRecalc(); |
1473 | 1474 |
1474 if (hasCustomStyleCallbacks()) | 1475 if (hasCustomStyleCallbacks()) |
1475 didRecalcStyle(change); | 1476 didRecalcStyle(change); |
1476 InspectorInstrumentation::didRecalculateStyleForElement(this); | 1477 InspectorInstrumentation::didRecalculateStyleForElement(this); |
1477 } | 1478 } |
1478 | 1479 |
1479 ElementShadow* Element::shadow() const | 1480 ElementShadow* Element::shadow() const |
1480 { | 1481 { |
1481 return hasRareData() ? elementRareData()->shadow() : 0; | 1482 return hasRareData() ? elementRareData()->shadow() : 0; |
1482 } | 1483 } |
1483 | 1484 |
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3107 return 0; | 3108 return 0; |
3108 } | 3109 } |
3109 | 3110 |
3110 Attribute* UniqueElementData::attributeItem(unsigned index) | 3111 Attribute* UniqueElementData::attributeItem(unsigned index) |
3111 { | 3112 { |
3112 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 3113 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
3113 return &m_attributeVector.at(index); | 3114 return &m_attributeVector.at(index); |
3114 } | 3115 } |
3115 | 3116 |
3116 } // namespace WebCore | 3117 } // namespace WebCore |
OLD | NEW |