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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-xml-dom-synchronization2.xhtml

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, 2 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
Index: third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-xml-dom-synchronization2.xhtml
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-xml-dom-synchronization2.xhtml b/third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-xml-dom-synchronization2.xhtml
deleted file mode 100644
index e1b39d569f0c0f04dea9c5e4d8a54d4723a87213..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-xml-dom-synchronization2.xhtml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<svg width="600" height="500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
- <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></script>
- <path d="M50,150 l45,-43 l24,64 l-69,-21z" fill="#FF0000" stroke="#000000" stroke-width="5"/>
- <text x="10" y="20" style="font-weight:bold">Right after loading, a segment is added to the path.</text>
- <text x="10" y="40" style="font-weight:bold">The path and its attribute should be updated to include the new segment.</text>
-
- <text x="10" y="70">"d" initial: </text>
- <text id="d_start" x="90" y="70"></text>
-
- <text x="10" y="90">"d" after: </text>
- <text id="d_end" x="90" y="90"></text>
-
- <script type="text/javascript">
- <![CDATA[
- function repaintTest() {
- var path = document.getElementsByTagName('path')[0];
- var start = document.getElementById('d_start');
- var end = document.getElementById('d_end');
-
- var start_d = path.getAttribute('d');
- start.textContent = start_d;
- var list = path.pathSegList;
- var seg = path.createSVGPathSegLinetoRel(50, 50);
-
- list.insertItemBefore(seg, 2);
- var end_d = path.getAttribute('d');
- end.textContent = end_d;
- if(start_d == end_d) {
- end.textContent += ' (failed)';
- }
- }
-]]>
-</script>
-</svg>

Powered by Google App Engine
This is Rietveld 408576698