blob: 8f5284f0dc5dc15aaf1e10b1ca8b922f1419a3cf [file] [log] [blame]
<!DOCTYPE html>
<html>
<script src="../../resources/js-test.js"></script>
<div id="test"> </div>
<script>
description("Tests that background shorthand property parsing will deal correctly with clip values in multiple layers.");
var e = document.getElementById('test');
e.style.background = "url('a') content-box padding-box, url('b') border-box";
shouldBeEqualToString("e.style.backgroundOrigin", 'content-box, border-box');
shouldBeEqualToString("e.style.backgroundClip", 'padding-box, border-box');
</script>
</body>
</html>