← Back to team overview

yellow team mailing list archive

Re: Fix 1px too wide svg issue (issue 6814125)

 

*** Submitted:

Fix 1px too wide svg issue

Due to sizes being set with percentages, widths are computed as
decimals, but are reported as integers in DOM attributes (Computed
width: 1331.949951171875, reported width: 1332) resulting in rounding
errors.  YUI's getComputedStyle() returns the decimal width, allowing us
to round.

R=francesco.banconi, bac
CC=
https://codereview.appspot.com/6814125


https://codereview.appspot.com/6814125/

-- 
https://code.launchpad.net/~makyo/juju-gui/svg-width-bug-1076413/+merge/133989
Your team Juju GUI Hackers is subscribed to branch lp:juju-gui.


References