1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00
elinks/test/js/assert/style.backgroundClip.html
Witold Filipczyk cc52e5a168 [js] Added background-clip to mujs and quickjs
To be consistent with spidermonkey
2024-09-30 19:31:47 +02:00

20 lines
519 B
HTML

<!DOCTYPE html>
<html>
<body>
<p><strong>Note:</strong><br>First create an LI node,<br> then create a Text node,<br> then append the Text node to the LI node.<br>Finally append the LI node to the list.</p>
<script>
function myFunction() {
var div = document.createElement("div");
div.style.backgroundClip = "content-box";
console.assert(div.style.backgroundClip === 'content-box', div.style.backgroundClip);
}
console.error('style.backgroundClip.html');
myFunction();
console.exit();
</script>
</body>
</html>