| 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 11 matching lines...) Expand all Loading... |
| 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 23 * Boston, MA 02110-1301, USA. | 23 * Boston, MA 02110-1301, USA. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "sky/engine/config.h" | 26 #include "sky/engine/config.h" |
| 27 #include "sky/engine/core/dom/Element.h" | 27 #include "sky/engine/core/dom/Element.h" |
| 28 | 28 |
| 29 #include "gen/sky/core/CSSValueKeywords.h" | 29 #include "gen/sky/core/CSSValueKeywords.h" |
| 30 #include "gen/sky/core/HTMLNames.h" | 30 #include "gen/sky/core/HTMLNames.h" |
| 31 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 31 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 32 #include "sky/engine/bindings2/exception_messages.h" | 32 #include "sky/engine/bindings/exception_messages.h" |
| 33 #include "sky/engine/bindings2/exception_state.h" | 33 #include "sky/engine/bindings/exception_state.h" |
| 34 #include "sky/engine/core/animation/AnimationTimeline.h" | 34 #include "sky/engine/core/animation/AnimationTimeline.h" |
| 35 #include "sky/engine/core/animation/css/CSSAnimations.h" | 35 #include "sky/engine/core/animation/css/CSSAnimations.h" |
| 36 #include "sky/engine/core/css/CSSImageValue.h" | 36 #include "sky/engine/core/css/CSSImageValue.h" |
| 37 #include "sky/engine/core/css/CSSStyleSheet.h" | 37 #include "sky/engine/core/css/CSSStyleSheet.h" |
| 38 #include "sky/engine/core/css/CSSValuePool.h" | 38 #include "sky/engine/core/css/CSSValuePool.h" |
| 39 #include "sky/engine/core/css/PropertySetCSSStyleDeclaration.h" | 39 #include "sky/engine/core/css/PropertySetCSSStyleDeclaration.h" |
| 40 #include "sky/engine/core/css/StylePropertySet.h" | 40 #include "sky/engine/core/css/StylePropertySet.h" |
| 41 #include "sky/engine/core/css/parser/BisonCSSParser.h" | 41 #include "sky/engine/core/css/parser/BisonCSSParser.h" |
| 42 #include "sky/engine/core/css/resolver/StyleResolver.h" | 42 #include "sky/engine/core/css/resolver/StyleResolver.h" |
| 43 #include "sky/engine/core/dom/Attr.h" | 43 #include "sky/engine/core/dom/Attr.h" |
| (...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1586 return false; | 1586 return false; |
| 1587 if (treeScope().scopedStyleResolver().hasSelectorForId(idValue)) | 1587 if (treeScope().scopedStyleResolver().hasSelectorForId(idValue)) |
| 1588 return true; | 1588 return true; |
| 1589 // Host rules could also have effects. | 1589 // Host rules could also have effects. |
| 1590 if (ShadowRoot* shadowRoot = this->shadowRoot()) | 1590 if (ShadowRoot* shadowRoot = this->shadowRoot()) |
| 1591 return shadowRoot->scopedStyleResolver().hasSelectorForId(idValue); | 1591 return shadowRoot->scopedStyleResolver().hasSelectorForId(idValue); |
| 1592 return false; | 1592 return false; |
| 1593 } | 1593 } |
| 1594 | 1594 |
| 1595 } // namespace blink | 1595 } // namespace blink |
| OLD | NEW |