Bug 1420722: Fix test indentation. r=whitespace-only
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 17 Jan 2018 00:30:44 +0100
changeset 453838 86deafd2d5023e8e9b5625fbda7489fbcfee03ee
parent 453837 02a7d3b84dcd08e6c6a0646c49870306f3d6579a
child 453839 743d5e003df9ddd23b697c532fafe816a79907ec
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswhitespace-only
bugs1420722
milestone59.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
Bug 1420722: Fix test indentation. r=whitespace-only MozReview-Commit-ID: 7rpBIekDCjj
dom/tests/mochitest/general/test_bug1313753.html
--- a/dom/tests/mochitest/general/test_bug1313753.html
+++ b/dom/tests/mochitest/general/test_bug1313753.html
@@ -1,27 +1,27 @@
 <!DOCTYPE html>
 <meta charset=utf-8>
 <title>Test for bug 1313753</title>
 <script type="application/javascript"
         src="/tests/SimpleTest/SimpleTest.js"></script>
 <div id="log"></div>
 <script>
 function runTest() {
-    // Change visible region of |closure| element.
-    document.getElementById("target").classList.add("rotate");
-    window.setTimeout(function() {
-	var target = document.getElementById("target");
-	var bounds = target.getBoundingClientRect();
-	var x = bounds.x + bounds.width / 2;
-	var y = bounds.y + bounds.height / 2;
-	is(document.elementFromPoint(x, y).id, target.id,
-	  "it should be |target| element if visible regions of closure is correct");
-	SimpleTest.finish();
-    }, 0);
+  // Change visible region of |closure| element.
+  document.getElementById("target").classList.add("rotate");
+  window.setTimeout(function() {
+    var target = document.getElementById("target");
+    var bounds = target.getBoundingClientRect();
+    var x = bounds.x + bounds.width / 2;
+    var y = bounds.y + bounds.height / 2;
+    is(document.elementFromPoint(x, y).id, target.id,
+       "it should be |target| element if visible regions of closure is correct");
+    SimpleTest.finish();
+  }, 0);
 }
 
 SimpleTest.waitForExplicitFinish();
 SimpleTest.waitForFocus(runTest);
 </script>
 
 <style>
 .panel {
@@ -45,17 +45,18 @@ SimpleTest.waitForFocus(runTest);
 #outer {
     height: 400px;
     width: 200px;
 }
 </style>
 <div id="outer">
   <div id="closure">
     <div style="transform-style: preserve-3d;">
-	<div style="transform-style: preserve-3d; background-color: blue;">
-	  <ul style="transform-style: preserve-3d;">
-	    <li style="transform-style:preserve-3d;"><div id="target" class="panel"></div>
-	    </li>
-	  </ul>
-	</div>
+      <div style="transform-style: preserve-3d; background-color: blue;">
+        <ul style="transform-style: preserve-3d;">
+          <li style="transform-style:preserve-3d;">
+            <div id="target" class="panel"></div>
+          </li>
+        </ul>
+      </div>
     </div>
   </div>
 </div>