layout/reftests/bugs/428423-1a.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/428423-1a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<html>
     1.5 +<head><style>
     1.6 +  fieldset, legend { margin: 0px; padding: 0px; }
     1.7 +  fieldset {
     1.8 +    width: 20em;
     1.9 +    text-align: right;
    1.10 +    border: 0px;
    1.11 +  } 
    1.12 +  legend   { display: block; }
    1.13 +  .orange  { background: orange }
    1.14 +</style></head>
    1.15 +<body>
    1.16 +  The orange box should only be as wide as its text.
    1.17 +  <fieldset>
    1.18 +    <legend class="orange">foo</legend>
    1.19 +  </fieldset>
    1.20 +</body>
    1.21 +</html>

mercurial