mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00

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.
13 lines
285 B
HTML
13 lines
285 B
HTML
<style>
|
|
div {
|
|
border-radius: 1px;
|
|
overflow: hidden;
|
|
}
|
|
</style>
|
|
<div><iframe src="../data/iframe-with-border-radius-svg.html"></iframe></div>
|
|
<script src="include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
println("PASS! (didn't crash)");
|
|
});
|
|
</script>
|