blob: e04c3aa1f0e3ce7c03583b517ad79641847e4647 [file] [log] [blame]
description("This tests checks that the sticky value for position parses correctly.");
function test(value)
{
var div = document.createElement("div");
div.setAttribute("style", value);
document.body.appendChild(div);
var result = div.style.getPropertyValue("position");
document.body.removeChild(div);
return result;
}
shouldBe('test("position: -webkit-sticky;")', '"-webkit-sticky"');
shouldBe('test("position: sticky;")', '"sticky"');