Primary eng (and PM) emails
Summary
In 2017 the spec syntax changed so that <position> values, excluding background-position, no longer accept 3-value syntax like "left 20% top" or "right bottom 20%".
Blink will follow the spec and, after a deprecation period, no longer support values excluded by the spec.
Motivation
Consistency with spec
This will make it easier to parse future shorthands that may have a length or percentage adjacent to a <position>.
New properties accepting <position> will use the spec syntax, and we should be consistent.
Interoperability and Compatibility Risk
The risk is low as usage is less than 0.002% in total. The spec change to remove support for position values with 3 parts occurred early last year, and was recently reaffirmed in an CSS WG discussion.
Edge: Supported, positive to removal
Firefox: Supported, positive to removal
Safari: Supported, positive to removal
Alternative implementation suggestion for web developers
Web developers can easily use 2 (or 1 or 4) value syntax instead of 3 value.
e.g. "80% 100%" or "top 0% right 20%" instead of "top right 20%"
Usage information from UseCounter
0.00003%
0.0008%
0.0007%
0.000001%
OWP launch tracking bug
Entry on the feature dashboard
https://www.chromestatus.com/features/5116559680864256
Requesting approval to remove too?
Yes, in M68.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/cac08cfb-8ded-4be7-a9dd-47186ea30975%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqH5aONrG_J7_3As%2BO%3DdpuwFiL_4MEJUN_nLwwiSCz8yNQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY93x6nqFcJoPZBQjfhXHbFfp3VTzJoT2BLj2RYi8G-z2A%40mail.gmail.com.
In general it would be good to know these numbers in relation to a relevant feature usage so that we don't accidentally that larger features. I checked object-position and perspective-origin and about 0.03% of the sites using object-position triggered the counter while perspective-origin was much lower (0.00001%). The two others, basic-shape and gradient, I had no reference for.
/Daniel
--
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/cac08cfb-8ded-4be7-a9dd-47186ea30975%40chromium.org.
Also I'm somewhat skeptical that all other engines will actually remove - we've seen several cases in the past where removal lingers for years as a low-priority bug on every engine other than Chrome (and so we ultimately gain nothing by being willing to go first and take the risk). So I'd like to go on record and say that if after a year of being removed in Chrome, it's still supported in at least two other engines then I'd argue for adding it back to Chrome (and the spec) to get back to a place of interop. I.e. we're willing to take the risk of going first, but not to be the only one over a period of a year :-).Rick