normalize.css icon indicating copy to clipboard operation
normalize.css copied to clipboard

Simplify legend element normalization

Open drify opened this issue 6 years ago • 4 comments

See https://github.com/necolas/normalize.css/issues/100#issuecomment-197119273 and https://github.com/necolas/normalize.css/pull/536 . These two declarations are intended to fix IE8, which normalize.css dropped support long ago.

drify avatar Oct 16 '19 17:10 drify

Both noted issues say this fix covers IE8 - 11. Normalize is still supporting IE10+.

Toddses avatar Oct 18 '19 13:10 Toddses

Both noted issues say this fix covers IE8 - 11. Normalize is still supporting IE10+.

Hello,

Thanks much for your reply! But please check that again.

IE9-11 and Edge 12-13 can be completely fixed using box-sizing: border-box; max-width: 100%, but IE8 will still experience some issues as “the min-width property applies to content-box even if box-sizing is set to border-boxcite.

So remove the other two lines should be fine.

drify avatar Oct 18 '19 13:10 drify

@Toddses @necolas Any ideas?

drify avatar Nov 09 '19 20:11 drify


@@ -240,10 +240,8 @@ fieldset {
 legend {
   box-sizing: border-box; /* 1 */
   color: inherit; /* 2 */
-  display: table; /* 1 */
   max-width: 100%; /* 1 */
   padding: 0; /* 3 */
-  white-space: normal; /* 1 */
 }
 
 /**

```

```

<sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>

nickmad1000 avatar Jan 02 '20 17:01 nickmad1000