Opened 11 years ago

Last modified 2 weeks ago

#6187 new bug

Webkit: Invalid SVG drawing

Reported by: X512 Owned by: stippi
Priority: normal Milestone: Unscheduled
Component: Kits/Web Kit Version: R1/alpha2
Keywords: Cc:
Blocked By: Blocking: #10322
Platform: All

Description

R515 SVG images with gradients drawing invalid.

Attachments (8)

svgbug.png (81.7 KB ) - added by X512 11 years ago.
SVG demo from Wikipedia
snapshot6.png (156.9 KB ) - added by augiedoggie 8 years ago.
svg-renderer-test.svg (19.3 KB ) - added by X512 20 months ago.
Another test SVG
svg-renderer-test (WebPositive).png (15.0 KB ) - added by X512 20 months ago.
Rendering in WebPositive hrev53618
svg-renderer-test (Otter Browser).png (32.4 KB ) - added by X512 20 months ago.
Reference rendering
rebased.png (37.1 KB ) - added by nephele 7 months ago.
rebased.png
Haiku-R1B3_Webkit612.1.21.jpeg (98.0 KB ) - added by cocobean 2 weeks ago.
R1B3_HaikuWebkit 1.8.1-1 - SVG reference file from Wikimedia
Haiku-R1B3_HaikuWebkit-1.8.1_SVG_RendererTest-1.jpeg (273.8 KB ) - added by cocobean 2 weeks ago.
SVG test comparison between HaikuWebkit 1.8.1-1 w/ Otter Browser 1.0.02

Download all attachments as: .zip

Change History (19)

by X512, 11 years ago

Attachment: svgbug.png added

SVG demo from Wikipedia

comment:1 by pulkomandy, 8 years ago

Link for easy testing: http://upload.wikimedia.org/wikipedia/commons/1/15/Svg.svg Can someone provide a reference rendering of this (screenshot from another browser will do).

by augiedoggie, 8 years ago

Attachment: snapshot6.png added

comment:2 by pulkomandy, 8 years ago

With recent gradient fixes, things look a bit better, at least the ugly color artifacts on the logo and basketball are gone. Still some problems to solve with opacity, transforms, dashed borders, and more!

comment:3 by pulkomandy, 7 years ago

Blocking: 10322 added

(In #10322) Seems to render as expected now.

comment:4 by pulkomandy, 7 years ago

We're getting there... All elements are drawn at the right place now, but we lack some support for opacity, gradients, and dotted/dashed borders.

comment:5 by waddlesplash, 3 years ago

The dotted/dashed borders are still missing, and the gradients look like they are drawn slightly incorrectly, but we are much closer on this now.

comment:6 by waddlesplash, 2 years ago

Milestone: R1Unscheduled

by X512, 20 months ago

Attachment: svg-renderer-test.svg added

Another test SVG

by X512, 20 months ago

Rendering in WebPositive hrev53618

by X512, 20 months ago

Reference rendering

comment:7 by nephele, 7 months ago

Component: Applications/WebPositiveKits/Web Kit
Summary: Invalid SVG drawingWebkit: Invalid SVG drawing

comment:8 by nephele, 7 months ago

older Rebased seems to behave worse here than the released webkit one.

I did not test with the new repo yet.

by nephele, 7 months ago

Attachment: rebased.png added

rebased.png

by cocobean, 2 weeks ago

R1B3_HaikuWebkit 1.8.1-1 - SVG reference file from Wikimedia

comment:9 by cocobean, 2 weeks ago

Haiku R1B3 (+35) / HaikuWebkit 1.8.1-1 (Webkit 612.1.21) - This is looking very close in appearance to the referenced version.

NOTE: Fonts, Opacity, gradients, and dotted/dashed borders. Fonts/Glyphs are different.

Last edited 2 weeks ago by cocobean (previous) (diff)

comment:10 by X512, 2 weeks ago

What about svg-renderer-test.svg?

by cocobean, 2 weeks ago

SVG test comparison between HaikuWebkit 1.8.1-1 w/ Otter Browser 1.0.02

comment:11 by cocobean, 2 weeks ago

Compare with SVG handling of Qt SVG 5.15.2 module (5.15.5, current).

Note: See TracTickets for help on using tickets.