Simplify legend element normalization
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.
Both noted issues say this fix covers IE8 - 11. Normalize is still supporting IE10+.
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-box” cite.
So remove the other two lines should be fine.
@Toddses @necolas Any ideas?
@@ -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>