| Index: third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html
|
| index 022ec89114180617cb92920b7f55fd94bda2642f..a1d4cf83a7fc58ea38a99079ec459492771cb787 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html
|
| @@ -4,6 +4,28 @@
|
| <script src="../../../resources/js-test.js"></script>
|
| </head>
|
| <body>
|
| -<script src="script-tests/css-properties-case-sensitive.js"></script>
|
| +<script>
|
| +description(
|
| +'This test checks that access to the CSS float property via JavaScript properties on DOM elements is case sensitive.'
|
| +);
|
| +
|
| +var element = document.createElement('a');
|
| +element.style.float = 'left';
|
| +
|
| +debug('normal cases');
|
| +debug('');
|
| +
|
| +shouldBe("element.style.float", "'left'");
|
| +shouldBeUndefined("element.style.Float");
|
| +
|
| +debug('');
|
| +debug('"css" prefix');
|
| +debug('');
|
| +
|
| +shouldBe("element.style.cssFloat", "'left'");
|
| +shouldBeUndefined("element.style.CssFloat");
|
| +shouldBeUndefined("element.style.Cssfloat");
|
| +shouldBeUndefined("element.style.cssfloat");
|
| +</script>
|
| </body>
|
| </html>
|
|
|