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 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1566 if ((forceCheckOfNextElementSibling || forceCheckOfAnyElementSibling)) | 1566 if ((forceCheckOfNextElementSibling || forceCheckOfAnyElementSibling)) |
1567 element->setNeedsStyleRecalc(); | 1567 element->setNeedsStyleRecalc(); |
1568 if (shouldRecalcStyle(change, element)) { | 1568 if (shouldRecalcStyle(change, element)) { |
1569 parentPusher.push(); | 1569 parentPusher.push(); |
1570 element->recalcStyle(change); | 1570 element->recalcStyle(change); |
1571 } | 1571 } |
1572 forceCheckOfNextElementSibling = childRulesChanged && hasDirectAdjacentR
ules; | 1572 forceCheckOfNextElementSibling = childRulesChanged && hasDirectAdjacentR
ules; |
1573 forceCheckOfAnyElementSibling = forceCheckOfAnyElementSibling || (childR
ulesChanged && hasIndirectAdjacentRules); | 1573 forceCheckOfAnyElementSibling = forceCheckOfAnyElementSibling || (childR
ulesChanged && hasIndirectAdjacentRules); |
1574 } | 1574 } |
1575 | 1575 |
1576 if (shouldRecalcStyle(change, this)) | 1576 if (shouldRecalcStyle(change, this)) { |
1577 updatePseudoElement(AFTER, change); | 1577 updatePseudoElement(AFTER, change); |
| 1578 updatePseudoElement(BACKDROP, change); |
| 1579 } |
1578 | 1580 |
1579 clearNeedsStyleRecalc(); | 1581 clearNeedsStyleRecalc(); |
1580 clearChildNeedsStyleRecalc(); | 1582 clearChildNeedsStyleRecalc(); |
1581 | 1583 |
1582 if (hasCustomStyleCallbacks()) | 1584 if (hasCustomStyleCallbacks()) |
1583 didRecalcStyle(change); | 1585 didRecalcStyle(change); |
1584 } | 1586 } |
1585 | 1587 |
1586 ElementShadow* Element::shadow() const | 1588 ElementShadow* Element::shadow() const |
1587 { | 1589 { |
(...skipping 2059 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3647 return 0; | 3649 return 0; |
3648 } | 3650 } |
3649 | 3651 |
3650 Attribute* UniqueElementData::attributeItem(unsigned index) | 3652 Attribute* UniqueElementData::attributeItem(unsigned index) |
3651 { | 3653 { |
3652 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 3654 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
3653 return &m_attributeVector.at(index); | 3655 return &m_attributeVector.at(index); |
3654 } | 3656 } |
3655 | 3657 |
3656 } // namespace WebCore | 3658 } // namespace WebCore |
OLD | NEW |