Ticket #4215 (closed enhancement: fixed)
Dijit-tests: proposed test suite patch
| Reported by: | dante | Owned by: | dante |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | Dijit | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: | dante, peller, liucougar, sfoster |
Description
this is a proposed test-suite file to create links in the dijit test_* files to allow for easy switching between themes, right-to-left, and a11y (and combo's of each). degrades to tundra/normal if no query string. this implementation requires the inclusion of the file, and some style additions to dijit/tests/css/dijitTests.css.
tested in ie6, safari/win32, ff2/win32 so far. popup is bound to ctrl-f9 for the time being.
it deprecates testBidi.js. to implement, simply replace the testBidi.js call in a test page with _testCommon.js, and move to a line following dojo.js script tag.
uses document.write to add stylesheet links (fixes ie7 issue with appending to unclosed head) and uses dojo.moduleUrl to determine path to theme files.