Rob
Didn't we use to do native scrollbars on the Mac and stop doing it because of
z-indexing issues, etc?
Also, how would this play with theming scrollbars?
-Boris
P.S. I think scrollbars do cost us, for what it's worth.
If we make the native-theme stuff hook in directly on the <scrollbar>
element, rather than on the individual parts, it would still be possible
to theme, by doing what themes do today. I.e. for the default theme we'd
have the following CSS:
scrollbar {
-moz-appearance: scrollbar;
}
but a theme would have
scrollbar {
-moz-binding: myscrollbar.xml#scrollbar;
}
/ Jonas
Yeah. I didn't mean to use an actual native scrollbar. Just a single
frame with -moz-appearance:scrollbar and all scrollbar behaviour coded
directly into it.
Plus what Jonas said.
Rob
> _______________________________________________
> dev-performance mailing list
> dev-per...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-performance
I keep seeing scrollbar.xml::initScrollbars in DTrace profiles, so
maybe it costs a lot.
I filed bug 398941 to find out.
- Rob