Chromium Code Reviews
DescriptionmatchMedia('(display-mode: <notValid>)').matches should not evaluate true
Make matchMedia('(display-mode: <not_valid_input>)').matches to fail.
It should return always true with no input and if conditions met
with legal inputs. If MediaQueryExpValue is not valid, then
there is no input and return true. After that if no ID,
input is invalid and return false.
BUG=471703
Committed: https://crrev.com/b8ff10300d8a3eed9a7e7713c2ef0606d95a42f2
Cr-Commit-Position: refs/heads/master@{#353988}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add comments #
Total comments: 1
Messages
Total messages: 16 (4 generated)
|
|||||||||||||||||||||||||||||||||||||