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

Unified Diff: Source/core/rendering/RenderObject.h

Issue 220343006: Fix for ::selection pseudo element to work on input elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding RefTests Created 6 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: Source/core/rendering/RenderObject.h
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
index b34a4235ee08b37d0d093df6affd9f596ff6f124..ae4e027a74f12e0109bc96ecc23d7083d5dc2e4c 100644
--- a/Source/core/rendering/RenderObject.h
+++ b/Source/core/rendering/RenderObject.h
@@ -311,6 +311,10 @@ private:
void setLayerNeedsFullRepaintForPositionedMovementLayout();
bool requiresAnonymousTableWrappers(const RenderObject*) const;
+ // Gets pseudoStyle from Shadow host(in case of input elements)
+ // or from Parent element.
+ PassRefPtr<RenderStyle> getUncachedPseudoStyleFromParentOrShadowHost() const;
+
public:
#ifndef NDEBUG
void showTreeForThis() const;

Powered by Google App Engine
This is Rietveld 408576698