Page MenuHomePhabricator

VisualEditor: Serve interface components as SVGs over PNGs to any browser which supports it
Closed, ResolvedPublic


(Provided we are happy with the rendering quality)

Currently we only serve SVGs when window.devicePixelRatio > 1.

On suggested test for SVG support is:

document.createElementNS && document.createElementNS( '', 'svg' ).createSVGRect

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:43 AM
bzimport set Reference to bz48148.

Let's do this. Trevor says we're happy with the rendering quality and the device load for desktop; I suggest keeping the PNGs around for mobile clients.

Related URL: (Gerrit Change Iafe8cd290fb195369776f51a96b6de4a51577b89)