summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1364280-1.html
blob: 6573787fd9eba7c7262ba59d44362cc5cc32e6c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<style>
  div { color: red; }
  div:dir(ltr) { color: green }
</style>
<body dir="rtl"
      onload="window.oldColor = getComputedStyle(document.querySelector('div')).color;
              document.body.dir = 'ltr'">
  <div>
    This should be green.
  </div>
</body>