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