Bug 47047
Summary: | designMode frame slows to a crawl in some circumstances | ||
---|---|---|---|
Product: | WebKit | Reporter: | Marijn Haverbeke <marijnh+webkit> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | ddkilzer |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://marijn.haverbeke.nl/upload/webkit_slow.html |
Marijn Haverbeke
On the linked page, a designMode frame is created and filled with lots of span and br nodes. If you put the cursor at the end of any of the lines in the frame and type something, it takes up to three seconds for the text to appear. Typing in the middle of a line is responsive as normal. Using a small document or setting the whiteSpace style to "nowrap" removes the problem.
This test case is intended to simulate the kind of editable frame created by CodeMirror (http://codemirror.net) which has suffered from very bad performance in recent Safari and Chrome versions.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Marijn Haverbeke
It seems I wasn't using the latest WebKit -- 533 has this problem, 534 doesn't. So this is fixed.
(As an aside, you might want to make the 'Version' drop down in the bug entry form actually reflect the current versions. It has 528+ as the highest option right now.)
Alexey Proskuryakov
> (As an aside, you might want to make the 'Version' drop down in the bug entry form actually reflect the current versions. It has 528+ as the highest option right now.)
Or to remove it altogether, since it's usually unclear whether the reporter provided a correct version there, or left it at the default, or was confused about Safari and WebKit versions. And since no one is likely to take on the job of updating the version list all the time.
David Kilzer (:ddkilzer)
(In reply to comment #2)
> > (As an aside, you might want to make the 'Version' drop down in the bug entry form actually reflect the current versions. It has 528+ as the highest option right now.)
>
> Or to remove it altogether, since it's usually unclear whether the reporter provided a correct version there, or left it at the default, or was confused about Safari and WebKit versions. And since no one is likely to take on the job of updating the version list all the time.
Please file a bug. I think Tim Hatcher used to update it.