isSpaceOrTab()

Harri Porten porten at froglogic.com
Wed Feb 25 21:05:19 CET 2004


On Mon, 23 Feb 2004, Darin Adler wrote:

> I think that using isspace instead is probably fine, but someone should
> probably test space characters other than ' ' and '\t' to make sure we
> are consistent with the date parsers in other browsers.

I've added

  shouldBe("(new Date('\\n21\\rFeb\\f\\v\\t 2004')).getFullYear()",
           "2004");

which passes in Mozilla at least.

Harri.




More information about the Khtml-devel mailing list