Move and rewrite Microsoft's test for the range input type.