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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/animations/target-move-relative-length-invalidation-crash.html

Issue 2817913002: Add connected-paranoia in SVGElement::UpdateRelativeLengthsInformation (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <svg>
3 <g id="g1">
4 <text id="text1"/>
5 </g>
6 <g id="g2">
7 <text id="text2"/>
8 <animate values="100" href="#text2" attributeName="x" dur="4s"/>
9 </g>
10 </svg>
11 <p>PASS if no crash</p>
12 <script>
13 if (window.testRunner) {
14 testRunner.dumpAsText();
15 testRunner.waitUntilDone();
16 }
17 var g1 = document.getElementById("g1");
18 var g2 = document.getElementById("g2");
19 var text1 = document.getElementById("text1");
20
21 window.onload = function() {
22 requestAnimationFrame(function() {
23 g1.remove();
24 text1.appendChild(document.querySelector("svg"));
25 g1.appendChild(g2);
26 if (window.testRunner)
27 testRunner.notifyDone();
28 });
29 };
30 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698