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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/cache/svg-use-revalidate.html

Issue 1661803003: Don't reload an svg <use> element's xlink:href if only the fragment changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 width="500" height="500" overflow="hidden" xmlns="http://www.w3.org/2000/sv g" xmlns:xlink="http://www.w3.org/1999/xlink">
3 <use xlink:href="resources/circles-no-cache.svg#red" />
4 </svg>
5 <script>
6 if (window.testRunner)
7 testRunner.waitUntilDone();
8
9 window.onload = function() {
10 setTimeout(function() {
11 var circle = document.getElementsByTagName("use")[0];
12 circle.setAttributeNS("http://www.w3.org/1999/xlink", "href", "resources /circles-no-cache.svg#green");
13 if (window.testRunner)
14 testRunner.notifyDone();
15 }, 0);
16 }
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698