Improved parse error handling for CSSMQ.
    
Corrected the grammar for media queries and media query lists.
    
Do recognize "and(" as function tokens. The existing code erroneously split
it into "and" and "(" inside media queries.
    
Keep returning 0 instead of "not all" for @-webkit-mediaquery parse errors
to avoid that things like deleteMedium("#?:/") delete "not all" queries.

BUG=236302
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14620012

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