1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/428423-1b.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 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 + .orange { background: orange } 1.13 +</style></head> 1.14 +<body> 1.15 + The orange box should only be as wide as its text. 1.16 + <fieldset> 1.17 + <legend class="orange">foo</legend> 1.18 + </fieldset> 1.19 +</body> 1.20 +</html>