diff --git a/normalize.css b/normalize.css index c2de8df..a892722 100644 --- a/normalize.css +++ b/normalize.css @@ -257,13 +257,15 @@ figure { ========================================================================== */ /** - * Define consistent border, margin, and padding. + * 1. Define consistent border, margin, and padding. + * 2. Address width being affected by wide descendants in Chrome and Firefox. */ fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; + border: 1px solid #c0c0c0; /* 1 */ + margin: 0 2px; /* 1 */ + min-width: 0; /* 2 */ + padding: 0.35em 0.625em 0.75em; /* 1 */ } /** diff --git a/test.html b/test.html index c900991..ab9a79b 100644 --- a/test.html +++ b/test.html @@ -268,6 +268,13 @@

Forms

+
+
+ Fieldset with a wider child +
+
+
+
Inputs as descendents of labels (form legend). This doubles up as a long legend that can test word wrapping.