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

Unified Diff: LayoutTests/fast/css/implicit-attach-marking.html

Issue 219993002: Avoid calling markAncestorsWithChildNeedsStyleRecalc() constantly in childrenChanged (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix accessibility test and causing recalcs on removal Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/implicit-attach-marking-expected.txt » ('j') | Source/core/dom/Node.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/implicit-attach-marking.html
diff --git a/LayoutTests/fast/css/implicit-attach-marking.html b/LayoutTests/fast/css/implicit-attach-marking.html
new file mode 100644
index 0000000000000000000000000000000000000000..201a2d789aa5eef16045fc90fa44293aea9e7792
--- /dev/null
+++ b/LayoutTests/fast/css/implicit-attach-marking.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<script>jsTestIsAsync = true;</script>
+<script src="../../resources/js-test.js"></script>
+
+<div id="root"></div>
+
+<script>
+onload = function() {
+ requestAnimationFrame(function() {
+ div = root.appendChild(document.createElement("div"));
+ div.textContent = "Test that implicit attach marks all ancestors on insert.";
+ shouldBeTrue("div.offsetTop > 0");
+ finishJSTest();
+ });
+};
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/css/implicit-attach-marking-expected.txt » ('j') | Source/core/dom/Node.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698