<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title>Tests the relationship between float and position</title>
<style>
    div {
        float: left;
    }
</style>
<head>
<body>
<div></div>

<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
    test(function() {
        var computed_style = getComputedStyle(document.querySelector("div"))["float"];
        assert_equals(computed_style, "left");

        document.querySelector("div").setAttrib