| Index: LayoutTests/fast/css/getComputedStyle/cssfloat-as-enumerated-property.html
|
| diff --git a/LayoutTests/fast/css/getComputedStyle/cssfloat-as-enumerated-property.html b/LayoutTests/fast/css/getComputedStyle/cssfloat-as-enumerated-property.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..faf374c382299877b26dba70d6c45d8b01b15e35
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/getComputedStyle/cssfloat-as-enumerated-property.html
|
| @@ -0,0 +1,23 @@
|
| +<!DOCTYPE html>
|
| +<head>
|
| +<script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| + window.onload = function() {
|
| + var e = document.getElementById('testDiv');
|
| + for (var i in window.getComputedStyle(e, null)) {
|
| + try {
|
| + if (i == 'cssFloat')
|
| + alert('CSS Float is an enumerated property')
|
| + } catch(e) {
|
| + alert('An exception occured while running cssfloat-as-enumerated-property.html test');
|
| + }
|
| + }
|
| + alert(window.getComputedStyle(e,null).cssFloat);
|
| + }
|
| +</script>
|
| +</head>
|
| +<body>
|
| + <div id='testDiv'></div>
|
| +</body>
|
|
|