repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
css
/
visited-link-href-changed.html
blob
0d4d2cc814a88b2dc1572872b2f1df10005b9d54
1
<!DOCTYPE
html
>
2
<style>
3
a {
4
display: block;
5
width:
100
px;
6
height:
100
px;
7
}
8
9
a:visited {
10
background-color: red;
11
}
12
13
a:link {
14
background-color: green;
15
}
16
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>