Closed Bug 488749 Opened 17 years ago Closed 17 years ago

CSS that is directly in an HTML page that contains url() with nothing inside of the parentheses will cause the browser to request the page a second time

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 444931

People

(Reporter: lance, Unassigned)

References

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB5; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729) When you have CSS that is directly imbeded within an HTML page that contains "url()", with no content between the parenthasies, Firefox will request the web page a second time. If you use the syntax "url()" within a CSS file that is reference with a "link" tag by an HTML file this will not happen. This is a very big problem for web forms. This will cause blank data to be submitted. Reproducible: Always Steps to Reproduce: 1. The following is an html page that contains a blank url() CSS style: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> body { background: url(); } </style> </head> <body> Test </body> </html> 2.access the page and you will find that Firefox will request the page a second time. This is very serious for web forms. Since Firefox double requests data it seems to cause forms to submit blank data.
Summary: CSS that is directly in an HTML page that contains url() with nothing inside of the parenthases will cause the browser to request the page a second time → CSS that is directly in an HTML page that contains url() with nothing inside of the parentheses will cause the browser to request the page a second time
This will be fixed in Fx 3.5.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.