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

Side by Side Diff: LayoutTests/svg/custom/use-href-change-local-to-invalid-remote.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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <svg>
3 <rect width="100" height="100" fill="green"/>
4 <defs>
5 <rect id="a" width="100" height="100" fill="red"/>
6 </defs>
7 <use xlink:href="#a"/>
8 </svg>
9 <script>
10 onload = function() {
11 var use = document.querySelector('use');
12 use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', 'invalid-remo te.svg');
13 document.getElementById('a').setAttribute('width', 200);
14 use.setAttribute('width', 100);
15 }
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698