Test for bug 813372. r=mattwoodrow a=blocking-basecamp
authorChris Jones <jones.chris.g@gmail.com>
Tue, 04 Dec 2012 00:39:22 -0800
changeset 114899 54731c5fdc2c08e31fa78cf7975bf309cd4da6d1
parent 114898 3932ed990e9b1f24c3aca313b3ca472232dfe1a1
child 114900 4abd71e551a295759272ac9ec86ec1697fbfad79
push id23947
push useremorley@mozilla.com
push dateTue, 04 Dec 2012 14:54:11 +0000
treeherdermozilla-central@0035f77045bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow, blocking-basecamp
bugs813372
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Test for bug 813372. r=mattwoodrow a=blocking-basecamp
layout/base/crashtests/813372-1.html
layout/base/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/813372-1.html
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<!-- There is, at present, no official xsd for (X)HTML5. A pity. Usefulness would depend on the parser and extensions made by the site.  -->
+<title>testcase</title>
+    <style type="text/css">
+* { margin: 0; padding: 0; }
+.hide { top: 80% !important; width: 75% !important;  height: 50% !important; }
+
+#details
+{
+    position: absolute;
+    top: 0;
+    left: 0;
+    width: 0%;
+    border: 10mm dotted red;
+    border-radius: 100em;
+    background-color: lime;
+    height: 0%;
+    overflow: scroll;
+    -moz-transition-property: top width;
+    -moz-transition-duration: 0.75s;
+    opacity: 0.9;
+}
+
+    </style>
+</head>
+<body>
+
+
+<section id="details" class="hide">
+I'm a test of hiding animation
+<button onclick="this.parentNode.classList.add('hide')">Click me to hide</button>
+</section>
+
+<script>
+var x = document.getElementById('details');
+var kNumIterations = 5;
+var currentIteration = 0;
+
+function doe() {
+  x.classList.toggle('hide');
+  if (++currentIteration >= kNumIterations) {
+    clearInterval(inrval);
+    document.documentElement.removeAttribute('class');
+  }
+}
+var inrval = setInterval(doe, 800);
+</script>
+</body>
+</html>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -365,8 +365,9 @@ load 727601.html
 skip-if(Android||browserIsRemote) asserts(0-2) pref(dom.disable_open_during_load,false) load 735943.html # the assertion is bug 735966, for android bug 760271
 asserts(0-2) load 736389-1.xhtml # sometimes the above assertions are delayed and is reported on this test instead
 asserts-if(winWidget,0-2) load 736924-1.html # bug 738803
 load 749816-1.html
 load 763223-1.html
 test-pref(font.size.inflation.emPerLine,15) test-pref(font.size.inflation.lineThreshold,100) load 763702.xhtml
 load 770381-1.html
 load 795646.html
+load 813372-1.html