--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqEYbeEV69uyYo6tgSxZSvcZnaExFXPT5%2BeJJX7WUuY63w%40mail.gmail.com.
I support this intent.I would say that the compatibility risk is (probably very) low, but not zero. There are pages that use 'appearance: auto' or '-webkit-appearance: auto', and some expect it to be ignored like today.
In httparchive I see 626 occurrences in 510 pages (~0.01% of all pages).https://docs.google.com/spreadsheets/d/1Idrp1kfqmBikCPW2TAbvq4hxE3oL9YYkQRXb7YbAhEA/edit?usp=sharingcheers,
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHWN20Vr%3DpSK4qUfNissZ%2BvZYp0EkjNN-Ks6tBX62JFBGdqyaQ%40mail.gmail.com.
The motivation section explains why we'd want to ship the new behavior for the non-prefixed variant.Why would we change the prefixed variant?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHWN20VF9W4wfHdWuyvXGViwnZr2Xdk6g3RA0ozG34OS%2BYabgQ%40mail.gmail.com.
On 3/6/20 1:06 AM, Chris Harrelson wrote:
> The problem is that we have a policy of not shipping updates to prefixed
> CSS features.
> If the reason to do so is mostly to avoid a small
> implementation difficulty (a conditional treatment in this case), then
> it seems we should just accept that difficulty. If developers want to
> use "auto" then they could just unprefix their usage, right?
Making them two independent properties has been tried before and is not
web-compatible, see:
https://bugzilla.mozilla.org/show_bug.cgi?id=1333482
If you don't make them an alias, now you have the problem of what to
serialize when you specify `appearance: auto` and ask for
`getComputedStyle(element).WebkitAppearance`, which seems
not-particularly-trivial to solve.
So I wouldn't consider it _just_ an implementation difficulty.
Den fre 6 mars 2020 kl 01:52 skrev Emilio Cobos Álvarez <emi...@mozilla.com>:On 3/6/20 1:06 AM, Chris Harrelson wrote:
> The problem is that we have a policy of not shipping updates to prefixed
> CSS features.I didn't know about this policy. Where is it documented? I found http://www.chromium.org/blink#vendor-prefixes but I think it doesn't say what you said.
> If the reason to do so is mostly to avoid a small
> implementation difficulty (a conditional treatment in this case), then
> it seems we should just accept that difficulty. If developers want to
> use "auto" then they could just unprefix their usage, right?
Making them two independent properties has been tried before and is not
web-compatible, see:
https://bugzilla.mozilla.org/show_bug.cgi?id=1333482
If you don't make them an alias, now you have the problem of what to
serialize when you specify `appearance: auto` and ask for
`getComputedStyle(element).WebkitAppearance`, which seems
not-particularly-trivial to solve.I think the easy way is to serialize 'auto'. But then it's inconsistent with what is accepted for input.
So I wouldn't consider it _just_ an implementation difficulty.What Emilio said. :-)I noticed that the spec for "legacy name alias" mentions "or a subset of the value space". I don't know which property exercises this, if any. It also doesn't say to do anything different for serialization, making the subset only a parse-time subset.
On Thu, Mar 5, 2020 at 5:35 PM Simon Pieters <zco...@gmail.com> wrote:Den fre 6 mars 2020 kl 01:52 skrev Emilio Cobos Álvarez <emi...@mozilla.com>:On 3/6/20 1:06 AM, Chris Harrelson wrote:
> The problem is that we have a policy of not shipping updates to prefixed
> CSS features.I didn't know about this policy. Where is it documented? I found http://www.chromium.org/blink#vendor-prefixes but I think it doesn't say what you said.Hmm, interesting. Maybe it's not documented on the site, I'll fix it. However, we have had this policy for a long time, since "updates to prefixed CSS features" and "new prefixed CSS features" are sometimes not distinguishable, and does not achieve our goals of interop or reducing use of prefixing.
> If the reason to do so is mostly to avoid a small
> implementation difficulty (a conditional treatment in this case), then
> it seems we should just accept that difficulty. If developers want to
> use "auto" then they could just unprefix their usage, right?
Making them two independent properties has been tried before and is not
web-compatible, see:
https://bugzilla.mozilla.org/show_bug.cgi?id=1333482
If you don't make them an alias, now you have the problem of what to
serialize when you specify `appearance: auto` and ask for
`getComputedStyle(element).WebkitAppearance`, which seems
not-particularly-trivial to solve.I think the easy way is to serialize 'auto'. But then it's inconsistent with what is accepted for input.
So I wouldn't consider it _just_ an implementation difficulty.What Emilio said. :-)I noticed that the spec for "legacy name alias" mentions "or a subset of the value space". I don't know which property exercises this, if any. It also doesn't say to do anything different for serialization, making the subset only a parse-time subset.Got it. You've convinced me that this is not trivial and not worth the effort to deal with in this case!LGTM1 to ship, assuming auto will also be on the unprefixed version of 'appearance', which I think is implied by the other intent?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw8RUP_QoHB_9y0SWMP0yhx5eFk7kCHfrPWuBg8Oi6r6XA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqEDm-ffGw7X2LJEnMiBHu3w2CDG-aHR%2BfArbAE6oddVjw%40mail.gmail.com.
LGTM2
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw8RUP_QoHB_9y0SWMP0yhx5eFk7kCHfrPWuBg8Oi6r6XA%40mail.gmail.com.
--TAMURA Kent
Software Engineer, Google
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.