Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SVG inside Mozilla/XUL app: parent xul:scrollbox is resized instad of showing scrollbars

10 views
Skip to first unread message

plind...@gmail.com

unread,
Jan 12, 2016, 8:01:25 AM1/12/16
to
(cross-posted at http://stackoverflow.com/questions/34741857 )

n a XUL application, I've got the following SVG document inside a xul:scrollbox ( https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/scrollbox ).

(...)
<scrollbox style='overflow:auto;' flex="1" pack="center">
<svg:svg version="1.1" baseProfile="full" width="1" height="1" id="drawingArea">
</svg:svg>
</scrollbox>
(...)

at runtime, javascript is used to increase the dimensions of the SVG element. I expected that the scrollbox would show some scrollbars but instead, the whole window was resized.

Is it possible to only show the scrollbars ?
0 new messages