[Webkit-unassigned] [Bug 10827] SVGPathElement should only build SVGPathSeg* list on demand
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 19 13:15:53 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=10827
--- Comment #2 from Rob Buis <rwlbuis at gmail.com> 2009-07-19 13:15:52 PDT ---
Created an attachment (id=33051)
--> (https://bugs.webkit.org/attachment.cgi?id=33051)
First attempt
This patch actually touches multiple bugs, but mainly it allows normalized
pathseg lists and tries to build them lazily. I already added some tests
to test synchronization of both lists, which seems to work ok. The patch is
still inefficient in some places but I thought it may be good to show it
early for feedback. What needs to be tested more is things like:
var seg = path.pathSegList.getItem(1);
path.setElement('d', 'some other path data')
now what should seg be like?
Also:
var seglist = path.pathSegList;
path.setElement('d', 'some other path data')
is seglist then the same as path.pathSegList?
It may be that the patch needs to be changed anyway to match the behaviour of
such cases.
Cheers,
Rob.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list