| 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 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1556 | 1556 |
| 1557 if (forceCheckOfNextElementSibling || forceCheckOfAnyElementSibling) | 1557 if (forceCheckOfNextElementSibling || forceCheckOfAnyElementSibling) |
| 1558 element->setNeedsStyleRecalc(); | 1558 element->setNeedsStyleRecalc(); |
| 1559 | 1559 |
| 1560 forceCheckOfNextElementSibling = childRulesChanged && hasDirectAdjac
entRules; | 1560 forceCheckOfNextElementSibling = childRulesChanged && hasDirectAdjac
entRules; |
| 1561 forceCheckOfAnyElementSibling = forceCheckOfAnyElementSibling || (ch
ildRulesChanged && hasIndirectAdjacentRules); | 1561 forceCheckOfAnyElementSibling = forceCheckOfAnyElementSibling || (ch
ildRulesChanged && hasIndirectAdjacentRules); |
| 1562 | 1562 |
| 1563 if (shouldRecalcStyle(change, element)) { | 1563 if (shouldRecalcStyle(change, element)) { |
| 1564 parentPusher.push(); | 1564 parentPusher.push(); |
| 1565 didReattach = element->recalcStyle(change); | 1565 didReattach = element->recalcStyle(change); |
| 1566 } else if (document().styleResolver()->supportsStyleSharing(element)
) { |
| 1567 document().styleResolver()->addToStyleSharingList(element); |
| 1566 } | 1568 } |
| 1567 } | 1569 } |
| 1568 | 1570 |
| 1569 forceReattachOfAnyWhitespaceSibling = didReattach || forceReattachOfAnyW
hitespaceSibling; | 1571 forceReattachOfAnyWhitespaceSibling = didReattach || forceReattachOfAnyW
hitespaceSibling; |
| 1570 } | 1572 } |
| 1571 | 1573 |
| 1572 if (shouldRecalcStyle(change, this)) { | 1574 if (shouldRecalcStyle(change, this)) { |
| 1573 updatePseudoElement(AFTER, change); | 1575 updatePseudoElement(AFTER, change); |
| 1574 updatePseudoElement(BACKDROP, change); | 1576 updatePseudoElement(BACKDROP, change); |
| 1575 } | 1577 } |
| (...skipping 2055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3631 return 0; | 3633 return 0; |
| 3632 } | 3634 } |
| 3633 | 3635 |
| 3634 Attribute* UniqueElementData::attributeItem(unsigned index) | 3636 Attribute* UniqueElementData::attributeItem(unsigned index) |
| 3635 { | 3637 { |
| 3636 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 3638 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
| 3637 return &m_attributeVector.at(index); | 3639 return &m_attributeVector.at(index); |
| 3638 } | 3640 } |
| 3639 | 3641 |
| 3640 } // namespace WebCore | 3642 } // namespace WebCore |
| OLD | NEW |