Summary: | Quirksmode: Image swap resize bug | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adele Peterson <adele> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bugs-webkit, davidmoe, ian, jnp, mitz | ||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.4 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 9610 | ||||||
Attachments: |
|
Description
Adele Peterson
2006-06-02 15:05:57 PDT
Weird bug, probably in the DOM? *** Bug 13528 has been marked as a duplicate of this bug. *** RenderImage::imageChanged does a fake calcWidth() but doesn't invalidate the preferred min/max widths before doing it, so it ends up stretching to the old min pref width. I don't think there's any harm in dirtying the pref widths before the fake calcWidth(). None at all. I do this with tables in places too (and with counters). Created attachment 14305 [details]
Dirty pref widths before calcWidth()
Comment on attachment 14305 [details]
Dirty pref widths before calcWidth()
r=me
|