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

List:       kde-commits
Subject:    Re: kdelibs/khtml
From:       David Faure <faure () kde ! org>
Date:       2005-04-08 23:10:27
Message-ID: 200504090110.27481.faure () kde ! org
[Download RAW message or body]

On Saturday 09 April 2005 01:02, Allan Sandfeld Jensen wrote:
> On Friday 08 April 2005 20:57, Germain Garand wrote:
> > Le mardi 22 Mars 2005 20:02, Allan Sandfeld Jensen a écrit :
> > > CVS commit by carewolf:
> > >
> > > As suggested by www-style@w3.org:
> > > Implement the correct white-space parsing for SGML attribute values.
> > > BUG: 87528
> >
> > slight problem: this breaks multiline js statements in onXXX handlers.
> >
> > e.g:
> > <span onmouseover="this.style.color='red'
> >  this.style.backgroundColor='blue'">foo</span>
> >
> > real world example:
> > http://www.mandrakeclub.com => hover and leave top menu bar items.
> >
> Shouldn't they be separated by semicolon?

Semicolons are optional in Javascript, a newline can imply a semicolon
(this is all handled by KJS of course)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

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

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