mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibWeb: Make SVGs respect their CSS transforms
This commit is contained in:
parent
15741350ba
commit
6f52064c4f
Notes:
github-actions[bot]
2024-11-24 13:32:12 +00:00
Author: https://github.com/Psychpsyo
Commit: 6f52064c4f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2510
5 changed files with 76 additions and 48 deletions
12
Tests/LibWeb/Ref/expected/svg-with-css-transform.html
Normal file
12
Tests/LibWeb/Ref/expected/svg-with-css-transform.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue