ntent="maxDifference=0-255; totalPixels=0-20">
    <style>
      div { text-align: left; }
      :dir(ltr) { color: blue }
      :dir(rtl) { color: lime }
      :dir(foopy) { color: red }
    </style>
  </head>
  <body>
    <div>This element has default direction.</div>
    <div dir="ltr">This element is ltr.</div>
    <div dir="rtl">This element is rtl.</div>
    <div dir="ltr">
      <div>This element should inherit ltr.</div>
      <div dir="ltr">This element is ltr.</div>
      <div dir="rtl">This eleme