[Webkit-unassigned] [Bug 15306] Animated Halloween card trips ASSERT in <use> code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 30 10:36:44 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15306





------- Comment #7 from eric at webkit.org  2007-09-30 10:36 PDT -------
Rob and I talked about this extensively over IRC.  I believe the current plan
is to implement a method similar to HTMLElement::checkDTD(Node*) on SVGElement
and use that method, in conjunction with a ancestor tree walk to determine if a
<use> element should be "active" or not.  SVGUseElement would also need to make
sure to override setParent (or any other points where its ancestor tree could
change) to make sure that it knew to expand itself appropriately were it to
become "active".

Another option we discussed was using such a checkDTD method to block insertion
of elements under <use> but neither FF or Opera seem to do that (at least at
parse time) and I have some vague recollection of Maciej discouraging such many
months ago in a conversation he and I had over IRC.  I would note that it
appears that HTML does use checkDTD selectively to block insertion of certain
elements however.

I think the "active" element approach (based on checkDTD and an ancestry walk)
will work well... now we just have to implement it. :)  Rob mentioned he may
have time to look at it more this evening.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list