Open Bug 702537 Opened 12 years ago Updated 6 months ago

Performance issue while dragging objects over floating borders of certain styles


(Firefox :: General, defect)

11 Branch
Windows 7





(Reporter: teh.pigmonkey, Unassigned)



(1 file)

Attached file moz-border-bug.html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.36 Safari/535.7

Steps to reproduce:

I have attached a file that will reproduce this problem. Move your mouse around the screen to drag the box.

Actual results:

You will notice how the black box lags behind and CPU usage goes way up. If you edit the CSS to change the border style from ridge to solid, the problem disappears. Additionally, if you remove the "float: left", the problem also disappears.

Other styles that I have found to cause lag include: groove, inset, and outset.
I would also like to note that this occurs on both Nightly (11.0a1) and Release (8.0).

Expected results:

There should be no drastic decrease in performance as when you set the border to solid.
I would also like to note that floating is not a full restriction. I went back and attempted to position it absolutely, and while the slow down was not as noticeable, it was certainly still not as smooth as with solid borders.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.