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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-rtl.html

Issue 1873163002: [css-grid] Fix painting in RTL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Upload rebased version after r386952 has landed Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-rtl-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-rtl.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-rtl.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-rtl.html
new file mode 100644
index 0000000000000000000000000000000000000000..fc69031e069975ca0657d1c2f8cfa07d97ae5b00
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-rtl.html
@@ -0,0 +1,83 @@
+<!DOCTYPE html>
+
+<p>This test verifies grid layout painting using RTL direction.</p>
+<p>This test passes if it matches the reference. You should see green and blue boxes but not red.</p>
+
+<iframe height="120px" width="300px" srcdoc="
+ <style>
+ .grid {
+ display: grid;
+ grid: 50px / 200px 100px 50px;
+ width: 500px;
+ direction: rtl;
+ }
+ </style>
+
+ <div class='grid'>
+ <div style='background: red;'></div>
+ <div style='background: blue;'></div>
+ <div style='background: green;'></div>
+ </div>
+">
+</iframe>
+
+<iframe height="120px" width="300px" srcdoc="
+ <style>
+ .grid {
+ display: grid;
+ grid: 50px / 200px 100px 50px;
+ width: 500px;
+ border: 5px solid;
+ direction: rtl;
+ }
+ </style>
+
+ <div class='grid'>
+ <div style='background: red;'></div>
+ <div style='background: blue;'></div>
+ <div style='background: green;'></div>
+ </div>
+">
+</iframe>
+
+<iframe height="120px" width="300px" srcdoc="
+ <style>
+ .grid {
+ display: grid;
+ grid: 50px / 200px 100px 50px;
+ width: 500px;
+ border: 5px solid;
+ padding: 10px;
+ direction: rtl;
+ }
+ </style>
+
+ <div class='grid'>
+ <div style='background: red;'></div>
+ <div style='background: blue;'></div>
+ <div style='background: green;'></div>
+ </div>
+">
+</iframe>
+
+<iframe height="120px" width="300px" srcdoc="
+ <style>
+ .grid {
+ display: grid;
+ grid: 50px / 200px 100px 50px;
+ width: 500px;
+ border: 5px solid;
+ border-right: 100px solid;
+ padding: 10px;
+ padding-right: 200px;
+ direction: rtl;
+ }
+ </style>
+
+ <div class='grid'>
+ <div style='background: red;'></div>
+ <div style='background: blue;'></div>
+ <div style='background: green;'></div>
+ </div>
+">
+</iframe>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-painting-rtl-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698