PageRenderTime 31ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/doc/example-jsunit/jsunit/app/css/readme

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
#! | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | 3c3f7e26f2d440b57d417d6d9156b179 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. this file is required due to differences in behavior between Mozilla/Opera
  2. and Internet Explorer.
  3. main-data.html calls kickOffTests() which calls top.testManager.start()
  4. in the top most frame. top.testManager.start() initializes the output
  5. frames using document.write and HTML containing a relative <link> to the
  6. jsUnitStyle.css file. In MSIE, the base href used to find the CSS file is
  7. that of the top level frame however in Mozilla/Opera the base href is
  8. that of main-data.html. This leads to not-found for the jsUnitStyle.css
  9. in Mozilla/Opera. Creating app/css/jsUnitStyle.css works around this problem.