CSS: Clean up memory leak in reliableMarginRight

Fixes gh-1795
Closes gh-1893

Thanks for the report flexphperia!
(cherry picked from commit 7d15b4d1f1)

Conflicts:
	src/css/support.js
This commit is contained in:
Dave Methvin 2014-12-01 17:35:51 -05:00
parent 1eedf0e9ea
commit fa70df692e

View File

@ -120,6 +120,8 @@ define([
reliableMarginRightVal =
!parseFloat( ( window.getComputedStyle( contents, null ) || {} ).marginRight );
div.removeChild( contents );
}
// Support: IE8