mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
cc52e5a168
To be consistent with spidermonkey
20 lines
519 B
HTML
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>
|