* batosai <[EMAIL PROTECTED]> [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$

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to