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

hr normalize applying wrong overflow value

Open brady-shinners-bby opened this issue 3 years ago • 3 comments

HTML5 spec for hr is to apply overflow: hidden, but normalize is currently applying overflow: visible. Please either remove what appears to be an unneeded override of a now-uniform default style or apply the expected overflow: hidden.

brady-shinners-bby avatar Jun 28 '21 22:06 brady-shinners-bby

Are you confirming that most browsers are respecting the spec now, or that the override definitely isn't needed anymore?

garrettw avatar Aug 30 '21 15:08 garrettw

The override does the opposite of the spec. I'm not familiar with what normalize's target browsers are, so not sure on whether overflow: visible should be replaced with overflow: hidden or just removed. For my use-case, all browsers we support adhere to overflow: hidden.

brady-shinners-bby avatar Sep 01 '21 14:09 brady-shinners-bby

In my normalize in https://github.com/garrettw/vitals I'm making the change to hidden until I know for sure that it isn't needed anymore.

garrettw avatar Feb 15 '23 18:02 garrettw