W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [css-compositing] should background-blend-mode have different list repetition rules?

From: Rik Cabanier <cabanier@gmail.com>
Date: Tue, 17 Sep 2013 16:29:44 -0700
Message-ID: <CAGN7qDDcLgBguyFB=Ms2-7cVtB1EchATJe-F=odMnR_kJ-QhiA@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>, Mirela B <mbudaes@adobe.com>
Cc: www-style list <www-style@w3.org>
That seems a little strange but since matching other properties is more
important.
I will update the spec and make sure that we cover this in our tests.


On Tue, Sep 17, 2013 at 3:29 PM, L. David Baron <dbaron@dbaron.org> wrote:

> http://dev.w3.org/fxtf/compositing-1/#background-blend-mode says:
>   # If there are fewer items in the list than there are background
>   # images, the remaining background images must use the initial
>   # value.
>
> This is different from all the other background properties, where
> http://dev.w3.org/csswg/css-backgrounds/#layering says:
>   # 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.
>
> I'd prefer if the background-blend-mode matched the rules for other
> background properties.  This would simplify implementation, and I
> don't see the rationale for differing here.
>
> -David
>
> --
> 𝄞   L. David Baron                         http://dbaron.org/   𝄂
> 𝄢   Mozilla                          https://www.mozilla.org/   𝄂
>              Before I built a wall I'd ask to know
>              What I was walling in or walling out,
>              And to whom I was like to give offense.
>                - Robert Frost, Mending Wall (1914)
>
Received on Tuesday, 17 September 2013 23:30:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC