summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dynamic/unicode-bidi.html
blob: a9ba7dc0bd4e4648a9f0ed3e5ef54d8d579ee3b8 (plain)
1
2
3
4
5
6
<div style="font: 50px Ahem; -webkit-font-smoothing: none; direction: rtl; position: absolute; z-index: -1; color: red;"><span style="color: green;">x</span>x</div>
<div id="target" style="text-align: left; font: 50px Ahem; -webkit-font-smoothing: none; direction: rtl; color: green;">xp</div>
<script>
    document.body.offsetTop;
    document.getElementById("target").style.unicodeBidi = "bidi-override";
</script>