Open
Bug 645563
Opened 14 years ago
Updated 2 years ago
Implement scrollbars using a single anonymous element, instead of nested XUL NAC
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
NEW
People
(Reporter: ehsan.akhgari, Unassigned)
References
(Blocks 3 open bugs)
Details
(Keywords: perf, Whiteboard: [overhead:5K])
From bug 237842 comment 31:
> We could probably win quite a lot of performance for all kinds of things by
> creating a single anonymous element that implements a complete scrollbar
> (instead of the complex XBL binding we currently use), and simplify a lot of
> stuff too. We could give that element a proper non-element-based API and move
> the thumb without having to do reflow. I thought there was a bug for this but I
> can't find it.
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 1•12 years ago
|
||
See Bug 793942.
Comment 2•12 years ago
|
||
As long as we can theme it, it would be a great performance improvement probably.
Comment 3•7 years ago
|
||
We're going to remove the XBL in Bug 1431246, replicating the markup that's currently in XBL anon content into XUL NAC. That doesn't change anything about the benefits from Comment 0 - just going to mark this as dependent since it'll move around where the DOM gets created.
Depends on: 1431246
Summary: Implement scrollbars using a single anonymous element, instead of XBL → Implement scrollbars using a single anonymous element, instead of nested XUL NAC
Comment 4•6 years ago
|
||
Implementing this should at least save the memory cost of scrollbars.css (https://bugzilla.mozilla.org/show_bug.cgi?id=1474793#c8), some styles out of minimal-xul.css, and also whatever the NAC uses.
Blocks: memshrink-content
Updated•6 years ago
|
Whiteboard: [overhead:5K]
Comment 5•4 years ago
|
||
Emilio, will non-native theming make this XUL scrollbar bug obsolete?
Flags: needinfo?(emilio)
Updated•2 years ago
|
Severity: normal → S3
Comment 7•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 18 votes.
:dholbert, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Flags: needinfo?(dholbert)
Comment 8•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Flags: needinfo?(dholbert)
You need to log in
before you can comment on or make changes to this bug.
Description
•