Closed
Bug 1197153
Opened 9 years ago
Closed 4 years ago
erratic intrinsic-size for image frame that displays the missing-image icon
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Core
Layout: Images, Video, and HTML Frames
Tracking
()
RESOLVED
DUPLICATE
of bug 1547231
People
(Reporter: jfkthame, Unassigned)
Details
Attachments
(1 file)
543 bytes,
text/html
|
Details |
See testcase. Reload it repeatedly; the frame with the missing image will sometimes appear immediately outside its containing block, instead of inside it. When this happens, zooming in or out will fix the rendering. The <img> elements use position:absolute with no offsets, so they should remain at the "hypothetical box position" where they would be if they appeared within the flow. Because the containing block uses vertical-rl writing mode, the computation of the hypothetical box position depends on knowing the intrinsic width of the image frame. It seems that for the broken-image icon, we sometimes don't get that early enough, or don't reflow after the width becomes available. (First noticed in an Android reftest, where this led to a consistent failure; see bug 1183431 comments 37, 40. But the erratic behavior with this testcase occurs on desktop as well.)
Comment 1•9 years ago
|
||
(In reply to Jonathan Kew (:jfkthame) from comment #0) > See testcase. Reload it repeatedly; the frame with the missing image will > sometimes appear immediately outside its containing block, instead of inside > it. On my system, this happens more than "sometimes" -- it's nearly 100% of the time. (all but maybe 1 load, out of ~25 page loads that I just now did.) > When this happens, zooming in or out will fix the rendering. (I can confirm this, too.)
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Product: Core Graveyard → Core
Comment 2•4 years ago
|
||
mozregression find this range has the fix.
I guess bug 1547231 fixed this because it may provide the broken image a correct intrinsic size / aspect ratio.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•