My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  WontFix
Owner:  ----
Closed:  Aug 2010

Restricted
  • Only users with Commit permission may comment.


Sign in to add a comment
 
Reported by alyst...@gmail.com, Jul 26, 2010
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
In process of being fixed in the Gecko engine: https://bugzilla.mozilla.org/show_bug.cgi?id=582037 
Aug 3, 2010
#2 alyst...@gmail.com
Actually a webkit rendering error, re-created bug report there. https://bugs.webkit.org/show_bug.cgi?id=43451
Aug 3, 2010
#3 evan@chromium.org
Since it's in the webkit tracker now, closing this one.
Status: WontFix
Oct 12, 2012
#4 bugdroid1@chromium.org
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
#5 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Area-Undefined
Sign in to add a comment

Powered by Google Project Hosting