Neil wrote:
> 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
> chrome://global/skin/scrollbars.css which is effectively attached
> explicitly to them).
> 
> I believe that the easiest way to turn them off is to style the
> containing <browser> element with overflow: hidden.

I also want to hide any scrollbars in the document. This will only work for the
surrounding scrollbars.

Dynamically updating ua.css via DOMUtils.parseStyleSheet works, but then all the
documents in Firefox are affected.

As per bug 737003, I thought using loadSheet would do the same thing, but for
only one document.

-- Paul
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to