top | item 14738036 (no title) luke3butler | 8 years ago There are a lot of jsperf tests like this one https://jsperf.com/translate3d-vs-xy/4This isn't pure css as it's using JS to set the property, but it should be a good indicator. discuss order hn newest ash_gti|8 years ago I'm not an expert in this area, but doesn't setting these properties only take effect in the next layout/paint cycle?I think you need to call getComputedStyle (https://developer.mozilla.org/en-US/docs/Web/API/Window/getC...) to resolve the new style update outside of the layout/paint cycle.But I'm not really sure to be honest
ash_gti|8 years ago I'm not an expert in this area, but doesn't setting these properties only take effect in the next layout/paint cycle?I think you need to call getComputedStyle (https://developer.mozilla.org/en-US/docs/Web/API/Window/getC...) to resolve the new style update outside of the layout/paint cycle.But I'm not really sure to be honest
ash_gti|8 years ago
I think you need to call getComputedStyle (https://developer.mozilla.org/en-US/docs/Web/API/Window/getC...) to resolve the new style update outside of the layout/paint cycle.
But I'm not really sure to be honest