mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
17 lines
350 B
HTML
17 lines
350 B
HTML
<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>
|