Re: CSS parser bug

Johannes Hofmann <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Mon, Jul 04, 2016 at 08:21:56PM +0200, Sebastian Geerken wrote:
> Hi!
> 
> The CSS parser seems to have a bug handling shorthand properties. This
> example works well, both properties are handled correctly:
> 
>     <body style="background: url(http://www.gnu.org/graphics/heckert_gnu.small.png) repeat-y">
> 
> Adding "transparent" (for "background-color"), however, causes the
> other parts not to be parsed:
> 
>     <body style="background: transparent url(http://www.gnu.org/graphics/heckert_gnu.small.png) repeat-y">
> 
> Not a regression, dillo 3.0.5 shows the same behaviour.

transparent seems to be the problem.

<body style="background: red url(http://www.gnu.org/graphics/heckert_gnu.small.png) repeat-y">

works here. Not sure yet what it would take to support transparent properly.

Cheers,
Johannes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.