1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:57:35 +00:00

LibWeb: Add Base::apply_presentational_hints call to <symbol> element

This commit is contained in:
0GreenClover0 2023-08-20 00:17:42 +02:00 committed by Andreas Kling
parent d296992fb3
commit f6c3ec3742
4 changed files with 14 additions and 1 deletions

View file

@ -4,5 +4,6 @@
"opacity-stacking.html": "opacity-stacking-ref.html",
"css-gradient-currentcolor.html": "css-gradient-currentcolor-ref.html",
"css-lang-selector.html": "css-lang-selector-ref.html",
"css-gradients.html": "css-gradients-ref.html"
"css-gradients.html": "css-gradients-ref.html",
"svg-symbol.html": "svg-symbol-ref.html"
}

View file

@ -0,0 +1,5 @@
<svg><symbol fill="green" id="dot" width="500" height="500" viewBox="0 0 2 10">
<circle cx="1" cy="1" r="1"/>
<circle fill="blue" cx="1.5" cy="1" r="1"/>
</symbol>
<use href="#dot"/>

After

Width:  |  Height:  |  Size: 183 B

View file

@ -0,0 +1,5 @@
<svg><symbol id="dot" width="500" height="500" viewBox="0 0 2 10">
<circle fill="green" cx="1" cy="1" r="1"/>
<circle fill="blue" cx="1.5" cy="1" r="1"/>
</symbol>
<use href="#dot"/>

After

Width:  |  Height:  |  Size: 183 B