Closed Bug 47249 Opened 24 years ago Closed 23 years ago

image.border, image.hspace, image.vspace return wrong values.

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 69196
Future

People

(Reporter: desale, Assigned: jst)

References

()

Details

(Keywords: dom0, testcase)

Attachments

(2 files)

image.border, image.hspace, image.vspace return wrong values.

STEPS TO REPRODUCE:
1] Load attached testcase.
2] Check values of expected and actual results.

EXPECTED RESULTS:

Image Border = 0
Image VSPACE = 10
Image HSPACE = 10

ACTUAL RESULTS:
Image Border = -1
Image VSPACE = -1
Image HSPACE = -1
Attached file Testcase Attached.
I just noticed this too, while trying out a few standard Mozilla QA test cases.
 Tests img001, img005, and img006 fail on builds 2000072408 and 2000080104 under
MacOS 8.6.

http://mozilla.org/quality/ngdriver/suites/javascript/img006.html output:

img006.html
Description Pass Bug Number Actual Result Expected Result
Read Image.vspace 10 failed Bug report required -1 10

and similarly for img001 and img005. The others work (except for img010, which
references bug 9552, which is marked Verify WontFix).

URL for test matrix is
 http://mozilla.org/quality/browser/standards/javascript/tcmatrix/

I was going to guess "HTML Element" as the right component before I discovered
it was already reported -- but DOM Level 0 seems equally plausible.
M18 build id 2000080120 on MacOS 8.6 also fails Image tests 1, 5, and 6.
In addition, Image test 2 (Image.complete) fails:
  http://mozilla.org/quality/ngdriver/suites/javascript/img002.html
*** Bug 49513 has been marked as a duplicate of this bug. ***
*** Bug 49516 has been marked as a duplicate of this bug. ***
*** Bug 49517 has been marked as a duplicate of this bug. ***
This bug has been marked "future" because the original netscape engineer working
on this is over-burdened. If you feel this is an error, that you or another
known resource will be working on this bug,or if it blocks your work in some way
-- please attach your concern to the bug for reconsideration.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
*** Bug 53779 has been marked as a duplicate of this bug. ***
*** Bug 53779 has been marked as a duplicate of this bug. ***
Keywords: dom0
Another of those bugs where getAttribute reports the Right Thing, but .attr
doesn't. I wish I knew where the difference was coded.
Adding testcase keyword.
Keywords: testcase
But now I know.
Dupping to bug that has a patch.

*** This bug has been marked as a duplicate of 69196 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: