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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/path-segment-initial-role.html

Issue 1416273002: Remove SVGPathElement.pathSegList and related interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/js-test.js"></script>
5 <script>
6 var pathElement = document.createElementNS("http://www.w3.org/2000/svg","p ath");
7
8 var pathSegment = pathElement.createSVGPathSegCurvetoCubicAbs(0.0, 1.0, 2. 0, 3.0, 4.0, 5.0);
9 pathSegment.x1 = -1.0;
10
11 shouldBe('pathSegment.x1', '-1.0');
12 </script>
13 <p id="description">Test that there is no assertion when setting values on a new path segment not in any segment list.</p>
14 <div id="console"></div>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698