Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Layout FAQ

Mozilla.dev.tech.layout FAQ

Is there a way to do profiling of what is going on in Mozilla? Is there a framework for this?

If you're on Linux, then you can try using jprof. Instructions are available at Jprof Readme On more recent linux versions sysprof can also be used. also lists some profiles.

How do you fix inconsistent float behavior in firefox involving a two column layout using display:table and floating div elements?

This is a bug in Firefox. You can work around it by removing display:table in the style rule with the "#main" selector or adding clear:both to it.

Why does move movement disappear when I use mouse events to click and drag?

Since the dragging action is involved, you might need to disable it. Try using event.preventDefault()

What is the purpose of the NS_LossyConvertUCS2toASCII() function?

This function converts an nsAString to an nsACString by assuming that all the 16-bit units are ASCII and just dropping the high byte on them all.

 

Document Tags and Contributors

Tags: 
 Contributors to this page: xfq, Pcvitori
 Last updated by: xfq,