* batosai <batosai at batosai.net> [2007-08-13 10:35:49]:

> Edgar Friendly a ?crit :
> > It's probably a weakness in the parser - the node parses CSS and HTML
> > completely, stripping out any potentially harmful content.  I'm guessing
> > that the potential for a "-" was missed, and can be added pretty easily,
> > now that the problem is found.  Do you have an example document that
> > shouldn't be blocked?
> 
> Here is an example document. Negative margins are used in :
> 
> - #content : for centering the page regardless of the browser.
> - .left .right : for overlapping outside of the page.
> 

> Example using negative margins
> 
> This page uses negative margins for centering (margin:auto isn't accepted by
> lazy browsers) and block overlaping.

Hmm, according to
http://www.w3.org/TR/REC-CSS2/box.html#margin-properties it should be
either a width or a percentage ... as far as I know widths are always
positive.

Do we really want the CSS parser to be more flexible ?

NextGen$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20070813/9072ac3f/attachment.pgp>

Reply via email to