static int isNewLine ( int [ ] chars ) { checkArgument ( chars . length > 1 ) ; // nl \n|\r\n|\r|\f if ( chars [ 0 ] == ' ' && chars [ 1 ] == ' ' ) { return 2 ; } else if ( chars [ 0 ] == ' ' || chars [ 0 ] == ' ' || chars [ 0 ] == ' ' ) { return 1 ; } return 0 ; }
Determine whether a sequence of chars begin with a CSS newline .