blob: cb13bbeb0cf52e20d4f1a4e703ec504b332ed0b2 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ contentMode=desktop ] -->
<html>
<head>
<script src="../../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests checks parsing of the '-webkit-overflow-scrolling' property.");
function test(declaration, property)
{
var div = document.createElement("div");
div.setAttribute("style", declaration);
document.body.appendChild(div);
var result = div.style.getPropertyValue(property);
document.body.removeChild(div);
return result;
}
shouldBe('test("-webkit-overflow-scrolling: auto", "-webkit-overflow-scrolling")', '""');
shouldBe('test("-webkit-overflow-scrolling: banana", "-webkit-overflow-scrolling")', '""');
shouldBe('test("-webkit-overflow-scrolling: touch", "-webkit-overflow-scrolling")', '""');
var successfullyParsed = true;
</script>
<script src="../../../../resources/js-test-post.js"></script>
</body>
</html>