chromium/third_party/blink/web_tests/fast/forms/range/range-type-change-onchange-2.html

<body>
<style>
input {
    padding-right: 32px;
    padding-top: 32px;
}
</style>
<input onchange="this.type = 'text';" type="range" id="input">
<script src="../../../resources/js-test.js"></script>
<script>
jsTestIsAsync = true;

function keyDownMouseClick(x1, y1, x2, y2) {
    if (!window.eventSender)
        return;
    eventSender.mouseMoveTo(x1, y1);
    eventSender.mouseDown();
    eventSender.mouseMoveTo(x2, y2);
    eventSender.mouseUp();
}

window.onload = function() {
    var input = document.getElementById("input");
    input.focus();
    keyDownMouseClick(input.offsetLeft + input.offsetWidth - 32, input.offsetTop, 0, 0);
    description('Test if drag on a padding area of input[type=range] do not trigger an assertion failure.');
    testPassed('if not crashed.');
    finishJSTest();
};
</script>
</body>