Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Changed overflow visible to hidden of hr element
  • Loading branch information
costingh committed Jul 15, 2021
commit 0bdcaade3afc281ca24d357bb1d07f24610106c0
2 changes: 1 addition & 1 deletion normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ h1 {
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
overflow: hidden; /* 2 */

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change the comment on line number 50 is now incorrect.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are right, I need to look into more detail

Copy link
Author

@costingh costingh Jul 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the comment. Hope it is ok now :)

Copy link

@nosilleg nosilleg Jul 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the comment it would appear that Edge and IE were following spec and all other browsers weren't. So your change to the comment is still not accurate.

I'm not a maintainer so I don't know what the full expectations are for this, but for me personally I would expect the comment to reference the browsers that show overflow. This requires testing. If there are no browsers that are still showing overflow then the code change should be to remove the lines, not to change the value to "hidden". If there are still browsers showing overflow then it would be good to have that list so that eventually the code can be removed from this repo when they all follow spec.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this to my normalize in https://github.com/garrettw/vitals until I know it's not needed anymore.

}

/**
Expand Down