Closed Bug 1145734 Opened 9 years ago Closed 7 years ago

Remove the tabbrowser-arrowscrollbox binding in tabbrowser.css so that we consistently use clicktoscroll to get that binding

Categories

(Firefox :: Tabbed Browser, defect)

34 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: billm, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #1143038 +++

This is a follow-up for bug 1143038.
Component: General → Tabbed Browser
Could you please elaborate on what exactly needs to happen here?
Flags: needinfo?(wmccloskey)
I think we would need to:

1. Remove this code:
http://searchfox.org/mozilla-central/rev/9af9b1c7946ebef6056d2ee4c368d496395cf1c8/browser/base/content/tabbrowser.css#13-15

2. Always set clicktoscroll="true" to true on the arrowscrollbox element here:
http://searchfox.org/mozilla-central/rev/9af9b1c7946ebef6056d2ee4c368d496395cf1c8/browser/base/content/tabbrowser.xml#5637

(So instead of doing it using CSS, we're doing it via an attribute, which is controlled here:
http://searchfox.org/mozilla-central/rev/9af9b1c7946ebef6056d2ee4c368d496395cf1c8/toolkit/content/xul.css#1007
)

I'm not sure why I didn't make that change after the review. It seems simple enough now.
Flags: needinfo?(wmccloskey)
(In reply to Bill McCloskey (:billm) from comment #2)
> I think we would need to:
> 
> 1. Remove this code:
> http://searchfox.org/mozilla-central/rev/
> 9af9b1c7946ebef6056d2ee4c368d496395cf1c8/browser/base/content/tabbrowser.
> css#13-15

That's tabbrowser.xml#tabbrowser-arrowscrollbox.

> 2. Always set clicktoscroll="true" to true on the arrowscrollbox element
> here:
> http://searchfox.org/mozilla-central/rev/
> 9af9b1c7946ebef6056d2ee4c368d496395cf1c8/browser/base/content/tabbrowser.
> xml#5637
> 
> (So instead of doing it using CSS, we're doing it via an attribute, which is
> controlled here:
> http://searchfox.org/mozilla-central/rev/
> 9af9b1c7946ebef6056d2ee4c368d496395cf1c8/toolkit/content/xul.css#1007
> )

And this is scrollbox.xml#arrowscrollbox-clicktoscroll, so I don't really see how we could do that.
Flags: needinfo?(wmccloskey)
Oh right. tabbrowser.xml#tabbrowser-arrowscrollbox inherits from scrollbox.xml#arrowscrollbox-clicktoscroll:
http://searchfox.org/mozilla-central/rev/9af9b1c7946ebef6056d2ee4c368d496395cf1c8/browser/base/content/tabbrowser.xml#5547

I'm not sure how to fix this then. Neil, I filed this based on https://bugzilla.mozilla.org/show_bug.cgi?id=1143038#c3. I'm not sure how to fix it though. Maybe we should just WONTFIX?
Flags: needinfo?(wmccloskey) → needinfo?(enndeakin)
I've no idea what I was referring to there anymore, so I'm ok just closing this.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(enndeakin)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.