blob: adb78eb503b28856709db017e14f59d7e6dd53f1 [file] [log] [blame]
mmaxfield@apple.com4195a702016-04-27 01:25:26 +00001<!DOCTYPE html>
mmaxfield@apple.com3934fdd2016-03-28 21:37:39 +00002<html>
3<head>
mmaxfield@apple.com4195a702016-04-27 01:25:26 +00004<script>
5if (window.internals) {
6 internals.settings.setUserInterfaceDirectionPolicy("View");
7 internals.settings.setSystemLayoutDirection("RTL");
8}
9</script>
mmaxfield@apple.com3934fdd2016-03-28 21:37:39 +000010</head>
11<body style="margin: 0px;">
12This test makes sure that position-sticky obeys RTL scrollbars when positioning.
13<iframe style="position: relative; width: 600px; height: 500px; border: 0px solid black;" srcdoc="<!DOCTYPE html>
14<head>
15</head>
16<body>
17<div style='position: absolute; top: 0px; left: 0px; width: 2000px; height: 2000px'>
18 <div style='position: absolute; width: 485px; height: 100px; background: blue;'></div>
19 <div style='position: absolute; left: 485px; width: 100px; height: 100px; background: green;'></div>
20</div>
21</body>
22</html">
23</body>
mmaxfield@apple.com4195a702016-04-27 01:25:26 +000024</html>