mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
22 lines
409 B
HTML
22 lines
409 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<style>div::first-letter { color: green; }</style>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var e = document.getElementById("e");
|
|
document.documentElement.style.direction = "rtl";
|
|
e.style.whiteSpace = "pre";
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom();">
|
|
|
|
<div><span style="direction: rtl;" id="e"><span>
|
|
|
|
</span>A B</span></div>
|
|
|
|
</body></html></html>
|