Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/absolute-positioning-grid-container-parent.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/absolute-positioning-grid-container-parent.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/absolute-positioning-grid-container-parent.html |
index 6ba0b89c3c38b018113a2ac6cbd86e063108b6cc..26f979b0e9d1c12b5856a5623f4c5f607fde782f 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/absolute-positioning-grid-container-parent.html |
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/absolute-positioning-grid-container-parent.html |
@@ -28,8 +28,11 @@ |
} |
</style> |
-<script src="../../resources/check-layout.js"></script> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script src="../../resources/check-layout-th.js"></script> |
<body onload="checkLayout('.container')"> |
+<div id="log"></div> |
<p>This test checks the behavior of the absolutely positioned elements with a grid container as parent.</p> |
@@ -69,5 +72,40 @@ |
</div> |
</div> |
+<div class="container relative"> |
+ <div class="grid directionRTL"> |
+ <div class="sizedToGridArea absolute autoRowAutoColumn" data-offset-x="-150" data-offset-y="10" data-expected-width="500" data-expected-height="400"></div> |
+ </div> |
+</div> |
+ |
+<div class="container relative"> |
+ <div class="grid directionRTL"> |
+ <div class="sizedToGridArea absolute firstRowFirstColumn" data-offset-x="-150" data-offset-y="10" data-expected-width="500" data-expected-height="400"></div> |
+ </div> |
+</div> |
+ |
+<div class="container relative"> |
+ <div class="grid directionRTL"> |
+ <div class="sizedToGridArea absolute secondRowSecondColumn" data-offset-x="-150" data-offset-y="10" data-expected-width="500" data-expected-height="400"></div> |
+ </div> |
+</div> |
+ |
+<div class="container"> |
+ <div class="grid relative directionRTL"> |
+ <div class="sizedToGridArea absolute autoRowAutoColumn" data-offset-x="-15" data-offset-y="5" data-expected-width="330" data-expected-height="210"></div> |
+ </div> |
+</div> |
+ |
+<div class="container"> |
+ <div class="grid relative directionRTL"> |
+ <div class="sizedToGridArea absolute firstRowFirstColumn" data-offset-x="0" data-offset-y="5" data-expected-width="315" data-expected-height="205"></div> |
+ </div> |
+</div> |
+ |
+<div class="container"> |
+ <div class="grid relative directionRTL"> |
+ <div class="sizedToGridArea absolute secondRowSecondColumn" data-offset-x="0" data-offset-y="30" data-expected-width="265" data-expected-height="180"></div> |
+ </div> |
+</div> |
</body> |
</html> |