Closed
Bug 50213
Opened 24 years ago
Closed 21 years ago
<img> with invalid src (and w or h unspecified) doesn't resize from 0 size when src changed by javascript
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: waterson, Assigned: waterson)
References
Details
(Keywords: testcase)
Attachments
(1 file)
1005 bytes,
text/html
|
Details |
See attached test case. To reproduce: 1. Open test case. 2. Click button. Expected behavior: see a squished image appear Actual: nothing happens
Assignee | ||
Comment 1•24 years ago
|
||
My guess is that this is a layout problem, and has to do with replaced frames. I tried another test case where the initial image points to a valid image file (instead of "about:blank") and it worked.
Status: NEW → ASSIGNED
Component: DOM Level 0 → Layout
Summary: document.images[0].src = '...' does not work → document.images[0].src = '...' does not work if original image invalid
Target Milestone: --- → Future
Comment 3•23 years ago
|
||
Since there is no testcase, I can only guess but I think this is the same as bug 22820.
Comment 4•21 years ago
|
||
Updated•21 years ago
|
Keywords: testcase
Summary: document.images[0].src = '...' does not work if original image invalid → <img> with invalid src (and w or h unspecified) doesn't resize from 0 size when src changed by javascript
Comment 5•21 years ago
|
||
This is in fact a dup of bug 22820, but I regressed that.... the new bug on the issue is bug 198435.
Depends on: 198435
Comment 6•21 years ago
|
||
Fixed by bug 198435
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 7•21 years ago
|
||
*** Bug 202650 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•