Closed
Bug 195673
Opened 22 years ago
Closed 21 years ago
Image tests fail: img003.html, img004.html, img008.html
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mpgsmeets, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
the samples on the Debug Verification of the JavaScript went wrong when I tried
verification of the Images. nrs 003, 004 and 008.
Reproducible: Sometimes
Steps to Reproduce:
1.
2.
3.
Actual Results:
img003.html
Description Pass Bug Number Actual Result Expected Result
Read Image.height 100 failed Bug report required 0 100
img008.html
Description Pass Bug Number Actual Result Expected Result
Read Image.lowsrc ../res/lowstar.gif failed Bug report required undefined
../res/lowstar.gif
img004.html
Description Pass Bug Number Actual Result Expected Result
Read Image.width 100 failed Bug report required 0 100
Expected Results:
See above
The problem of not seeing images occurs often, in realtime webbrowsing.
Comment 1•22 years ago
|
||
This is a browser issue, not a Rhino issue. Rhino is a standalone
language engine. Reassigning to DOM Level 0.
Note the tests Marcel is referring to are found off the Mozilla
menu at Debug > Verification > JavaScript; then click on "Image"
link at the left. That leads us to:
http://mozilla.org/quality/browser/standards/javascript/tcmatrix/index.html
I will put this in the URL field above -
Assignee: nboyd → jst
Component: Core → DOM Level 0
Product: Rhino → Browser
QA Contact: pschwartau → ashishbhatt
Version: other → Trunk
Comment 2•22 years ago
|
||
The failure on img008.html has already been filed: bug 142477.
As for img003.html and img004.html, they both WORKFORME
using Mozilla trunk binary 2003022808 on WinNT and Linux.
Marcel: do you allow JavaScript to change images in Mozilla?
(check Edit > Preferences > Advanced > Scripts & Plugins)
Summary: Tried debug verification of the javascript from the browser. Images failed! → Image tests fail: img003.html, img004.html, img008.html
Comment 3•22 years ago
|
||
Marcel reports via email that JavaScript is allowed to change images.
Note the failures he is getting on img003.html and img004.html above
may be summarized as follows:
Description Actual Result Expected Result
img003.html Read Image.height 0 100
img004.html Read Image.width 0 100
The image on each of those pages is
<img NAME="testimage" LOWSRC="../res/lowstar.gif" SRC="../res/highstar.gif"
ALIGN="left" VSPACE="10" HEIGHT="100" WIDTH="100" BORDER="0">
If I look at this image in View > Page Info > Media, I see this at
the bottom of the attributes list:
Width: 100px, Height: 100px
Physical Width: 0px, Physical Height: 0px
Marcel: do you see the same info? And are you able to see the image OK?
(it's a red star with the Mozilla icon inside). Or is the image blank?
Reporter | ||
Comment 4•22 years ago
|
||
Hi, when I look I get a failure report but with View Page Info Media I can see
the image. The only difference is the attributes list I get 197px and 200px with
the same Height and Width
Marcel reports via email that JavaScript is allowed to change images.
Note the failures he is getting on img003.html and img004.html above
may be summarized as follows:
Description Actual Result Expected Result
img003.html Read Image.height 0 100
img004.html Read Image.width 0 100
The image on each of those pages is
<img NAME="testimage" LOWSRC="../res/lowstar.gif" SRC="../res/highstar.gif"
ALIGN="left" VSPACE="10" HEIGHT="100" WIDTH="100" BORDER="0">
If I look at this image in View > Page Info > Media, I see this at
the bottom of the attributes list:
Width: 100px, Height: 100px
Physical Width: 0px, Physical Height: 0px
Marcel: do you see the same info? And are you able to see the image OK?
(it's a red star with the Mozilla icon inside). Or is the image blank?
Updated•21 years ago
|
Updated•21 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•