Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.
|
Run the test. No interaction required.
Once the test is loaded, four rectangles are presented, indicating the result of passing a valid or invalid string to an SVGLength or SVGAngle object, as indicated. Each rectangle will be black if the sub-test did not run, red if it failed or green if it passed.
The test is passed if all four rectangles are green.
This tests that assigning a valid length or angle string to valueAsString on an SVGLength or SVGAngle will affect that object's unitType, and that assigning an invalid string will throw a DOMException with code SYNTAX_ERR.