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
When an element has border and border-radius that is set to a very large value, the border looks collapsed inside the element.
It starts to become visible around 18000000px and higher in case of a 256x256 px element.
Operating system
Linux
Steps to reproduce
Open the reduced test case in Ladybird
Compare how it looks in Chrome or Firefox
Expected behavior
Border doesn't collapse inside the element and aligns with the edge of the element.
Summary
When an element has
border
andborder-radius
that is set to a very large value, the border looks collapsed inside the element.It starts to become visible around
18000000px
and higher in case of a 256x256 px element.Operating system
Linux
Steps to reproduce
Expected behavior
Border doesn't collapse inside the element and aligns with the edge of the element.
Actual behavior
Border collapses inside the element.
URL for a reduced test case
N/A
HTML/SVG/etc. source for a reduced test case
Log output and (if possible) backtrace
Screenshots or screen recordings
Ladybird:
![Ladybird](https://private-user-images.githubusercontent.com/105061352/411274159-f09f4c19-f5dc-4a2a-ad02-e7ad41209fa2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NTQwMzYsIm5iZiI6MTczOTQ1MzczNiwicGF0aCI6Ii8xMDUwNjEzNTIvNDExMjc0MTU5LWYwOWY0YzE5LWY1ZGMtNGEyYS1hZDAyLWU3YWQ0MTIwOWZhMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxMzM1MzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00YjM0MTcyYTA3MGJhNzBjNjI1MDkwMWZjZTVlZDEyZTQxYWZiMzFlNTg0MTQ0MWIwNGYyYmRiMDQ0MmUwMDM3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.mIcwhla5zYwLkAvLDzKidcS1ZUUoepk-DcxH-Zeof60)
Firefox:
![Firefox](https://private-user-images.githubusercontent.com/105061352/411274171-cb35552a-3845-445d-bc92-176833c8b853.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NTQwMzYsIm5iZiI6MTczOTQ1MzczNiwicGF0aCI6Ii8xMDUwNjEzNTIvNDExMjc0MTcxLWNiMzU1NTJhLTM4NDUtNDQ1ZC1iYzkyLTE3NjgzM2M4Yjg1My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxMzM1MzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wNjU4N2IxZmE2NWY2ODJmNTZkODgyYjZlMDIwN2QyYjhiMzgxNTVjZDQ2NGRmOTExYTFjZDMyMTU5NjNhYjE4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.1dwHKWt05GrVBxC8_W7Y8R_0L7Ed3EA2Ii-gdce8Yr4)
Build flags or config settings
None
Contribute a patch?
The text was updated successfully, but these errors were encountered: