Hi Kenneth,
> I am using qx.ui.html.Embed to render the output of jsMath, a library
> that does nice web typesetting of TeX. What I am seeing is clipping of
> teh tops of fractions because the positioning of the jsMath output
> includes negative relative top values which work out to a net overall
> negative vertical positioning relative to the outermost div.
>
> I do not know if that is illegal (I am using qooxdoo so I do not have to
> learn HTML<g>) or if it is an oversight by the Embed widget.
>
> I have a workaround (wrapping the jsMath in a div that uses its own
> relative positioning to compensate) but I thought I'd raise it as a
> possible bug.
>
The default qooxdoo value for positioning of container or content
elements are "position": "absolute". If you need a other behavior you
can add a div element like you described, or you can try to change the
position value from the content element, but I don't know if this have
other impacts:
myHtml.getContentElement().setStyle("position","relative");
> What might work is for the Embed widget to have offset-x and offset-y
> parameters which would specify a startng point relative to the top-left
> corner for the positioing of the embedded html.
>
I think that's a think that a developer should do when he use a
qx.ui.embed.Html widget, because it depends on content.
Cheers,
Chris
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel