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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.h

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Allow text as child of the LayoutView, since it can happen with display: contents Created 4 years 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/css/resolver/StyleResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.h b/third_party/WebKit/Source/core/css/resolver/StyleResolver.h
index 94fd4181b7080ee056283dd6a68ce362952335a0..a02dd0ed8833ed64f3ba7fc046e176aedf6a717f 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.h
@@ -86,6 +86,7 @@ class CORE_EXPORT StyleResolver final
PassRefPtr<ComputedStyle> styleForElement(
Element*,
const ComputedStyle* parentStyle = 0,
+ const ComputedStyle* layoutParentStyle = 0,
StyleSharingBehavior = AllowStyleSharing,
RuleMatchingBehavior = MatchAllRules);
@@ -99,7 +100,8 @@ class CORE_EXPORT StyleResolver final
PassRefPtr<ComputedStyle> pseudoStyleForElement(
Element*,
const PseudoStyleRequest&,
- const ComputedStyle* parentStyle);
+ const ComputedStyle* parentStyle,
+ const ComputedStyle* layoutParentStyle);
PassRefPtr<ComputedStyle> styleForPage(int pageIndex);
PassRefPtr<ComputedStyle> styleForText(Text*);

Powered by Google App Engine
This is Rietveld 408576698