Bug 1015482 part 1: Add 'min-width: 0' to some reftest files that have flex items with intentionally-overflowing contents. r=mats
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 02 Jun 2014 15:15:12 -0700
changeset 186205 4d518caabaeef971bd4f872a01ca479bba40215b
parent 186204 0e4aed0e0c71cebe480c6e6223bcb1a978ce0e4a
child 186206 c99034436052ae4b0591c2f9822cf4240f7976a9
push id44279
push userdholbert@mozilla.com
push dateMon, 02 Jun 2014 22:16:19 +0000
treeherdermozilla-inbound@6927b62f2fba [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmats
bugs1015482
milestone32.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 1015482 part 1: Add 'min-width: 0' to some reftest files that have flex items with intentionally-overflowing contents. r=mats
layout/reftests/w3c-css/submitted/flexbox/flexbox-collapsed-item-baseline-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-2.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-3.html
--- a/layout/reftests/w3c-css/submitted/flexbox/flexbox-collapsed-item-baseline-1-ref.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-collapsed-item-baseline-1-ref.html
@@ -18,16 +18,17 @@
       width: 50px;
       background: yellow;
       border: 1px dotted black;
       margin: 5px;
       align-items: flex-start;
     }
     .hiddenItemForSizing {
       width: 0;
+      min-width: 0; /* disable default min-width:auto behavior */
       color: transparent;
       align-self: baseline;
     }
     .largeFont {
       font-size: 20px;
       background: lightblue;
       /* Our flex items get padding on opposite sides (top/bottom) so that they
          produce a large combined height when baseline-aligned: */
--- a/layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-2.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-2.html
@@ -28,20 +28,22 @@
       justify-content: space-between;
       width: 70px;
       padding: 2px;
       margin-bottom: 2px;
     }
     .item1 {
       background: lightblue;
       width: 30px;
+      min-width: 0; /* disable default min-width:auto behavior */
     }
     .item2 {
       background: yellow;
       width: 30px;
+      min-width: 0; /* disable default min-width:auto behavior */
     }
   </style>
 </head>
 <body>
   <!-- This container has two flex items, the first of which has content
        sticking out & overlapping the second.  If they're painting atomically
        (and in the right order), the second item's background should cover the
        first item's overflowing content. -->
--- a/layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-3.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-3.html
@@ -24,16 +24,17 @@
       width: 70px;
       height: 20px;
       padding: 2px;
       margin-bottom: 2px;
     }
     .item1 {
       background: lightblue;
       width: 30px;
+      min-width: 0; /* disable default min-width:auto behavior */
       padding: 2px;
     }
     .item2 {
       background: yellow;
       width: 30px;
       padding: 2px;
     }
     .grandchildA {