Closed Bug 146689 Opened 22 years ago Closed 22 years ago

bad css background-image url causes very bad slowdown

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 110113

People

(Reporter: mapata, Assigned: dbaron)

References

()

Details

Attachments

(1 file)

when stylesheet has
---
html{

	background-image: url(pictures/mg_backgroung.gif);
}
---

and html has
---
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml11-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="/pictures/mozilla.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Mozilla css bug</title>
</head>
<body bgcolor="#f0f0f0" background="/pictures/mg_backgroung.gif">
<h1>Mozilla css bug</h1>
<a href="http://validator.w3.org/check/referer">Valid XHTML</a>
 | <a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a>
<br />
</body>
</html>
---
...then corsor draws very slowly blinking very fast and browser slows down
horribly eventually crashing the browser

when you change css so that it contains '/' in front of url everything works
perfectly
---
html{

	background-image: url(/pictures/mg_backgroung.gif);
}
---

this happens when 4th Dimension 6.7 (4D version doesn't matter) is web server.
Reporter, which version are you using?

The URL http://www.manageapp.com/mozillabug.htm WFM, 1.0 RC3 on Linux.

Sorry, I was using Miozilla versions 1.0 RC2 and 1.0 RC3 with Windows 2000 
Professional. I think I saw this bug in earlier versions (0.99?) too, but I 
can't remember all version. Earlier versions caused crashes, RC3 has not 
crashed yet (I haven't done much testing).
I'm getting jerking movement on http://www.iarchitect.com/tabs.htm. Not crashed
though.

Build 2002052306, WinNT4.

Circling the cursor steadily around the page it stops moving and then jumps to
where it should be (approx every 1 second).

Status: UNCONFIRMED → NEW
Ever confirmed: true
confirmed 2002052304-trunk/WinXP/NVidia Riva TNT2
Attached file Simplified testcase
20021212 on WinXP

This Bug is caused by both <html> and <body> having different background urls
(or Images). 

See the included Testcase..I'm seeing a constant 97% CPU usage.

*** This bug has been marked as a duplicate of 110113 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: