blob: 1cd27eee3e589b43e46a1568caaf16a456c70019 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>A slider with '0' size does not lead to a crash</title>
<link rel="author" title="Mikhail Pozdnyakov" href="mailto:mikhail.pozdnyakov@intel.com" />
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<input type="range" id="slider"/>
<script>
document.getElementById("slider").style.height="0px"
document.getElementById("slider").style.width="0px";
</script>
<p>This test passes if it does not crash.</p>
</html>