[webkit-dev] Adding CSS3 background-position offsets.

Dirk Schulze dschulze at adobe.com
Mon Dec 3 12:59:20 PST 2012


On Dec 3, 2012, at 12:07 PM, Benjamin Poulain <benjamin at webkit.org> wrote:

> On Mon, Dec 3, 2012 at 11:11 AM, Dirk Schulze <dschulze at adobe.com> wrote:
> Why does this feature have a flag at all? background-position with up to 4 arguments is specified with CSS3 background and borders. There are three major implementations with this feature. So we are just catching up. If the future works as expected (and we should have tests that verify it), then we should remove the flag completely.
> 
> Sounds like good practice to me.
> 
> Why _not_ start that feature with a flag then remove the flag when fully ready/tested???

Depends on the future. But for such a small patch, a new flag seems to be overdone. I looked into the patch, and adding the flag caused more code, then the actual feature (even if the computed style is missing). I believe we should remove the flag ASAP. Flags are for bigger new features of features that likely will change IMO. Both seems not to be the case for background-position.

Greetings,
Dirk

> 
> Benjamin
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev



More information about the webkit-dev mailing list