Index: LayoutTests/fast/css-grid-layout/grid-item-sizing-with-orthogonal-flows.html |
diff --git a/LayoutTests/fast/css-grid-layout/grid-item-sizing-with-orthogonal-flows.html b/LayoutTests/fast/css-grid-layout/grid-item-sizing-with-orthogonal-flows.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..502abecc1a4c71cdeb73b4ab0454d33d888a6a04 |
--- /dev/null |
+++ b/LayoutTests/fast/css-grid-layout/grid-item-sizing-with-orthogonal-flows.html |
@@ -0,0 +1,48 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<link href="resources/grid.css" rel="stylesheet"> |
+<style> |
+body { |
+ margin: 0; |
+} |
+ |
+.container { |
+ position: relative; |
+} |
+ |
+.fixedWidth { |
+ width: 150px; |
+} |
+ |
+.fixedHeight { |
+ height: 150px; |
+} |
+ |
+.grid { |
+ font: 10px/1 Ahem; |
+ align-items: start; |
+ justify-items: start; |
+} |
+</style> |
+</head> |
+<body> |
+ |
+<p>This test checks that grid sizing works as expected with orthogonal flows.</p> |
+ |
+<div class="container"> |
+ <p>HORIZONTAL-TB container with VERTICAL-RL items.</p> |
+ <div class="grid fixedWidth"> |
+ <div class="verticalRL firstRowFirstColumn">X X X X X X X X X X X X X</div> |
+ </div> |
+</div> |
+ |
+<div class="container"> |
+ <p>VERTICAL-RL container with HORIZONTAL-TB items.</p> |
+ <div class="grid fixedHeight verticalLR"> |
+ <div class="firstRowFirstColumn horizontalTB">X X X X X X X X X X X X X</div> |
+ </div> |
+</div> |
+ |
+</body> |
+</html> |