WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
16322
Crash when selecting text embedded through foreignObject
https://bugs.webkit.org/show_bug.cgi?id=16322
Summary
Crash when selecting text embedded through foreignObject
Oliver Hunt
Reported
2007-12-06 00:49:31 PST
If you run the linked test in a debug build we assert when you select text, in a release build we crash. The problem is that the SVG text selection machinery runs even when in a foreignObject, when all events should be handed off to foreignObject the moment the reach it :-/ Given one of the main reasons for foreignObject is to allow flowing html text, etc this is critical to its support. We should also check the behaviour of mixed content xhtml/xml to ensure correctness. <
rdar://5628970
>
Attachments
Add attachment
proposed patch, testcase, etc.
Oliver Hunt
Comment 1
2007-12-06 11:40:30 PST
Ah, this looks to be a bug in mixed mode documents, rather than in foreignObject
Oliver Hunt
Comment 2
2007-12-06 11:41:59 PST
Nope, on second thoughts that's not the case. This confuses me.
Eric Seidel (no email)
Comment 3
2007-12-13 10:24:26 PST
I don't see an ASSERT or crash on TOT Debug. I only see the text disappearing during selection (which is still wrong!).
Eric Seidel (no email)
Comment 4
2007-12-13 10:25:28 PST
The bug I describe of the disappearing text is probably just
bug 16318
.
Eric Seidel (no email)
Comment 5
2007-12-15 03:30:51 PST
Closing as WorksForMe,
bug 16318
covers the redraw issues (which I think are somewhat understood now).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug