fix firefox layout manager (width computation) regression, doc improvements and test suite cleanup