W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > February 2019

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

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Feb 2019 01:52:04 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-462202535-1549849923-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:25 UTC