18 lines
485 B
HTML
18 lines
485 B
HTML
<!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>
|