Index: third_party/WebKit/LayoutTests/svg/dom/SVGMarkerElement-orientType-synchronization.html |
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGMarkerElement-orientType-synchronization.html b/third_party/WebKit/LayoutTests/svg/dom/SVGMarkerElement-orientType-synchronization.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ddd1ea0b432f6a1f7f5832d7edbdcdf96dfc77b4 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/dom/SVGMarkerElement-orientType-synchronization.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<title>SVGMarkerElement.orientType synchronization</title> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script> |
+test(function() { |
+ var marker = document.createElementNS("http://www.w3.org/2000/svg", "marker"); |
+ assert_equals(marker.orientType.baseVal, SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE, "initial"); |
+ |
+ marker.orientType.baseVal = SVGMarkerElement.SVG_MARKER_ORIENT_AUTO; |
+ assert_equals(marker.getAttribute("orient"), "auto"); |
+ assert_equals(marker.orientType.baseVal, SVGMarkerElement.SVG_MARKER_ORIENT_AUTO, "to 'auto'"); |
+}); |
+</script> |