Bug 69654

Summary: [testcase] background-repeat ignored for flow elements
Product: [Applications] konqueror Reporter: Malte S. Stretz <mss>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: converted to attachment

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 ***