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

Unified Diff: LayoutTests/css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing.html

Issue 1052363002: Fix a FIXME - correctly calculate the main size when writing modes are involved. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test should be fixed now Created 5 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
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698