| testRunner.waitUntilDone(); |
| <p>Tests that the search cancel button is not shown after changing the visibility of <input type="search"> from hidden to visible to hidden. This test passed if you do not see the search cancel button in the blue outlined box (below).</p> |
| <div class="width-200px" style="border: 1px solid blue"> |
| <input type="search" id="search" value="search" class="width-200px" style="visibility: hidden"> |
| var search = document.getElementById("search"); |
| search.style.visibility = "visible"; |
| search.style.visibility = "hidden"; |
| window.setTimeout(done, 0); |