Layout Engine project
Test Cases: Document Object Model (DOM)
Gecko fully supports the W3C's Document Object Model Level 1, as well as a large part of the DOM Level 2. Furthermore, we are currently implemented the DOM Level 3.
The W3C also produces, in association with NIST, a Test Suite. The DOM Level 1 Test Suite has already been released, while the DOM Level 2 and 3 Test Suites are being worked on. However these tests are not the end-all be-all. We still need tests in Mozilla for our DOM implementation.
If we ever get around to it, this page will serve as a placeholder for such tests. In the mean-time, here is the old page (the bugs referenced there have been fixed a long time ago!
- Jeremie Miller's DOM Tests (basic stuff; just getting started).
Here are some test cases related to bug reports:
- removeChild() test (bug 691)
- <SCRIPT SRC=...> test (bug 603)
- IDs on TRs test (bug 696)