Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc
New issue 9611 by roryparle: Unexpected grey border on images when src
attribute was originally blank
http://code.google.com/p/chromium/issues/detail?id=9611
Chrome Version : 1.0.154.53 (Official Build 11798)
Other browsers tested:
Safari 4: OK
What steps will reproduce the problem?
1. Open the attached page (testcase.html). The page includes an img element
with an empty src attribute, so that it's initially given the default light
grey border indicating its dimensions. The body's onload attribute contains
some JS to set the src attribute of the img to a non-empty value.
What is the expected result?
Setting the src attribute should remove the grey border entirely, just as
if the src had been specified directly in the markup of the page.
What happens instead?
The grey border often remains (see screenshot attached). It always remains
for me in this test case, but in other cases it only remains some of the
time, or only part of it remains. In all cases the border disappears if the
window is resized or min-/maximized.
Attachments:
testcase.html 153 bytes
border.png 47.8 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---