Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/SVGMarkerElement-orientType-synchronization.html

Issue 1739533004: Fix synchronization of SVGAnimatedAngle (<marker orient>) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows compilation fix Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimatedAngle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimatedAngle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698