necolas / normalize.css

A modern alternative to CSS resets
http://necolas.github.io/normalize.css/
MIT License
52.48k stars 10.67k forks source link

Suggestion: reset - ul, ol, li, menu and dir #787

Closed FDiskas closed 4 years ago

FDiskas commented 5 years ago

Google chrome Version 73.0.3683.86 User agent stylesheet

ul, menu, dir {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}
ol {
    display: block;
    list-style-type: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}
li {
    display: list-item;
    text-align: -webkit-match-parent;
}
Toddses commented 5 years ago

Are there differences among user agents that would justify an extensive normalization like this?

FDiskas commented 5 years ago

Thous stylesheets are applied by the browser.

Toddses commented 5 years ago

Right which one though? How does this user agent sheet compare with other user agents? Generally this project aims to normalize browser inconsistencies...