Closed Bug 1129956 Opened 9 years ago Closed 7 years ago

SVG opacity gradient masks not working with large viewBoxes

Categories

(Core :: SVG, defect)

35 Branch
x86_64
Linux
defect
Not set
normal
70

Tracking

()

RESOLVED WORKSFORME
Tracking Status
platform-rel --- +

People

(Reporter: zach.silversmith, Assigned: u459114, NeedInfo)

References

()

Details

(Whiteboard: [platform-rel-Google][platform-rel-GoogleSuite][platform-rel-GoogleDocs])

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.35 Safari/537.36

Steps to reproduce:

Open up this fiddle: http://jsfiddle.net/q4s69mnj/



Actual results:

The SVG shape with a opacity gradient mask is not rendered.


Expected results:

The SVG shape is rendered. It also doesn't work on Firefox on Mac. Note that this renders correctly on Chrome and IE.
Priority: -- → P2
Component: Untriaged → SVG
Priority: P2 → --
Product: Firefox → Core
Are you still seeing this problem?  If so, can you attach the graphics section of about:support
Flags: needinfo?(zach.silversmith)
platform-rel: --- → +
Whiteboard: [platform-rel-Google][platform-rel-GoogleDocs]
I can confirm this issue on Firefox 51 and 52 on macOS. The gradient renders sometimes, but tends to disappear when you resize the iframe it’s rendered in. Or it’s invisible to begin with, but can appear on resize.

Graphics section of about:support:

Features
Compositing	OpenGL
Asynchronous Pan/Zoom	wheel input enabled
WebGL Renderer	Intel Inc. -- Intel(R) Iris(TM) Graphics 6100
WebGL2 Renderer	Intel Inc. -- Intel(R) Iris(TM) Graphics 6100
Hardware H264 Decoding	Yes
Audio Backend	audiounit

GPU #1
Active	Yes
Vendor ID	0x8086
Device ID	0x162b

Diagnostics
AzureCanvasAccelerated	1
AzureCanvasBackend	skia
AzureContentBackend	skia
AzureFallbackCanvasBackend	none
TileHeight	1024
TileWidth	1024

I’ve seen the same issue (with a bit more "appearing" and a bit less "disappearing") on Windows too.
Whiteboard: [platform-rel-Google][platform-rel-GoogleDocs] → [platform-rel-Google][platform-rel-GoogleSuite][platform-rel-GoogleDocs]
Rank: 70
Assignee: nobody → cku
I can repro this issue on all platforms, and will look into why soon
Hmm... I try to look into this bug today but can not repro anymore on nightly
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: