The gradient size should include the element's padding.
The gradient size should include the element's padding.

Ref : Gradient stops incorrect w.r.t. padding & direction #2507

cytoscape/cytoscape.js,cytoscape/cytoscape.js