Bug 69654 - [testcase] background-repeat ignored for flow elements
Summary: [testcase] background-repeat ignored for flow elements
Status: RESOLVED DUPLICATE of bug 59600
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-04 23:11 UTC by Malte S. Stretz
Modified: 2003-12-05 13:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
converted to attachment (553 bytes, text/html)
2003-12-05 08:20 UTC, Germain Garand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2003-12-04 23:11:28 UTC
Version:           4.0 (using KDE 3.1.93 (CVS >= 20031111), Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
OS:          Linux (i686) release 2.4.20-gentoo-r8

The background-repeat attribute works for block elements only. Seems like quite some weblogs use this instead of :before (obviously to work around browsers not implementing the latter) to display some icon in front of external links. That renders the links unreadable in Konqueror.

Here's a simple test case:
<html>
<head>
<style type="text/css">
.foo {
  background: url('http://msquadrat.de/favicon.png') no-repeat;
}
.bar {
  background-image: url('http://msquadrat.de/favicon.png');
  background-repeat: no-repeat;
}
</style>
</head>
<body>
<span class="foo">Fooooooooooooooo</span>
<div class="foo">Baaaaaaaaaaaaar</div>
<span class="bar">Fooooooooooooooo</span>
<div class="bar">Baaaaaaaaaaaaar</div>
</body>
</html>
Comment 1 Germain Garand 2003-12-05 08:20:08 UTC
Created attachment 3565 [details]
converted to attachment
Comment 2 Stephan Kulow 2003-12-05 13:25:32 UTC
could you please attach the test case to #59600 - the test case there got a stale link?

*** This bug has been marked as a duplicate of 59600 ***