Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: Source/core/dom/shadow/ShadowRoot.h

Issue 16599003: :hover style not applied on hover if its display property is different from original style's (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch (fixed test that was expected to fail and is now passing) Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/shadow/InsertionPoint.cpp ('k') | Source/core/dom/shadow/ShadowRoot.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void setInnerHTML(const String&, ExceptionCode&); 71 void setInnerHTML(const String&, ExceptionCode&);
72 72
73 Element* activeElement() const; 73 Element* activeElement() const;
74 74
75 ShadowRoot* youngerShadowRoot() const { return prev(); } 75 ShadowRoot* youngerShadowRoot() const { return prev(); }
76 ShadowRoot* olderShadowRoot() const { return next(); } 76 ShadowRoot* olderShadowRoot() const { return next(); }
77 77
78 bool isYoungest() const { return !youngerShadowRoot(); } 78 bool isYoungest() const { return !youngerShadowRoot(); }
79 bool isOldest() const { return !olderShadowRoot(); } 79 bool isOldest() const { return !olderShadowRoot(); }
80 80
81 virtual void attach(); 81 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
82 82
83 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 83 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
84 virtual void removedFrom(ContainerNode*) OVERRIDE; 84 virtual void removedFrom(ContainerNode*) OVERRIDE;
85 85
86 virtual void registerScopedHTMLStyleChild() OVERRIDE; 86 virtual void registerScopedHTMLStyleChild() OVERRIDE;
87 virtual void unregisterScopedHTMLStyleChild() OVERRIDE; 87 virtual void unregisterScopedHTMLStyleChild() OVERRIDE;
88 88
89 ScopeContentDistribution* scopeDistribution() { return m_scopeDistribution.g et(); } 89 ScopeContentDistribution* scopeDistribution() { return m_scopeDistribution.g et(); }
90 const ScopeContentDistribution* scopeDistribution() const { return m_scopeDi stribution.get(); } 90 const ScopeContentDistribution* scopeDistribution() const { return m_scopeDi stribution.get(); }
91 ScopeContentDistribution* ensureScopeDistribution(); 91 ScopeContentDistribution* ensureScopeDistribution();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 135 }
136 136
137 inline ShadowRoot* toShadowRoot(Node* node) 137 inline ShadowRoot* toShadowRoot(Node* node)
138 { 138 {
139 return const_cast<ShadowRoot*>(toShadowRoot(static_cast<const Node*>(node))) ; 139 return const_cast<ShadowRoot*>(toShadowRoot(static_cast<const Node*>(node))) ;
140 } 140 }
141 141
142 } // namespace 142 } // namespace
143 143
144 #endif 144 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/shadow/InsertionPoint.cpp ('k') | Source/core/dom/shadow/ShadowRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698