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

Side by Side Diff: LayoutTests/svg/custom/use-href-attr-removal-crash.html

Issue 1287243003: Don't require a valid reference scope for a <use> shadow tree update (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop referenceScope check from scheduleShadowTreeRecreation. Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/svg/custom/use-href-attr-removal-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <p>PASS if no crash.</p>
3 <svg>
4 <symbol id="a"><rect width="100" height="100" fill="blue"/></symbol>
5 <use id="b" xlink:href="#a"></use>
6 <rect id="c" width="100" height="100" fill="red"/>
7 </svg>
8 <script>
9 if (window.testRunner)
10 testRunner.dumpAsText();
11
12 onload = function() {
13 var use = document.getElementById('b');
14 use.removeAttribute("xlink:href");
15 var symbol = document.getElementById("a");
16 symbol.appendChild(document.getElementById("c"));
17 use.setAttribute("height", "100");
18 }
19 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/use-href-attr-removal-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698