Cameron McCormack wrote:
I notice that GenericBridges are only handled if the element they are
bridging is a child of an element being handled by an
AbstractGraphicsNodeBridge. SVGUtilities.bridgeChildren is only called
from AbstractGraphicsNodeBridge.buildGraphicsNode.
SVGSVGElementBridge overrides buildGraphicsNode but has the call to
SVGUtilities.bridgeChildren commented out. Why is this?
This is because these were used essentially just to support
'title' & 'desc'. At one point we decided to drop the title & desc
for SVG elements because it means that you end up with a tooltip on
top of all your SVG documents (as it is strongly suggested that
you include a 'title' element as a child of the root SVG).
The reality is that this could be handled much better, the GVT
builder (which is already walking the DOM) should call these in all
cases and in the case of the title/desc elements the UA should choose
what elements generate a tooltip and what doesn't.
The reason I ask is that I have an extension element I am writing and
its bridge implements GenericBridge and only inherits from
AbstractSVGBridge. I don't want to make my bridge inherit from
AbstractGraphicsNodeBridge because it doesn't do anything graphical.
Yes, well right now this probably doesn't quite meet your needs
although a patch to fix the above issues would great (and probably
not that hard). Let me know if you have questions.
PS: I totally lost track of the Override Style Patch, I'll look at
that this weekend, sorry!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]