| Issue 50256: | Natural image dimensions are used for wrapping elements even if image is resized | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Chrome Version : 5.0.375.99 (Official Build 51029) URLs (if applicable) : http://lorinhalpert.com/ipoc/bugs/html-positioning/ Other browsers tested: Safari 4: FAIL Firefox 3.x: FAIL IE 7: FAIL IE 8: FAIL Opera: FAIL What steps will reproduce the problem? Save yourself time by going to the URL provided for reproduction.. or: 1. create a div with a large image inside it 2. apply 100% height to both div and image 3. apply absolute or fixed positioning to wrapping div optionally: 4. apply a background color to div to confirm actual size of div is incorrect 5. change the position of the div to right:0 EXPECTED: The surrounding collapsed tags should have dimensions equal to the internal resized image. INSTEAD: When the wrapped image is being resized, the surrounding wrapper incorrectly uses the natural image width instead of the resized image dimensions. This places the resized image in an incorrect starting position Depending on your screen resolution, the rendering might seem fine.. please resize your browser window in this case to see if your renderer is affected As of July 25th 2010, most popular engines are affected with the following exceptions: - Webkit renders correctly until window is resized, however if user modifies zoom/font-size (ctrl+/-) the wrapper width is corrected again. - Opera/9.80 (Macintosh; Intel Mac OS X; U) Presto/2.6.30 Version/10.60 - Renders correctly until window is resized however Windows version is affected like all others (Windows NT 6.1; U)
Aug 3, 2010
#1
alyst...@gmail.com
Aug 3, 2010
Actually a webkit rendering error, re-created bug report there. https://bugs.webkit.org/show_bug.cgi?id=43451
Aug 3, 2010
Since it's in the webkit tracker now, closing this one.
Status:
WontFix
Oct 12, 2012
This issue has been closed for some time. No one will pay attention to new comments. If you are seeing this bug or have new data, please click New Issue to start a new bug.
Labels:
Restrict-AddIssueComment-Commit
Mar 10, 2013
(No comment was entered for this change.)
Labels:
-Area-Undefined
|
|
| ► Sign in to add a comment |