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

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 another Layout Test 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 23739a3fc0a38219aa2ff9276a1643a26bbbf6a6..6e1c276a74300ea02477e1ed68d51d9b8596348a 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;
« no previous file with comments | « LayoutTests/fast/selectors/shadow-host-div-with-span-expected.html ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698