зеркало из https://github.com/mozilla/gecko-dev.git
20 строки
343 B
HTML
20 строки
343 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<script>
|
|
|
|
function boom() {
|
|
CSS.supports('');
|
|
|
|
var style = document.createElement("style");
|
|
var tn = document.createTextNode("* { border: var(--b); }");
|
|
style.appendChild(tn);
|
|
document.body.appendChild(style);
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom();"></body>
|
|
</html>
|