Open Bug 518836 Opened 15 years ago Updated 2 years ago

Set scrollbar attributes asynchronously

Categories

(Core :: Layout, defect)

x86
All
defect

Tracking

()

People

(Reporter: smaug, Assigned: smaug)

References

Details

Attachments

(2 files)

Doing textarea.value += somevalue + "\n" in a loop causes us to
set scrollbar attribute very often. We should, if possible, update scrollbars
asynchronously.
I may need to tweak the patch, but does the idea sound reasonable?
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.
Editor flushes, but yeah, perhaps I could get rid of that.
Ok, seems like I can disable the flush.
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.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: