Thanks for working on this issue! Do you know if we need to change our behavior at all to match the spec?
On Wed, Feb 26, 2014 at 6:21 PM, Douglas Stockwell <dstoc...@google.com> wrote:I had started working on this. Hoping to get back to it and send an intent soon:On Thu, Feb 27, 2014 at 11:18 AM, Adam Barth <aba...@chromium.org> wrote:
Does anyone know what it would take to remove the vendor prefix from -webkit-transform? It's a very popular property. We should figure out what we need to do in order to remove the prefix. I've filed a bug to track this issue:https://code.google.com/p/chromium/issues/detail?id=347396
On Wed, Feb 26, 2014 at 7:03 PM, Adam Barth <aba...@chromium.org> wrote:
Thanks for working on this issue! Do you know if we need to change our behavior at all to match the spec?Matrix decomposition was changed a couple of months ago to match Safari and have more intuitive behavior (ie 2D animation will no longer appear to use 3D under certain circumstances)Simon Fraser is also working on an improved version of transform-style [1]. His proposal clears up what element creates a 3d world and how the box model is supposed to work when you have 3d transforms.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
On Mar 20, 2014, at 12:15 AM, Mike Lawther <mikel...@chromium.org> wrote:
> Doug has a patch that's ready for review: https://codereview.chromium.org/98663004/
As Rik mentioned, Simon Fraser and I worked on a new proposal for transform-style that should help to make implementations more interoperable for 3D transforms.
(2D transforms should already be widely interoperable.) Simon spend efforts to write down the proposed specification text.
The proposal needs review and I encourage everyone to look at and review it[1]. Independently of the proposal a thread started at www-style[2].
I would suggest to proceed with one of the two following strategies:
1) Make -webkit-transform interoperable and unprefix afterwards.
2) Unprefix now but behind the experimental runtime flag. transform and -webkit-transform could be fixed together or individually.
I think authors should be able to rely on stable unprefixed properties to limit the burden for developers in the long term.
On Fri Mar 21 2014 at 1:34:14 AM, Dirk Schulze <dsch...@chromium.org> wrote:
On Mar 20, 2014, at 12:15 AM, Mike Lawther <mikel...@chromium.org> wrote:
> Doug has a patch that's ready for review: https://codereview.chromium.org/98663004/
As Rik mentioned, Simon Fraser and I worked on a new proposal for transform-style that should help to make implementations more interoperable for 3D transforms.Do you have a link that describes what the interoperability issues were? Specifically, which inputs to which browsers produced what differences in output?
(2D transforms should already be widely interoperable.) Simon spend efforts to write down the proposed specification text.
The proposal needs review and I encourage everyone to look at and review it[1]. Independently of the proposal a thread started at www-style[2].
I would suggest to proceed with one of the two following strategies:
1) Make -webkit-transform interoperable and unprefix afterwards.
2) Unprefix now but behind the experimental runtime flag. transform and -webkit-transform could be fixed together or individually.
I think authors should be able to rely on stable unprefixed properties to limit the burden for developers in the long term.Given that Firefox has already shipped unprefix transform and authors have been using unprefixed versions of these properties for many years, we should probably treat transform as a de facto standard rather than a de jure standard.
On Fri, Mar 21, 2014 at 6:16 AM, Adam Barth <aba...@google.com> wrote:
On Fri Mar 21 2014 at 1:34:14 AM, Dirk Schulze <dsch...@chromium.org> wrote:
On Mar 20, 2014, at 12:15 AM, Mike Lawther <mikel...@chromium.org> wrote:
> Doug has a patch that's ready for review: https://codereview.chromium.org/98663004/
As Rik mentioned, Simon Fraser and I worked on a new proposal for transform-style that should help to make implementations more interoperable for 3D transforms.Do you have a link that describes what the interoperability issues were? Specifically, which inputs to which browsers produced what differences in output?For matrix decomposition, here's an example page with a bunch of CSS animations that looks different in every browser:I believe that this is the only issue for 2D transforms.This is a minor issue since not many people interpolate matrices.
3D transforms are in much worse shape. At the Seattle F2F DirkS and SimonF had example pages where very basic content displayed wildly different. They didn't post those examples yet.
There is a document that describes what some of the issues are: https://docs.google.com/document/d/1mNF7Z67WnnV05RqXa37PmfvRbgAZwj7-h-7Y_uQ_UPE/edit?pli=1#This is a bigger problem because 3D transforms are used a lot and this proposal would change the behavior.http://codepen.io/adobe/pen/CynLr/ is a small example. It doesn't work at all in IE, doesn't apply perspective in FF and the opacity is treated incorrectly in WK and Blink.
As long as Blink will make transform conform to the final specification eventually, there is no strong opinion from me.
On Fri Mar 21 2014 at 10:36:01 AM, Dirk Schulze <dsch...@chromium.org> wrote:As long as Blink will make transform conform to the final specification eventually, there is no strong opinion from me.We're happy to do that assuming the specification is compatible with existing content.
On Fri, Mar 21, 2014 at 10:41 AM, Adam Barth <aba...@google.com> wrote:
We're happy to do that assuming the specification is compatible with existing content.
this will not be the case since the transform-style property will have a different initial value of 'auto'.
By not changing to this new value until removing the prefix, you won't break existing content. If you remove the prefix now, you won't be able to make that change later.
Believe me that it is a main goal of the specification to assure compatibility to interoperable behavior.
(See controversial proposal to change computed value of transform to UA behavior[1]). What Rik was saying is that there just is no interoperability for transform-style across browsers.
On Fri Mar 21 2014 at 10:48:17 AM, Rik Cabanier <caba...@gmail.com> wrote:On Fri, Mar 21, 2014 at 10:41 AM, Adam Barth <aba...@google.com> wrote:
We're happy to do that assuming the specification is compatible with existing content.
this will not be the case since the transform-style property will have a different initial value of 'auto'.Hopefully content doesn't rely on this difference. If there's a substantial amount of code that relies on the old behavior, then browser vendors won't be able to adopt the change.By not changing to this new value until removing the prefix, you won't break existing content. If you remove the prefix now, you won't be able to make that change later.I don't think that's really true. It's wishful thinking that vendor prefixes give you the freedom to change APIs after shipping them. In practice, many, many web site spam the unprefixed property name with the same value they use in the prefixed version. That means they expect the unprefixed version to work the same way as the prefixed version.
On Fri, Mar 21, 2014 at 6:16 AM, Adam Barth <aba...@google.com> wrote:
On Fri Mar 21 2014 at 1:34:14 AM, Dirk Schulze <dsch...@chromium.org> wrote:
On Mar 20, 2014, at 12:15 AM, Mike Lawther <mikel...@chromium.org> wrote:
> Doug has a patch that's ready for review: https://codereview.chromium.org/98663004/
As Rik mentioned, Simon Fraser and I worked on a new proposal for transform-style that should help to make implementations more interoperable for 3D transforms.Do you have a link that describes what the interoperability issues were? Specifically, which inputs to which browsers produced what differences in output?For matrix decomposition, here's an example page with a bunch of CSS animations that looks different in every browser:I believe that this is the only issue for 2D transforms.This is a minor issue since not many people interpolate matrices.
On 22 March 2014 03:54, Rik Cabanier <caba...@gmail.com> wrote:On Fri, Mar 21, 2014 at 6:16 AM, Adam Barth <aba...@google.com> wrote:
On Fri Mar 21 2014 at 1:34:14 AM, Dirk Schulze <dsch...@chromium.org> wrote:
On Mar 20, 2014, at 12:15 AM, Mike Lawther <mikel...@chromium.org> wrote:
> Doug has a patch that's ready for review: https://codereview.chromium.org/98663004/
As Rik mentioned, Simon Fraser and I worked on a new proposal for transform-style that should help to make implementations more interoperable for 3D transforms.Do you have a link that describes what the interoperability issues were? Specifically, which inputs to which browsers produced what differences in output?For matrix decomposition, here's an example page with a bunch of CSS animations that looks different in every browser:I believe that this is the only issue for 2D transforms.This is a minor issue since not many people interpolate matrices.Yep - we've seen the transform list/matrix interpolation issue (eg https://code.google.com/p/chromium/issues/detail?id=267348) :) I did a short presentation on this as part of an animations talk at BlinkOn last September.
There was also discussion at a CSS WG about trying to make transform lists easier to interpolate (http://lists.w3.org/Archives/Public/www-style/2013Sep/0472.html), but I'm not sure if there has been any concrete spec or implementation activity arising from that.
On Sun, Mar 23, 2014 at 4:23 PM, Mike Lawther <mikel...@google.com> wrote:
On 22 March 2014 03:54, Rik Cabanier <caba...@gmail.com> wrote:For matrix decomposition, here's an example page with a bunch of CSS animations that looks different in every browser:I believe that this is the only issue for 2D transforms.This is a minor issue since not many people interpolate matrices.Yep - we've seen the transform list/matrix interpolation issue (eg https://code.google.com/p/chromium/issues/detail?id=267348) :) I did a short presentation on this as part of an animations talk at BlinkOn last September.Do you have a link to that presentation?
Dirk and I updated the transforms spec so if you follow it, you should get the same behavior as Safari which most people seemed to prefer.FWIW I wrote a patch for Firefox to do the same (https://bugzilla.mozilla.org/show_bug.cgi?id=937494)