title: Position sticky with direction rtl not working
body: <p>I have a wrapper <code>div.container</code> inside are <code>div.children</code>. I am setting <code>position:sticky</code> on the first child. I works fine on <code>direction:ltr</code>, however on <code>direction:rtl</code> sticky don't work.</p>
  <p>I'm not sure if this is a browser bug or my styles are just wrong. Please note that <strong>I don't have access to the html itself</strong>, I can only change the css file and no js as possible.</p>
  <p><strong>Tested on:</strong><br /><br />
  Firefox - Pass ✅<br />
  Google Chrome - Fail ❌<br />
  Safari - Fail ❌</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.container {
      margin: 10px;
      padding: 0;
      border: 1px solid #000;
      overflow-x: scroll;
      overflow-y: hidden;
      width: 500px;
      position: relative;
    white-space: nowrap;
  }
  .container.ltr { direction: ltr; }
  .container.rtl { direction: rtl; }
  
  .children {
    display: inline-block;
      margin: 0;
      padding: 0;
      width: 100px;
      height: 100px;
      border: 1px solid rgba(0,0,0,0.08);
  }
  .children.sticky {
      position: sticky;
      background: #f30;
      color: #fff;
  }
  
  .container.ltr .children.sticky { left: 0; }
  .container.rtl .children.sticky { right: 0; }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container ltr"&gt;
    &lt;div class="children sticky"&gt;1&lt;/div&gt;
    &lt;div class="children"&gt;2&lt;/div&gt;
    &lt;div class="children"&gt;3&lt;/div&gt;
    &lt;div class="children"&gt;4&lt;/div&gt;
    &lt;div class="children"&gt;5&lt;/div&gt;
    &lt;div class="children"&gt;6&lt;/div&gt;
    &lt;div class="children"&gt;7&lt;/div&gt;
    &lt;div class="children"&gt;8&lt;/div&gt;
    &lt;div class="children"&gt;9&lt;/div&gt;
    &lt;div class="children"&gt;10&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="container rtl"&gt;
    &lt;div class="children sticky"&gt;1&lt;/div&gt;
    &lt;div class="children"&gt;2&lt;/div&gt;
    &lt;div class="children"&gt;3&lt;/div&gt;
    &lt;div class="children"&gt;4&lt;/div&gt;
    &lt;div class="children"&gt;5&lt;/div&gt;
    &lt;div class="children"&gt;6&lt;/div&gt;
    &lt;div class="children"&gt;7&lt;/div&gt;
    &lt;div class="children"&gt;8&lt;/div&gt;
    &lt;div class="children"&gt;9&lt;/div&gt;
    &lt;div class="children"&gt;10&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Chromium Bug Report<br />
  <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=1140374" rel="nofollow noreferrer">https://bugs.chromium.org/p/chromium/issues/detail?id=1140374</a></p>