crash when accessing style property of empty style rule

RESOLVED WORKSFORME

Status

()

Core
DOM: CSS Object Model
--
critical
RESOLVED WORKSFORME
17 years ago
17 years ago

People

(Reporter: Martin Honnen, Assigned: jst)

Tracking

({crash})

Trunk
x86
Windows 95
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

17 years ago
M0.8.1 on Windows 95 crashes when loading the following 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>empty rule</title>
<style type="text/css">
.node { }
</style>
</head>
<body>
<script type="text/javascript">
document.write(document.styleSheets[0].cssRules[0].style.display == '');
</script>
</body>
</html>
(Reporter)

Comment 1

17 years ago
Created attachment 31509 [details]
bug demo (crashes when loaded)

Comment 2

17 years ago
WORKSFORME with 2001-04-22-13 on Linux.

Comment 3

17 years ago
WFM win2k build 2001041508 (me), linux build 2001042213 (andred), and linux cvs
build from today (doron).
Guess it was fixed between 0.8.1 and now.
Works fine for me on NT, build from yesterday. WFM.
Severity: normal → critical
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Keywords: crash
Resolution: --- → WORKSFORME
Summary: crash when accessing style property of emtpy style rule → crash when accessing style property of empty style rule
You need to log in before you can comment on or make changes to this bug.