зеркало из https://github.com/mozilla/gecko-dev.git
25 строки
476 B
HTML
25 строки
476 B
HTML
<!DOCTYPE html>
|
|
<html style="width: 1px;">
|
|
<head>
|
|
<style>
|
|
p:first-letter { }
|
|
</style>
|
|
<script>
|
|
function boom()
|
|
{
|
|
var p = document.querySelector("p");
|
|
document.documentElement.offsetHeight;
|
|
p.style.direction = "ltr";
|
|
document.documentElement.offsetHeight;
|
|
p.style.letterSpacing = "-56px";
|
|
document.documentElement.offsetHeight;
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="boom();">
|
|
<p style="direction: rtl; column-count: 3; white-space: pre-line;">x y
|
|
|
|
</p>
|
|
</body>
|
|
</html>
|