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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/svg/linking/reftests/href-a-element-attr-change.html

Issue 2408493002: Import wpt@357b83b809e3cbc7a1805e7c3ca108a7980d782f (Closed)
Patch Set: Added one more win7-specific baseline Created 4 years, 2 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 <html class="retest-wait">
3 <meta charset="utf-8">
4 <title>href - a element</title>
5 <meta name="assert"
6 content="The a element should keep its link status after removing href if there is still xlink:href">
7 <link rel="match" href="href-a-element-ref.html">
8 <style>
9 a:link rect {
10 fill: lime;
11 }
12 </style>
13 <body>
14 <svg width="100" height="100" viewBox="0 0 100 100"
15 xmlns:xlink="http://www.w3.org/1999/xlink" onload="loaded();">
16 <a id="link" href="abc.html" xlink:href="def.html">
17 <rect width="100%" height="100%" fill="red"/>
18 </a>
19 </svg>
20 </body>
21 <script>
22 function loaded() {
23 document.getElementById('link').removeAttribute('href');
24 requestAnimationFrame(function() {
25 document.documentElement.classList.remove("reftest-wait");
26 });
27 }
28 </script>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698