Closed Bug 1315 Opened 26 years ago Closed 26 years ago

document.body doesn't work

Categories

(Core :: DOM: Core & HTML, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jeremie, Assigned: vidur)

Details

<SCRIPT> alert(document.body); </SCRIPT> It's apparently broke :)
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Verified fixed using 12/1/98 build, on NT 4.0 SP3. (Thanks, Vidur, for your help!) Specifically, the alert(document.body) returns a null (system beep), which I believe to be the correct behavior since there's no body or frameset. (Jeremie or Vidur, please re-open this bug with your comments if I've missed something here. Thanks!)
Oops. My error. Duh. It's working properly --- and sends a response of "[object HTMLBodyElement]" to the console window. Thanks again, Vidur.
Flags: in-testsuite-
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.