Description
When assigning a long text (e.g. 70K chars) to a div's 'textContent' property inside a 'timeupdate' event handler, the next 'timeupdate' event won't be triggered after around 250 ms, but much later (depending on the platform, for a 70K chars text it will be triggered after around 1.3 seconds), even though only part of the text is displayed on screen. This may suggest that the processing of this text is taking a considerable amount of time and could impact performance in other scenarios.
The existence of this extra delay depends however on the style properties assigned to the element. In this particular case, the presence of one of the following properties will cause an extra delay:
white-space: pre-wrap;
letter-spacing: 0.2px;
The attached test.zip contains a test page that reproduces this issue.
This is reproducible with version 2.46, but not with 2.38.