[contributions:snufkin] /modules/drawing drawing.module svg.inc
User: snufkin Branch: HEAD Date: Thu, 21 Jun 2007 23:43:40 +0000 Modified files: /modules/drawing drawing.module svg.inc Log message: the problem is as i found, that if we don't set a content for the embedding elem ents (<svg>, <g>), this check will not work: if (isset($content) && $content !== ''). If the embedding element _sets_ however a content in (because if passed the first if(!isset($elements['#children'])) test), then the children won't get re ndered because their loop's entering condition is if (!isset($content) || $content === ''). This is probably circumwented in the form preparation functions, but here it sucks. i checked with appointing child to an ellipse => the child is not rendered. I really need to rewrite this from scratch, its not going to work. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/drawing/drawing.mo... http://cvs.drupal.org/diff.php?path=contributions/modules/drawing/svg.inc&ol...
participants (1)
-
drupal-cvs@drupal.org