projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
css
/
visited-link-href-changed.html
1
<!DOCTYPE html>
2
<style>
3
a {
4
display: block;
5
width: 100px;
6
height: 100px;
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>