Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-implicit-grid.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-implicit-grid.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-implicit-grid.html |
index 516fc299811dc318e974b2335f04e5ae31326c2c..d81a9d553e3b5c95af98b5d3cc1eb566d7d140e7 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-implicit-grid.html |
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-implicit-grid.html |
@@ -23,8 +23,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('.grid')"> |
+<div id="log"></div> |
<p>This test checks the behavior of the absolutely positioned grid items placed on the implicit grid.</p> |
@@ -52,5 +55,29 @@ |
</div> |
</div> |
+<div class="grid directionRTL"> |
+ <div class="sizedToGridArea absolute secondRowSecondColumn" |
+ data-offset-x="-15" data-offset-y="15" data-expected-width="230" data-expected-height="230"> |
+ </div> |
+ <div class="sizedToGridArea absolute endSecondRowEndSecondColumn" |
+ data-offset-x="-15" data-offset-y="15" data-expected-width="230" data-expected-height="230"> |
+ </div> |
+ <div class="sizedToGridArea absolute onlySecondRowOnlySecondColumn" |
+ data-offset-x="-15" data-offset-y="15" data-expected-width="230" data-expected-height="230"> |
+ </div> |
+</div> |
+ |
+<div class="grid grid-columns-rows directionRTL"> |
+ <div class="sizedToGridArea absolute secondRowSecondColumn" |
+ data-offset-x="0" data-offset-y="65" data-expected-width="115" data-expected-height="165"> |
+ </div> |
+ <div class="sizedToGridArea absolute endSecondRowEndSecondColumn" |
+ data-offset-x="-15" data-offset-y="15" data-expected-width="230" data-expected-height="230"> |
+ </div> |
+ <div class="sizedToGridArea absolute onlySecondRowOnlySecondColumn" |
+ data-offset-x="0" data-offset-y="65" data-expected-width="115" data-expected-height="165"> |
+ </div> |
+</div> |
+ |
</body> |
</html> |