| Summary: | [testcase] background-repeat ignored for flow elements | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Malte S. Stretz <mss> |
| Component: | khtml | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 4.0 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | converted to attachment | ||
Created attachment 3565 [details]
converted to attachment
|
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>