OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. |
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "core/css/resolver/SharedStyleFinder.h" | 30 #include "core/css/resolver/SharedStyleFinder.h" |
31 | 31 |
32 // FIXME: This include list is way more than we need! | 32 // FIXME: This include list is way more than we need! |
33 #include "CSSPropertyNames.h" | 33 #include "CSSPropertyNames.h" |
34 #include "HTMLNames.h" | 34 #include "HTMLNames.h" |
35 #include "RuntimeEnabledFeatures.h" | 35 #include "RuntimeEnabledFeatures.h" |
36 #include "SVGNames.h" | 36 #include "SVGNames.h" |
37 #include "XMLNames.h" | 37 #include "XMLNames.h" |
38 #include "core/animation/AnimatableValue.h" | 38 #include "core/animation/AnimatableValue.h" |
39 #include "core/animation/Animation.h" | 39 #include "core/animation/Animation.h" |
| 40 #include "core/animation/DocumentTimeline.h" |
40 #include "core/css/CSSCalculationValue.h" | 41 #include "core/css/CSSCalculationValue.h" |
41 #include "core/css/CSSCursorImageValue.h" | 42 #include "core/css/CSSCursorImageValue.h" |
42 #include "core/css/CSSDefaultStyleSheets.h" | 43 #include "core/css/CSSDefaultStyleSheets.h" |
43 #include "core/css/CSSFontSelector.h" | 44 #include "core/css/CSSFontSelector.h" |
44 #include "core/css/CSSImageSetValue.h" | 45 #include "core/css/CSSImageSetValue.h" |
45 #include "core/css/CSSKeyframeRule.h" | 46 #include "core/css/CSSKeyframeRule.h" |
46 #include "core/css/CSSKeyframesRule.h" | 47 #include "core/css/CSSKeyframesRule.h" |
47 #include "core/css/CSSLineBoxContainValue.h" | 48 #include "core/css/CSSLineBoxContainValue.h" |
48 #include "core/css/CSSParser.h" | 49 #include "core/css/CSSParser.h" |
49 #include "core/css/CSSPrimitiveValueMappings.h" | 50 #include "core/css/CSSPrimitiveValueMappings.h" |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 // Can't share if attribute rules apply. | 422 // Can't share if attribute rules apply. |
422 if (m_styleResolver->styleSharingCandidateMatchesRuleSet(context, m_uncommon
AttributeRuleSet)) | 423 if (m_styleResolver->styleSharingCandidateMatchesRuleSet(context, m_uncommon
AttributeRuleSet)) |
423 return 0; | 424 return 0; |
424 // Tracking child index requires unique style for each node. This may get se
t by the sibling rule match above. | 425 // Tracking child index requires unique style for each node. This may get se
t by the sibling rule match above. |
425 if (parentElementPreventsSharing(context.element()->parentElement())) | 426 if (parentElementPreventsSharing(context.element()->parentElement())) |
426 return 0; | 427 return 0; |
427 return shareElement->renderStyle(); | 428 return shareElement->renderStyle(); |
428 } | 429 } |
429 | 430 |
430 } | 431 } |
OLD | NEW |