mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 08:59:50 +00:00
Skia allows you to pass a bounding rect to its saveLayer() function as an optimization when you know that you won't paint outside those bounds. Unfortunately, we were passing a too-small rectangle that didn't take into account transformed descendants, etc. For now, simply pass null instead of a bounding rect. This way, Skia figures it out internally. It may allocate larger temporary bitmaps than needed this way, but at least we get more correct results. I've left re-enabling the optimization as a FIXME in the code. This fixes unwanted clipping in various parts of the Discord UI. |
||
|---|---|---|
| .. | ||
| backgrounds | ||
| css-counter | ||
| css-text | ||
| gradient-calc-inside-stop-color-ref.html | ||
| gradient-em-positions-ref.html | ||
| hidden-list-item-markers-ref.html | ||
| images-load-relative-to-style-sheet-ref.html | ||
| line-height-zero-ref.html | ||
| stacking-context-with-unclipped-transformed-descendant-ref.html | ||
| svg-element-should-be-allowed-to-establish-stacking-context.html | ||
| transparent-borders-ref.html | ||