Closed
Bug 427266
Opened 17 years ago
Closed 11 years ago
using "-moz-border-radius" instructions on "#content tabbox tabpanels" causes serious processor spike
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Ken, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008040204 I was getting reports from Linux users of my theme that they were getting serious system lag (1-6 seconds depending on user) when they switched between browser tabs. Upon investigation it was discovered that the use of -moz-border-radius" in the following style instruction was causing the problem and as soon as each "-moz-border-radius" instruction was set to zero the system lag went away. ---begin code--- #content tabbox tabpanels { border: 2px solid !important; -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow !important; -moz-border-right-colors: ThreeDHighlight ThreeDShadow !important; -moz-border-bottom-colors: ThreeDHighlight ThreeDShadow !important; -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow !important; -moz-border-radius-topleft: 3px !important; -moz-border-radius-topright: 3px !important; -moz-border-radius-bottomleft: 3px !important; -moz-border-radius-bottomright: 3px !important; } ---end code--- Placing this code in the userConfig.css file should replicate this problem. The "!important" is needed to override the style instruction ".plain". This does not seem to be as big of an issue on OSes other than Linux. Reproducible: Always WORKAROUND: Do not use "-moz-border-radius" on the object "#content tabbox tabpanels".
After testing on Windows, I did discover that the performance problems this bug causes also effects Windows, but did not slow down the system as much as it did for some Linux users.
Updated•15 years ago
|
Blocks: border-radius
Comment 2•14 years ago
|
||
Is this still an issue with current nightly builds (http://nightly.mozilla.org/)? There seems to be no problem on Windows 7 (hardware accelerated or not). I don't have a Linux box around here for testing that. Please close as RESOLVED WORKSFORME if you find that this issue has been resolved.
Updated•11 years ago
|
Component: General → Layout
Product: Firefox → Core
Comment 3•11 years ago
|
||
Unknown if problem still persists. Bug report is old and most all of the graphics code has changed in the meantime -> WFM
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•