Bug 1015474 part 7: Explicitly set min-[width|height]:0 on flex items, in flexbox-flex-flow-* reftests. (no review)
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 22 Jul 2014 08:24:37 -0700
changeset 195455 f7c111168a77e405ff0d0a6f35e8796796f28bf2
parent 195454 2a194f050406eef967e937ee0525304d973c5a44
child 195456 b489ff0521636d5e760b4431b92fc669dd369952
push id46605
push userdholbert@mozilla.com
push dateTue, 22 Jul 2014 15:27:37 +0000
treeherdermozilla-inbound@b489ff052163 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1015474
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1015474 part 7: Explicitly set min-[width|height]:0 on flex items, in flexbox-flex-flow-* reftests. (no review)
layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-1.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-2.html
--- a/layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-1.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-1.html
@@ -19,16 +19,22 @@
       background: yellow;
       float: left;
       border: 1px solid black;
     }
     .flexContainer > * {
       border: 1px dotted gray;
       width: 28px;
       height: 28px;
+      /* Explicitly set min-width & min-height to 0, to prevent their "auto"
+         value from influencing the sizes of our flex items (particularly for
+         the single-line chunks of this testcase, whose items may be shrunk a
+         little below the numerals' intrinsic sizes): */
+      min-width:  0;
+      min-height: 0;
     }
   </style>
 </head>
 <body>
   <!-- single-line (flex-wrap unspecified): -->
   <div class="flexContainer" style="flex-flow: row">
     <div>1</div><div>2</div><div>3</div><div>4</div>
   </div>
--- a/layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-2.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-2.html
@@ -19,16 +19,22 @@
       background: yellow;
       float: left;
       border: 1px solid black;
     }
     .flexContainer > * {
       border: 1px dotted gray;
       width: 28px;
       height: 28px;
+      /* Explicitly set min-width & min-height to 0, to prevent their "auto"
+         value from influencing the sizes of our flex items (particularly for
+         the single-line chunks of this testcase, whose items may be shrunk a
+         little below the numerals' intrinsic sizes): */
+      min-width:  0;
+      min-height: 0;
     }
   </style>
 </head>
 <body>
   <!-- single-line (flex-wrap unspecified): -->
   <div class="flexContainer" style="flex-flow: row">
     <div>1</div><div>2</div><div>3</div>
   </div>