Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / CSSStyleDeclaration / script-tests / css-properties-case-sensitive.js
blob923d74bad30b5ae9a82f55e58e809b4e329dde94
1 description(
2 'This test checks that access to CSS properties via JavaScript properties on DOM elements is case sensitive.'
3 );
5 var element = document.createElement('a');
6 element.style.zIndex = 1;
8 debug('normal cases');
9 debug('');
11 shouldBe("element.style.zIndex", "'1'");
12 shouldBeUndefined("element.style.ZIndex");
14 debug('');
15 debug('"css" prefix');
16 debug('');
18 shouldBe("element.style.cssZIndex", "'1'");
19 shouldBe("element.style.CssZIndex", "'1'");
20 shouldBeUndefined("element.style.CsszIndex");
21 shouldBeUndefined("element.style.csszIndex");