Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / visited-link-href-changed.html
blob0d4d2cc814a88b2dc1572872b2f1df10005b9d54
1 <!DOCTYPE html>
2 <style>
3 a {
4 display: block;
5 width: 100px;
6 height: 100px;
9 a:visited {
10 background-color: red;
13 a:link {
14 background-color: green;
17 </style>
18 <p>You should see a green square below.</p>
19 <a id="link" href=""></a>
20 <script>
21 link.offsetTop; // force recalc
22 link.href = "not-visited.html";
23 </script>