Bug 32259 - Painting divs with css style border-bottom dotted slow
Summary: Painting divs with css style border-bottom dotted slow
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-07 17:21 PST by David Wang
Modified: 2011-04-17 14:54 PDT (History)
2 users (show)

See Also:


Attachments
Examples for the bug (83.55 KB, application/x-gzip)
2009-12-07 17:21 PST, David Wang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Wang 2009-12-07 17:21:18 PST
Created attachment 44451 [details]
Examples for the bug

It seems repainting divs with css style border-bottom is really slow. The effects of that is it causes typing in content editable lag.


Slow: test2.html

Type in the div that I've made contentEditable and it's got garbal in it. Notice the lag in typing, where characters still come out after you've finished bashing your keyboard. This is particularly obvious on the chrome/linux.

Fast: test.html

Do the same above and notice NO lag in typing.

Notes:

The only difference between the 2 is the fast version uses border-bottom solid instead of dotted.
Comment 1 James Robinson 2009-12-07 17:26:56 PST
I believe this is a skia bug - I cannot repro on Chromium or WebKit on OS X.
Comment 2 James Robinson 2009-12-07 17:36:30 PST
Filed as http://code.google.com/p/skia/issues/detail?id=43.  Not sure how to mark this bug.
Comment 3 Simon Fraser (smfr) 2011-04-17 14:54:05 PDT
Worksforme, based on comments.