Normalize.css: `main` has been removed but is needed for IE 11

Created on 12 Feb 2018  Â·  12Comments  Â·  Source: necolas/normalize.css

main {
    display: block;
}

is needed for IE 11 to render the element properly. Probably also for IE 10.

Most helpful comment

It's true. This rules was removed for a mistake. figure, figcaption and few another tags really added in IE9, but main still display:inline.

Here is screen from IE11:
ie-main

All 12 comments

It's true. This rules was removed for a mistake. figure, figcaption and few another tags really added in IE9, but main still display:inline.

Here is screen from IE11:
ie-main

The request merge is needed

Sent from my BlackBerry 10 smartphone.
From: Gosha Egorian
Sent: Wednesday, March 14, 2018 10:23 AM
To: necolas/normalize.css
Reply To: necolas/normalize.css
Cc: Subscribed
Subject: Re: [necolas/normalize.css] main has been removed but is needed for IE 11 (#727)

The request merge is needed

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/necolas/normalize.css/issues/727#issuecomment-372939898, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVnnMnBeFSprYQ6QUvZ2hAbNGE8udBHBks5teNN-gaJpZM4SCF6_.

As I thought upgrade to normalize.css 8.0.0 won't break anything as out project points to user with ie >= 10, but actually this main element issue came to me. Wonder when it'll be patched🙄

Woah. This is sorely needed. Just did the same thing as https://github.com/necolas/normalize.css/pull/730#issuecomment-402729224

@necolas got the time to give this some love? These two pull requests solves it:
https://github.com/necolas/normalize.css/pull/730
https://github.com/necolas/normalize.css/pull/758

It got removed during your 8.0.0 release: https://github.com/necolas/normalize.css/commit/004d58b2f2e0ac3d03d075f8de46ce7c8234742f#diff-bb3dde41d97f19be8ab7b4780a915d5eL62

Not sure about IE10, but IE11 needs it.

Please do it !

Not sure about IE10, but IE11 needs it.

IE 10 needs it too. IE 9 and below need the html5shiv, iirc.

This can be closed now since fc091cce1534909334c1911709a39c22d406977b.

@fritx missing a publish to NPM though

@oles yeah, I have mentioned that here: https://github.com/necolas/normalize.css/pull/730#issuecomment-436934588

Forgot to publish. Should be up now. Thanks

Awesome! Thank you, @necolas!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

slim-hmidi picture slim-hmidi  Â·  3Comments

gitowiec picture gitowiec  Â·  6Comments

ntwb picture ntwb  Â·  3Comments

callumlocke picture callumlocke  Â·  6Comments

Sky161 picture Sky161  Â·  6Comments