blob: 7d3f7b00bd6d19db32b8cb5be7b48f14e2d19fd8 [file] [log] [blame]
<html>
<head><style>
p { border: 1px solid red; }
#foo { border: 10px solid green; }
</style>
</head>
<p>
I should be surrounded by a thick green border.
</p>
<script>
document.getElementsByTagName("p")[0].id = 'foo';
</script>