Skip to content

[css-backgrounds-3] Computed values of background-repeat don't follow reality #1488

Closed
@nox

Description

@nox

The spec says:

Computed value: A list, each item consisting of: two keywords, one per dimension

But Safari, Chrome and Firefox do otherwise and just serialise computed values as specified.

<div style="background-repeat: space"></div>
<pre>
<script>
    var div = document.getElementsByTagName("div")[0];
    document.write(div.style.backgroundRepeat, "<br>");
    document.write(getComputedStyle(div).backgroundRepeat);
</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions