LibWeb+LibGfx: Keep path properties when cloning and implement fill-rule

This commit is contained in:
Gingeh 2024-10-28 13:51:23 +11:00 committed by Sam Atkins
commit 3467076dbc
Notes: github-actions[bot] 2024-10-31 10:49:33 +00:00
9 changed files with 40 additions and 20 deletions

View file

@ -121,6 +121,9 @@
<div class="outer">
<div class="inner" style="clip-path: polygon(nonzero, 65px 0px, 35px 80px, 105px 30px, 25px 30px, 95px 80px)"></div>
</div>
<div class="outer">
<div class="inner" style="clip-path: polygon(evenodd, 65px 0px, 35px 80px, 105px 30px, 25px 30px, 95px 80px)"></div>
</div>
<div class="outer">
<div class="inner" style="clip-path: polygon(100px 0%, 50% 50px, 100% 100%)"></div>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Before After
Before After