mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
842caf5e8c
If the provided ID is smaller than the corner clipping vector, we would shrink the vector to match. This causes a crash when we have nested PaintContext instances (as these IDs are allocated by PaintContext), each of which perform radius painting. This is seen on https://www.strava.com/login when it loads a reCAPTCHA. The outer div has a border radius, which contains the reCAPTCHA in an iframe. That iframe contains an SVG which also has a border radius.
7 lines
196 B
HTML
7 lines
196 B
HTML
<style>
|
|
div {
|
|
background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>');
|
|
border-radius: 1px;
|
|
}
|
|
</style>
|
|
<div>Text</div>
|