Closed
Bug 673934
Opened 15 years ago
Closed 15 years ago
Hidden page reload when using empty background URL css property
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 339112
People
(Reporter: aaaaa, Unassigned)
Details
Attachments
(1 file)
|
67 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110615151330
Steps to reproduce:
I created this page:
<style>
.obj {background:url('')}
</style>
<DIV class=obj></DIV>
Actual results:
Using "Live http headers" extensions I see that the page is loaded 2 times. This can cause big problems, for example setting random session variables with ASP pages.
Expected results:
It should have loaded just one time.
Updated•15 years ago
|
Attachment #548193 -
Attachment mime type: text/plain → text/html
Comment 1•15 years ago
|
||
I know there's a bug somewhere about this issue, similarly for <img src="">. ISTR that this is technically the correct behavior, but that other browser have changed to ignore it as being a common mistake.
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Whiteboard: dupeme
Comment 2•15 years ago
|
||
Bug 339112 is the dupe target. Bug 444931 fixed <img src="">.
Chrome 14 also loads it twice, IE 10 and Opera 11.50 does not.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•