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

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2789283003: [css-display] Support pseudo-elements on display: contents elements. (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index 379218fd5eda7edb42d7f12dde4d0d9a22a56e2f..f829eee16392cb2df81517e561088a9e2ceed4d8 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -636,6 +636,7 @@ class CORE_EXPORT Element : public ContainerNode {
PassRefPtr<ComputedStyle> getUncachedPseudoStyle(
const PseudoStyleRequest&,
const ComputedStyle* parentStyle = nullptr);
+ bool canGeneratePseudoElement(PseudoId) const;
virtual bool matchesDefaultPseudoClass() const { return false; }
virtual bool matchesEnabledPseudoClass() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698