Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-unknown-named-grid-line.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-unknown-named-grid-line.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-unknown-named-grid-line.html |
index bc0e50264147ab64c0a64071e8edc6c99b9194cd..c1bb6fa4e66972689edc09703b99f9d64ced6c49 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-unknown-named-grid-line.html |
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-unknown-named-grid-line.html |
@@ -37,8 +37,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 that grid placement properties of absolutely positioned items using unknown named grid lines are treated as "auto".</p> |
@@ -54,4 +57,16 @@ |
</div> |
</div> |
+<div class="grid directionRTL"> |
+ <div class="absolute sizedToGridArea startAndEndUnknownLines" |
+ data-offset-x="-15" data-offset-y="15" data-expected-width="530" data-expected-height="330"> |
+ </div> |
+ <div class="absolute sizedToGridArea endUnknownLine" |
+ data-offset-x="0" data-offset-y="15" data-expected-width="515" data-expected-height="315"> |
+ </div> |
+ <div class="absolute sizedToGridArea startUnknownLine" |
+ data-offset-x="200" data-offset-y="15" data-expected-width="315" data-expected-height="215"> |
+ </div> |
+</div> |
+ |
</body> |