LibWeb: Make SVGs respect their CSS transforms

This commit is contained in:
Psychpsyo 2024-11-22 21:04:18 +01:00 committed by Alexander Kalenik
commit 6f52064c4f
Notes: github-actions[bot] 2024-11-24 13:32:12 +00:00
5 changed files with 76 additions and 48 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<style>
svg {
position: absolute;
top: 50px;
left: 50px;
}
</style>
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" width="100" height="100">
<rect width="100" height="100" />
</svg>