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

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

Issue 2727853002: [css-display] Support display: contents pseudo-elements.
Patch Set: [css-display] Support display: contents pseudos. Created 3 years, 9 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 49c1835939fd3eac22b2466ea1af8c222c488c23..93100fa5a53e23555f1b9538938c27c3db662353 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -632,6 +632,7 @@ class CORE_EXPORT Element : public ContainerNode {
PassRefPtr<ComputedStyle> getUncachedPseudoStyle(
const PseudoStyleRequest&,
const ComputedStyle* parentStyle = nullptr);
+ bool canHaveGeneratedPseudo(PseudoId) const;
virtual bool matchesDefaultPseudoClass() const { return false; }
virtual bool matchesEnabledPseudoClass() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698