[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    BACKGROUND - attribute breakage in HEAD
From:       Tobias Anton <TA () ESC-Electronics ! de>
Date:       2001-09-18 18:55:34
[Download RAW message or body]

Hi KHTML-guys!

In 2.2, the BACKGROUND attribute was supported for every element,
many sites use the attribute to specify a background-image.
This does not work anymore with HEAD.

There's a suspicious line in the debug output:

khtml (css): CSSStyleDeclarationImpl::setProperty invalid property: 
[background-image] value: 
[http://some.where.on.the.net/is/the/graphics/file.gif]

I've attached a testcase, but you won't see the difference in rendered HTML 
unless you unpack the .tgz.

Now, does anybody have an Idea where this comes from or how to fix that?
It's important IMHO because it's relevant for real-world usage.

Cheers,
Tobias

["testcase.html" (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>  <head>  <title>Testcase for Background-breakage</title>  </head>

<body>

<table>
  <tr>
    <td background="t_pixel.gif">
      <br>&nbsp;Test&nbsp;</br><br>
    </td>
  </tr>
</table>

</body>

</html>

["bg-error.tgz" (application/x-gzip)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic