Bug 8474 - Problems using dumpAsText from svg
Summary: Problems using dumpAsText from svg
Status: RESOLVED DUPLICATE of bug 10996
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 03:05 PDT by Rob Buis
Modified: 2006-12-09 12:05 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2006-04-19 03:05:36 PDT
When developing an svg custom testcase for bug 6427, I
ran into the problem of not being able to use layoutTestController.dumpAsText()
in js, since the layoutTestController did not exist. This is bad since I want to dump
the render tree state after perfoming an action from js, in this case setting an
attribute that changes tref. See LayoutTests/svg/custom/tref-update.svg for
an example where the layoutTestController simply does not exist.
Cheers,

Rob.
Comment 1 Eric Seidel (no email) 2006-04-19 03:51:03 PDT
Hum... there is a real bug here, but not exactly as Rob describes.  DRT just isn't smart enough to know how to dump the text content out of an SVG render tree.  I assume it asks for innerText, which doesn't include SVG text content (but possibly should?)
Comment 2 Rob Buis 2006-12-09 12:05:55 PST
Covered by bug 10996 (agreed by Eric).

*** This bug has been marked as a duplicate of 10996 ***