What would be the right approach to hide scrollbars for one document?

2012-09-25 Thread Paul Rouget
For the Firefox Developer Tools, we need to be able to hide the scrollbars of a document (in the Responsive Design Tool). I thought that loading an stylesheet that hide the scrollbars via the new `loadSheet` method might help.

Re: What would be the right approach to hide scrollbars for one document?

2012-09-25 Thread Neil
Paul Rouget wrote: For the Firefox Developer Tools, we need to be able to hide the scrollbars of a document (in the Responsive Design Tool). Scrollbars are native anonymous content so most stylesheets just don't see them (the obvious exception is of course

Re: What would be the right approach to hide scrollbars for one document?

2012-09-25 Thread Boris Zbarsky
On 9/25/12 7:54 AM, Paul Rouget wrote: let win = gBrowser.contentWindow; let gIOService = Components.classes[@mozilla.org/network/io-service;1].getService(Components.interfaces.nsIIOService); let windowUtils =

Re: What would be the right approach to hide scrollbars for one document?

2012-09-25 Thread Paul Rouget
Boris Zbarsky wrote: On 9/25/12 7:54 AM, Paul Rouget wrote: let win = gBrowser.contentWindow; let gIOService = Components.classes[@mozilla.org/network/io-service;1].getService(Components.interfaces.nsIIOService); let windowUtils =