[whatwg] Treatment of negative values for li

Boris Zbarsky bzbarsky at MIT.EDU
Thu Aug 12 14:34:54 PDT 2010


On 8/12/10 4:32 PM, Tab Atkins Jr. wrote:
> CSS implicitly states that negative list-marker values are allowed, as
> negative numbers are discussed in the Lists module.  Opera's behavior
> should be the correct one here.

Just as a note, Gecko's code to imposing a lower bound of 0 on <li 
@value> goes back to the initial implementation of attribute parsing in 
September 1998 or so.  I doubt there was any particular reason for it 
other than Netscape or IE compat.

-Boris



More information about the whatwg mailing list