You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.
Originally reported by: Gabrielle Bastien (Bitbucket: gabrielle_bastien, GitHub: Unknown)
If an element is set to a certain width and has a border, the width read by Cornipickle is less than the given width, because of the border.
It could be better to set the default width as the total width (width + border), which represents the total space taken by the element on the page.
Suggestion:
width for the total width (i.e. the total space occupied)
Original comment byFrancis Guérin (Bitbucket: Faterou, GitHub: Faterou):
Can an object's border influence the properties of other elements on the page? If it's just cosmetic, I'm not sure if always doing width + border is a good idea.
Originally reported by: Gabrielle Bastien (Bitbucket: gabrielle_bastien, GitHub: Unknown)
If an element is set to a certain width and has a border, the width read by Cornipickle is less than the given width, because of the border.
It could be better to set the default width as the total width (width + border), which represents the total space taken by the element on the page.
Suggestion:
width
for the total width (i.e. the total space occupied)inner width
for the width without the borderThe text was updated successfully, but these errors were encountered: