Enable resolution media queries with fixed implementation
    
The fixes to the original implementation are partly based on a
patch by Rune Lillesveen <rune@opera.com>

The implementation used the physical resolution to evaluate the
resolution media features. Changed to use the actual CSS resolution,
also known as the device-pixel-ratio, instead. Unified the code for
evaluating the resolution and device-pixel-ratio media features.

Intent to ship thread:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/odQrXmT5vHk

BUG=158744,230393
WKBUG=114029

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150142 bbb929c8-8fbe-4397-9dbb-9b2b20218538
26 files changed