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

Unified Diff: LayoutTests/fast/animation/last-child-assert.html

Issue 758523002: Store :last/first-child state as restyle flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed assert Created 6 years, 1 month 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: LayoutTests/fast/animation/last-child-assert.html
diff --git a/LayoutTests/fast/animation/last-child-assert.html b/LayoutTests/fast/animation/last-child-assert.html
new file mode 100644
index 0000000000000000000000000000000000000000..a43b3f4e065e7343358a7951c78f6d8806d9fb6d
--- /dev/null
+++ b/LayoutTests/fast/animation/last-child-assert.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<style>
+html { background-color: white }
+body { -webkit-transition: background-color 1s }
+#nomatch :last-child { color: green }
+</style>
+<p>Pass if no assert or crash.</p>
+<script>
+document.body.offsetTop;
+document.body.style.backgroundColor = "white";
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/animation/last-child-assert-expected.html » ('j') | Source/core/dom/ContainerNode.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698