Bug 993137 - Make color picker popup test less fragile. r=mounir
authorJan Keromnes <janx@linux.com>
Mon, 27 Oct 2014 05:28:00 -0400
changeset 228678 2bb46b19c290f7022afd23cd2ef05b59362e210f
parent 228677 f7163ced3bae10cbf324acf92f48c4b0d3ef6650
child 228679 5bbf713b9c97d66a6cf54816a349311e51074fc7
push id7326
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:58:42 +0000
treeherdermozilla-aurora@d3a3b2a0f2f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmounir
bugs993137
milestone36.0a1
Bug 993137 - Make color picker popup test less fragile. r=mounir
dom/html/test/forms/test_input_color_picker_popup.html
--- a/dom/html/test/forms/test_input_color_picker_popup.html
+++ b/dom/html/test/forms/test_input_color_picker_popup.html
@@ -4,16 +4,17 @@
 https://bugzilla.mozilla.org/show_bug.cgi?id=885996
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1234567</title>
   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
+  <style> label { display: block } </style>
   <script type="application/javascript;version=1.8">
 
   /** Test the behaviour of the <input type='color'> when clicking on it from
       different ways. **/
 
   SimpleTest.waitForExplicitFinish();
 
   var MockColorPicker = SpecialPowers.MockColorPicker;