зеркало из https://github.com/mozilla/pjs.git
16 строки
300 B
HTML
16 строки
300 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body { white-space:pre; color:black; }
|
|
#inner::first-letter { color:lime; }
|
|
</style>
|
|
</head>
|
|
<body><div id="inner"><span id="s">
|
|
</span>AB</div></body>
|
|
<script>
|
|
document.body.offsetTop;
|
|
document.getElementById("s").style.whiteSpace = "normal";
|
|
</script>
|
|
</html>
|