blob: 29cf2b5de2805d86e6c1a2d220982a4f504d8695 [file] [log] [blame]
description("This tests checks that the -webkit-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"');
shouldBeEqualToString('test("position: sticky;")', '');