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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/use-external-dynamic-base-change.html

Issue 2173453002: Resolve URL/target reference at a single point in SVGUseElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test touchups Created 4 years, 5 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 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <svg>
4 <rect id="rect" width="0" height="100"/>
5 <use xlink:href="#rect" fill="green"/>
6 </svg>
7 <script>
8 runAfterLayoutAndPaint(function() {
9 var baseElement = document.createElement("base");
10 baseElement.setAttribute("href", "http://www.example.com/");
11 document.head.appendChild(baseElement);
12 document.querySelector('#rect').setAttribute("width", "100");
13 }, true);
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698