1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/flexbox/flexbox-basic-fieldset-horiz-2.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 +<!-- 1.6 + Any copyright is dedicated to the Public Domain. 1.7 + http://creativecommons.org/publicdomain/zero/1.0/ 1.8 +--> 1.9 +<!-- 1.10 + This test checks that a fieldset element with "min-width: min-content" 1.11 + and a huge specified "width" ends up being shrinkable. (In particular, 1.12 + the large "width" value shouldn't influence the min-content width). 1.13 +--> 1.14 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.15 + <head> 1.16 + <style> 1.17 + div.flexbox { 1.18 + height: 50px; 1.19 + width: 50px; 1.20 + border: 2px dotted black; 1.21 + display: flex; 1.22 + } 1.23 + fieldset { 1.24 + width: 1000px; 1.25 + height: 50px; 1.26 + background: purple; 1.27 + border: 1px dotted green; 1.28 + min-width: -moz-min-content; 1.29 + } 1.30 + </style> 1.31 + </head> 1.32 + <body> 1.33 + <div class="flexbox"> 1.34 + <fieldset/> 1.35 + </div> 1.36 + </body> 1.37 +</html>