Closed
Bug 502806
Opened 15 years ago
Closed 14 years ago
css background image can't show in first time
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: hfw828, Unassigned)
References
()
Details
(Keywords: regression)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1) Gecko/20090624 Firefox/3.5 GTB5 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1) Gecko/20090624 Firefox/3.5 GTB5 (.NET CLR 3.5.30729)
my english is very pool, so I write in Chinese. I think this bug is serious...
访问http://addthis.org.cn时,鼠标放在“马上体验一下吧”后面的收藏按钮,出现一个小框体,框体内的列表每项都有一个小图标作为背景。第一次这样操作时,框体内地小图标全部都没有出现的,但通过FireBug查看,css已经加载,image图片也已经加载,就是无法显示。但是第二次把鼠标放在收藏按钮上,或者在有缓存的情况下,都是一切正常。
相关内容加载过程是这样的:
1、加载addthis.js
2、addthis.js在Dom ready时加载addthis.css
3、鼠标放在收藏按钮(mouseover)时, 插入小框体HTML
Reproducible: Always
Steps to Reproduce:
1.mouseover the "收藏" botton first time without cache
2.view the "dropdown"
3.css: background image can't show
Actual Results:
css: background image can't show
Expected Results:
didnot parse the background css while the html input after DOM ready without cache
在IE、Chrome等其他浏览器都显示正常,在FF3.0 和FF3.5都出现这个问题。
应该是FF的bug:在文档ready后插入的html,相应的css background不能正常解析(在有缓存的情况下可正常显示)。
Comment 1•15 years ago
|
||
Okay, I see it, it is above the blue button. With Firefox 2 it works, but the images are loaded very slowly, even on a fast computer.
Comment 2•15 years ago
|
||
Regression range: http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2006-10-16+13%3A00&maxdate=2006-10-17+00%3A00
Seems due to Bug 351633.
Component: General → DOM
Keywords: regression
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → Trunk
I don't know if the website has been redesigned.
However, I experience the exact same behaviour among other browsers (IE, Saf, Op) as well as older Firefoxes (2.0, 3.0 ,3.6) and trunk.
The only "issue" seems to be, that the images are loaded slowly.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Comment 5•12 years ago
|
||
more info:
I test it with Firefox 19(OS:win7)
I have a html file, that contains the css file.
I define the background image is css file.
If I replace the image file(css file not modified), then I get old background image at the first time that accessing the html. After refreshing it works fine;
Comment 6•10 years ago
|
||
Issue is Resolved - removing QA-Wanted Keywords - QA-Wanted query clean-up task
Keywords: qawanted
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•