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

Unified Diff: Source/core/dom/ContainerNode.cpp

Issue 270503006: Make pseudo-classes selector queries work on DocumentFragment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/dom/ContainerNode.cpp
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
index 04c55d0644d5f8bbd0c86355a63720908fd59ee3..75730a2e2565a446f006b730f77f6d6310b38aee 100644
--- a/Source/core/dom/ContainerNode.cpp
+++ b/Source/core/dom/ContainerNode.cpp
@@ -1034,7 +1034,7 @@ bool ContainerNode::hasRestyleFlagsInternal() const
void ContainerNode::setRestyleFlag(DynamicRestyleFlags mask)
{
- ASSERT(isElementNode() || isShadowRoot());
+ ASSERT(isElementNode() || isDocumentFragment());
esprehn 2014/05/08 05:25:11 This is wrong, we shouldn't set restyle flags in a
Inactive 2014/05/08 13:17:36 Done.
ensureRareData().setRestyleFlag(mask);
}

Powered by Google App Engine
This is Rietveld 408576698