*** 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.

-- 
Mailing list: https://launchpad.net/~yellow
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yellow
More help   : https://help.launchpad.net/ListHelp

Reply via email to