blob: cf7f760e889264ea5e78f822f7e31bf023421018 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style id="style">
.penguin { overflow: hidden; }
.penguin:first-line { }
</style>
<script>
function boom()
{
document.getElementById("style").textContent += "";
document.getElementById("td").className = "penguin";
}
</script>
</head>
<body onload="boom();"><td id="td">Text</td></body>
</html>
|