<!DOCTYPE html> | |
<head> | |
<script src="../../resources/js-test-pre.js"></script> | |
<style> | |
.box { | |
-webkit-mask-repeat: repeat-x; -webkit-mask-repeat-y: inherit; | |
} | |
</style> | |
<script> | |
if (window.internals) | |
testRunner.dumpAsText(); | |
shouldBeEqualToString("document.styleSheets[1].rules[0].style.cssText", "mask-repeat-x: repeat; mask-repeat-y: no-repeat;"); | |
shouldBeEqualToString("document.styleSheets[1].rules[0].style.getPropertyValue('-webkit-mask')", ""); | |
shouldBeEqualToString("document.styleSheets[1].rules[0].style.getPropertyValue('-webkit-mask-repeat')", "repeat-x"); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |