Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-background-rtl.html

Issue 1841073002: [css-grid] Fix positioned children in RTL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-background-rtl.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-background.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-background-rtl.html
similarity index 78%
copy from third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-background.html
copy to third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-background-rtl.html
index c5eb2f0950bb823969ecaca1dfd8c6b4574f6237..1c256e8af7aaba88bf28e97ec9cd6434f0853901 100644
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-background.html
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-background-rtl.html
@@ -52,16 +52,16 @@
</style>
<body>
-<p>This test checks that the background of positioned items is painted in the right position.</p>
+<p>This test checks that the background of positioned items is painted in the right position using RTL direction.</p>
<p>The test passes if you see 4 green boxes and no red.</p>
<div class="container">
- <div class="absolute red" style="left: 55px; top: 50px; width: 100px; height: 50px"></div>
- <div class="absolute red" style="left: 290px; top: 50px; width: 50px; height: 20px"></div>
- <div class="absolute red" style="left: 50px; top: 115px; width: 50px; height: 30px"></div>
- <div class="absolute red" style="left: 175px; top: 135px; width: 145px; height: 75px"></div>
- <div class="grid">
+ <div class="absolute red" style="left: 455px; top: 50px; width: 100px; height: 50px"></div>
+ <div class="absolute red" style="left: 390px; top: 50px; width: 50px; height: 20px"></div>
+ <div class="absolute red" style="left: 500px; top: 115px; width: 50px; height: 30px"></div>
+ <div class="absolute red" style="left: 275px; top: 135px; width: 145px; height: 75px"></div>
+ <div class="grid directionRTL">
<div class="absolute onlyFirstRowOnlyFirstColumn sizedToGridArea"
style="left: 5px;">
</div>

Powered by Google App Engine
This is Rietveld 408576698