Bug 199751 - [WPE][GTK] Incorrect SVG rendering of Appveyor badges
Summary: [WPE][GTK] Incorrect SVG rendering of Appveyor badges
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-12 07:47 PDT by Marius Gedminas
Modified: 2019-07-15 05:50 PDT (History)
4 users (show)

See Also:


Attachments
incorrectly rendered SVG bradge (35.33 KB, image/png)
2019-07-12 07:47 PDT, Marius Gedminas
no flags Details
expected rendering (screenshot from Firefox) (34.18 KB, image/png)
2019-07-12 07:47 PDT, Marius Gedminas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Gedminas 2019-07-12 07:47:05 PDT
Created attachment 374009 [details]
incorrectly rendered SVG bradge

I've noticed that Epiphany renders Appveyor SVG badges incorrectly. On https://www.appveyor.com/docs/status-badges/#svg-badges I see the badges with light grey background instead of the expected half dark grey/half green background.
Comment 1 Marius Gedminas 2019-07-12 07:47:35 PDT
Created attachment 374010 [details]
expected rendering (screenshot from Firefox)
Comment 2 Michael Catanzaro 2019-07-12 08:04:03 PDT
I've seen this a bazillion times before, but can no longer reproduce, not with 2.25.2 nor with 2.24.3. That's weird because I don't think we fixed it on WebKit's end, and I don't think the website fixed it during the 15 minutes between when you reported this bug and when I looked at it just now. Strange.

For completeness, please confirm the WebKitGTK version that you're using.
Comment 3 Adrian Perez 2019-07-12 11:23:29 PDT
(In reply to Michael Catanzaro from comment #2)
> I've seen this a bazillion times before, but can no longer reproduce, not
> with 2.25.2 nor with 2.24.3. That's weird because I don't think we fixed it
> on WebKit's end, and I don't think the website fixed it during the 15
> minutes between when you reported this bug and when I looked at it just now.
> Strange.
> 
> For completeness, please confirm the WebKitGTK version that you're using.

Badges display correctly for me using WebKitGTK 2.24.3, and
also using trunk. Marius, could you confirm that you saw this
bug using an older release of WebKitGTK (you can see the version
in GNOME Web's “About” dialog, for example)?
Comment 4 Carlos Garcia Campos 2019-07-15 01:14:00 PDT
My guess is that clipToImageBuffer is used in those SVG and we fixed it in r246309 and r246391.
Comment 5 Marius Gedminas 2019-07-15 02:53:57 PDT
I'm on WebKitGTK 2.24.2.

(I see my record of filing bugs already fixed in newer upstream versions continues.  Sorry!)
Comment 6 Michael Catanzaro 2019-07-15 05:36:21 PDT
(In reply to Carlos Garcia Campos from comment #4)
> My guess is that clipToImageBuffer is used in those SVG and we fixed it in
> r246309 and r246391.

Cool.
Comment 7 Adrian Perez 2019-07-15 05:50:25 PDT
(In reply to Marius Gedminas from comment #5)
> I'm on WebKitGTK 2.24.2.
> 
> (I see my record of filing bugs already fixed in newer upstream versions
> continues.  Sorry!)

No need to be sorry! This kind of reports are also useful for us
to know more about issues which have been solved as side-effect
from other patches during the development cycle. *Thanks* a lot
for taking some of your time to help us out with bug reports! :)