Closed Bug 76742 Opened 23 years ago Closed 23 years ago

crash when accessing style property of empty style rule

Categories

(Core :: DOM: CSS Object Model, defect)

x86
Windows 95
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martin.honnen, Assigned: jst)

Details

(Keywords: crash)

Attachments

(1 file)

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>
WORKSFORME with 2001-04-22-13 on Linux.
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
Closed: 23 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.

Attachment

General

Creator:
Created:
Updated:
Size: