@Override public ReplacedElement createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) { for (ReplacedElementFactory replacedElementFactory : this.replacedElementFactories) { ReplacedElement element = replacedElementFactory.createReplacedElement(c, box, uac, cssWidth, cssHeight); if (element != null) { return element; } } return null; }
@Override public ReplacedElement createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) { for(ReplacedElementFactory replacedElementFactory : replacedElementFactories) { ReplacedElement element = replacedElementFactory.createReplacedElement(c, box, uac, cssWidth, cssHeight); if(element != null) { return element; } } return null; }
} else { int height = getCSSHeight(c); ReplacedElement re = c.getReplacedElementFactory().createReplacedElement( c, this, c.getUac(), width, height); if (re != null) {
} else { int height = getCSSHeight(c); ReplacedElement re = c.getReplacedElementFactory().createReplacedElement( c, this, c.getUac(), width, height); if (re != null) {
re = c.getReplacedElementFactory().createReplacedElement( c, this, c.getUac(), cssWidth, cssHeight);
re = c.getReplacedElementFactory().createReplacedElement( c, this, c.getUac(), cssWidth, cssHeight);