Re: [fxtf-drafts] getComputedStyle() background-blend-mode (#332)

The "Computed value" lines for all of the background properties don't specify repeating to match the `background-image` length, which I think is why Firefox behaves as it does.  (It's particularly important in case the value were to be inherited to an element with a longer `background-image` list.)

The [backgrounds spec](https://drafts.csswg.org/css-backgrounds/#layering) says:

> The background of a box can have multiple layers in CSS3. The number of layers is determined by the number of comma-separated values in the background-image property. Note that a value of none still creates a layer.
> 
> Each of the images is sized, positioned, and tiled according to the corresponding value in the other background properties. The lists are matched up from the first value: excess values at the end are not used. If a property doesn’t have enough comma-separated values to match the number of layers, the UA must calculate its used value by repeating the list of values until there are enough. 

... which makes no mention of changing computed values or the result of `getComputedStyle()`.

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/332#issuecomment-462202535 using your GitHub account

Received on Monday, 11 February 2019 01:52:05 UTC