Ok this is getting off-topic -- sorry -- but glad you like it :)
Unfortunately, webworker isn't an option, we need the DOM. Using the PNG
for size is an nice idea, but only saves one measurement, all others occur
within the equation. IIRC, the basic problem is that browser are not
reliable enough when it comes to em to pixel conversion; the only way to
get those correctly is to layout&measure -- recursively, of course,
building the equation bottom up. But you should talk to our devs if you
need more information on MathJax internals.
Peter.
On Thu, Jul 25, 2013 at 7:40 AM, <<"tei''>>>
<oscar.vives(a)gmail.com> wrote:
On 24 July 2013 21:12, Peter Krautzberger
<peter.krautzberger(a)mathjax.org> wrote:
..
:-O
This is pretty. And if it still affect the browser (small freezes wen
the user is scrolling) maybe the javascript can be moved to a iframe
or a "web worker", so it don't run on the main javascript thread.
About re-layouts, can't smart use of "min-width min-height" avoid
that? you already have the size of the png as reference.
--
--
ℱin del ℳensaje.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l