1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-29 20:21:14 +03:00

plugins/cleanupEnableBackground: +TODO

This commit is contained in:
deepsweet
2012-09-30 01:23:27 +04:00
parent d4b0fe3546
commit e8237f495d

View File

@ -28,6 +28,7 @@ exports.cleanupEnableBackground = function(item, params) {
if (match = item.attr('enable-background').value.match(regEnableBackground)) {
if (
// TODO: not all containers have width/height attrs
item.attr('width').value == match[1] &&
item.attr('height').value == match[2]
) {