Ah, I didn't realize there was a separate coordinate system. Thanks, Eli!
I changed it to fetch bounds via IDeviceContext->GetRect() (is now
80000x80000) but I'm still seeing a 0 width and the same assertion
error in nsSVGSVGElement.
###!!! ASSERTION: XXX. We shouldn't get here. Viewbox width/height is
set to 0. Need to disable display of element as per specs.: 'Error',
file
/Users/dwalters/src/mozilla/content/svg/content/src/nsSVGSVGElement.cpp,
line 1250
Don't know if it's any help, but I made a call to
nsIFrameDebug::RootFrameList() after FlushPendingNotifications(), and
got this:
Viewport(-1)@0x2470e74 [view=0x2011bc30] {0,0,80000,80000}
[state=00042020] [content=0x0] [sc=0x2470d54] pst=:-moz-viewport<
HTMLScroll(svg)(-1)@0x2470f68 [view=0x2011c730] {0,0,0,80000}
[state=00042000] [content=0x20119990] [sc=0x2470f18]
pst=:-moz-viewport-scroll<
Canvas(svg)(-1)@0x2470ed0 [view=0x2011c850] {0,0,0,80000}
[state=00002000] [content=0x20119990] [sc=0x2471024]
pst=:-moz-scrolled-canvas<
SVGOuterSVG(svg)(-1)@0x247112c {0,0,0,80000} [state=00100000]
[content=0x20119990] [sc=0x2471074]<
SVGG(g)(1)@0x2471200 {0,0,0,0} [content=0x20119e70] [sc=0x2471180]<
SVGPathGeometry(circle)(1)@0x24712c0 {0,0,0,0}
[content=0x2011a070]
SVGPathGeometry(circle)(3)@0x2471378 {0,0,0,0}
[content=0x2011a360]
SVGPathGeometry(circle)(5)@0x2471430 {0,0,0,0}
[content=0x2011a640]
>
>
>
>
>
Is there another knob somewhere that might give me some useful
information? Also, I'm developing on OSX, but hopefully that shouldn't
be an issue?
Dan
On 2007-10-25 15:20:29 -0300, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> said:
> If bounds.width is 1000, you're reflowing a presentation about 17
> pixels wide.... try passing a larger width to reflow?
>
> -Eli
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout