Bug 127444 - css background image no-repeat scatters picture across table-cell
Summary: css background image no-repeat scatters picture across table-cell
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-16 14:16 UTC by Christof Zintel
Modified: 2006-05-21 23:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christof Zintel 2006-05-16 14:16:11 UTC
Version:           3.5.2 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu14 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-21-386

the css theme from http://www.solucija.com/templates/demo/Internet_Services/
called "Internet Services" 
used at http://www.yigg.de uses an abbreviated background clause like 

background: #A9C0CE url(corner.gif) no-repeat top right;

this seems valid to me.

the full css-stylesheet is at http://yigg.de/images/style.css 

the background-image ist cattered within the cell resulting in the problem that the heading in the same color as the background-gif is unreadable.
i refer to the article heading if you wonder...

this problem appears only with konqueror, tested with 3.4.0 and 3.5.2, not in safari (which supposedly also uses khtml), mozilla-firefox, opera or internet exploder.
Comment 1 Tommi Tervo 2006-05-16 14:34:50 UTC

*** This bug has been marked as a duplicate of 127189 ***
Comment 2 Tommi Tervo 2006-05-21 19:38:58 UTC
Seems not to be dupe, because carewolf fix won't help on http://www.yigg.de
Comment 3 Allan Sandfeld 2006-05-21 23:42:11 UTC
SVN commit 543377 by carewolf:

No other property depends on background-image, and applying it before the
rest of the background short-hand breaks it under inheritance.
BUG:127444


 M  +0 -2      cssstyleselector.cpp  


--- branches/KDE/3.5/kdelibs/khtml/css/cssstyleselector.cpp #543376:543377
@@ -756,7 +756,6 @@
         case CSS_PROP_FONT:
         case CSS_PROP_COLOR:
         case CSS_PROP_DIRECTION:
-        case CSS_PROP_BACKGROUND_IMAGE:
         case CSS_PROP_DISPLAY:
             // these have to be applied first, because other properties use the computed
             // values of these properties.
@@ -1879,7 +1878,6 @@
         case CSS_PROP_FONT_VARIANT:
         case CSS_PROP_FONT:
         case CSS_PROP_COLOR:
-        case CSS_PROP_BACKGROUND_IMAGE:
         case CSS_PROP_DISPLAY:
             // these have to be applied first, because other properties use the computed
             // values of these porperties.