[css-device-adapt] insertRule tests and ASSERT for device lengths.

Added tests to make sure @viewport rules are cascaded correctly when rules
are inserted before or after existing rules.

ASSERTs:

device-width and device-height were removed as valid <viewport-length> values.
That means we should not see ValueDeviceHeight or ValueDeviceWidth while
resolving ViewportArguments::CSSDeviceAdaptation.

BUG=None

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

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