Closed Bug 23074 Opened 25 years ago Closed 25 years ago

image.complete does not return boolean value.

Categories

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

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: desale, Assigned: vidur)

Details

(Whiteboard: [TESTCASE])

Attachments

(1 file)

A boolean value that indicates whether the web browser has completed its attempt to load an image could not be returned. Instead it returns undefined. BUILDS: 2000-01-03. STEPS TO REPORDUCE: 1] Please see attached testcase. 2] You'll see button "Did Image load Completely ?". Please click this button. OR 1] Please copy HTML code I'm providing. Save it as HTML file. 2] Open this HTML file with above mentioned builds. 3] You'll see button "Did Image load Completely ?". Please click this button. EXPECTED RESULTS: In Results textbox we should see "true" ACTUAL RESULTS: In Results textbox we see "undefined" TESTCASE CODE START: <HTML> <HEAD> </HEAD> <BODY > <script> <!-- function getcomplete(){ document.inForm.result.value=document.inForm.testimage.complete; } //--> </script> <form name="inForm"> <IMG NAME="testimage" SRC="http://bubblegum/ngdriver/suites/dom0/testdata/highstar.gif" ALIGN="left" VSPACE="10" HEIGHT="100" WIDTH="100" BORDER="0"> <br><br> <input type="button" value="Did Image load Completely ?" onclick="getcomplete();"> Result: <input type="text" name="result" size="20" value=""> </form> </BODY> </HTML> TESTCASE CODE END:
Whiteboard: [TESTCASE]
Attached file Same testcase in report. (deleted) —
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed on 1/6/2000.
Status: RESOLVED → VERIFIED
Verified with 2000-01-11-09.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: