udom-dom-209-t
|
SVG Image
|
PNG Image
|
|
|
|
This tests that the setAttribute and setAttributeNS
methods on the Element interface work correctly, for some
simple cases.
There are three sub-tests (a rectangle for each). These are:
- Sub-test 1: test setting known attributes in no namespace.
- Sub-test 2: test setting unknown attributes in no namespace.
-
Sub-test 3: test setting known attributes in a namespace, correctly using setAttributeNS with a namespace URI.
The test has been passed if all three rectangles are blue.