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

Unified Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 1139033006: Implement FullScreen using top layer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/css/resolver/StyleResolver.cpp
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
index a458301f00cc6e5abc97587a93b11bd14aa07d44..59347758af2c5272192eea3b0718e99a5ebbf659 100644
--- a/Source/core/css/resolver/StyleResolver.cpp
+++ b/Source/core/css/resolver/StyleResolver.cpp
@@ -674,7 +674,7 @@ PassRefPtrWillBeRawPtr<PseudoElement> StyleResolver::createPseudoElementIfNeeded
if (pseudoId == FIRST_LETTER && (parent.isSVGElement() || !FirstLetterPseudoElement::firstLetterTextLayoutObject(parent)))
return nullptr;
- if (!canHaveGeneratedChildren(*parentLayoutObject))
+ if (pseudoId != BACKDROP && !canHaveGeneratedChildren(*parentLayoutObject))
leviw_travelin_and_unemployed 2015/09/21 20:26:22 There was no way to get into this case before with
return nullptr;
ComputedStyle* parentStyle = parentLayoutObject->mutableStyle();

Powered by Google App Engine
This is Rietveld 408576698