Index: LayoutTests/css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing.html |
diff --git a/LayoutTests/css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing.html b/LayoutTests/css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b751d8e00d5b1a256e67700c4a5f0fdf0f0af0d4 |
--- /dev/null |
+++ b/LayoutTests/css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<html> |
+<link href="resources/flexbox.css" rel="stylesheet"> |
+<script src="../../resources/check-layout.js"></script> |
+ |
+<style> |
+.flexbox { |
+ background-color: gray; |
+} |
+ |
+.vertical { |
+ -webkit-writing-mode: vertical-lr; |
+ writing-mode: vertical-lr; |
+ width: -webkit-min-content; |
+ background-color: blue; |
+} |
+</style> |
+<body onload="checkLayout('.flexbox')"> |
+ |
+<div class="flexbox" data-expected-height="20"> |
+ <div class="vertical" data-expected-width="50" data-expected-height="20"> |
+ <div style="width: 50px; height: 20px; background-color: blue;" data-expected-width="50" data-expected-height="20"></div> |
+ </div> |
+</div> |
+ |
+ |
+<div class="flexbox column" data-expected-height="20"> |
+ <div class="vertical" data-expected-width="50" data-expected-height="20"> |
+ <div style="width: 50px; height: 20px; background-color: blue;" data-expected-width="50" data-expected-height="20"></div> |
+ </div> |
+</div> |