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

nox has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds-3] Computed values of background-repeat don't follow reality ==
The [spec](https://drafts.csswg.org/css-backgrounds/#the-background-repeat) 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.

```html
<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>
```



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1488 using your GitHub account

Received on Thursday, 1 June 2017 09:30:56 UTC