| internals.settings.setUserInterfaceDirectionPolicy("View"); |
| internals.settings.setSystemLayoutDirection("RTL"); |
| <body style="margin: 0px;"> |
| This test makes sure that position-sticky obeys RTL scrollbars when positioning. |
| <div style="position: absolute; top: 100px; left: 0px; width: 2000px; height: 2000px;"> |
| <div style="position: absolute; left: 850px; top: 0px; width: 100px; height: 100px; background: green;"></div> |
| <div style="position: absolute; left: 950px; top: 0px; width: 685px; height: 100px; background: blue;"></div> |