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> |