Parse media attributes and CSSOM media text as media_query_list.

This is per HTML5 and CSSOM specifications.

This change makes the remaining fails in the W3C Media Queries test suite pass.

Some resulting changes:

- Brackets/parentheses balanced correctly.
- Queries split between correct commas.
- Spaces is an empty media query list like the empty string.
- Unexpected EOF like missing parentheses makes the query valid as per CSS21
  spec.
- Syntax errors become "not all" as per CSSMQ spec.
- Renamed @-webkit-mediaquery to @-internal-mediaquery to be consistent with
  other internal @-rules.
- Removed MediaQueryParserMode which is now the same for all MQ parsing.

BUG=247657

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152218 bbb929c8-8fbe-4397-9dbb-9b2b20218538
14 files changed
tree: 5e635db64ba00777c5cd7d19908a53a971f9c47a
  1. third_party/