summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/svg/custom/path-segment-initial-role.html
blob: 7d1d68424429b74d5e2611f573e923f6bb8c5648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
  <body>
    <script src="../../fast/js/resources/js-test-pre.js"></script>
    <script>
      var pathElement = document.createElementNS("http://www.w3.org/2000/svg","path");

      var pathSegment = pathElement.createSVGPathSegCurvetoCubicAbs(0.0, 1.0, 2.0, 3.0, 4.0, 5.0);
      pathSegment.x1 = -1.0;

      shouldBe('pathSegment.x1', '-1.0');
    </script>
	<p id="description">Test that there is no assertion when setting values on a new path segment not in any segment list.</p>
	<div id="console"></div>
  </body>
</html>