chromium/third_party/blink/web_tests/fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../../resources/js-test.js"></script>
</head>
<body>
<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>