Fix WHITESPACE issues in the CSS grammar.

A single WHITESPACE token consumes consecutive spaces, but does not consume
spaces separated by comments. That means S* and S+ in CSS grammars need to
accept multiple WHITESPACE tokens. Additionally, white spaces are not
mandatory to separate an @-symbol and the rest of the prelude.

Use space non-terminal instead of WHITESPACE for S+ in calc expressions.

Use maybe_space non-terminal instead of WHITESPACE for S* after @-webkit-filter
and @-webkit-region.

BUG=303303

Review URL: https://codereview.chromium.org/25607005

git-svn-id: svn://svn.chromium.org/blink/trunk@158950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
7 files changed
tree: d82473d142a095aecc802b0e04832c0707c4c27d
  1. third_party/