Page MenuHomePhabricator

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

Description

(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( 'http://www.w3.org/2000/svg', 'svg' ).createSVGRect


Version: unspecified
Severity: enhancement

Details

Reference
bz48148

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: https://gerrit.wikimedia.org/r/62959 (Gerrit Change Iafe8cd290fb195369776f51a96b6de4a51577b89)

  NODES
Note 1
Project 2