Open
Bug 518836
Opened 15 years ago
Updated 2 years ago
Set scrollbar attributes asynchronously
Categories
(Core :: Layout, defect)
Tracking
()
NEW
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(2 files)
7.45 KB,
patch
|
Details | Diff | Splinter Review | |
5.47 KB,
patch
|
Details | Diff | Splinter Review |
Doing textarea.value += somevalue + "\n" in a loop causes us to set scrollbar attribute very often. We should, if possible, update scrollbars asynchronously.
Assignee | ||
Comment 1•15 years ago
|
||
I may need to tweak the patch, but does the idea sound reasonable?
Assignee | ||
Comment 2•15 years ago
|
||
If a script is doing textarea.value += somevalue in a loop, why are we flushing reflows?
I mean, the patch seems fine, but I don't understand the use-case.
Assignee | ||
Comment 5•15 years ago
|
||
Editor flushes, but yeah, perhaps I could get rid of that.
Assignee | ||
Comment 6•15 years ago
|
||
Ok, seems like I can disable the flush.
Comment 7•15 years ago
|
||
See bug 259636 for the sordid history of trying to disable the flush. If the caret issue is fixed now, we can probably reconsider the patch in that bug, right? Or even bug 174823? That discussion should happen there, though.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•