Support gaps bigger than browser's maximal node size #7

Closed
opened 2018-08-28 14:29:45 +02:00 by marijnh · 1 comment
marijnh commented 2018-08-28 14:29:45 +02:00 (Migrated from github.com)

The empty space placeholder can be arbitrarily large for big documents, but browsers tend to have a limit on the height they support in a CSS property. In Firefox, the limit is 17895697 pixels. Have to test with other browsers. The library should create multiple elements below each other to work around this when necessary.

The empty space placeholder can be arbitrarily large for big documents, but browsers tend to have a limit on the height they support in a CSS property. In Firefox, the limit is 17895697 pixels. Have to test with other browsers. The library should create multiple elements below each other to work around this when necessary.
marijnh commented 2018-10-22 11:03:33 +02:00 (Migrated from github.com)

In Chrome the corresponding number appears to be 22369530. Maybe safest would be to stay under ten million? Haven't tested on IE and Safari yet.

In Chrome the corresponding number appears to be 22369530. Maybe safest would be to stay under ten million? Haven't tested on IE and Safari yet.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/dev#7
No description provided.